关于做livecd的问题的疑惑,请大家帮忙。
时间:2006-04-04
来源:互联网
我想上面的链接中的步骤做livecd,但是有两个步骤看不懂,请高手指点
..................................................................................
Step 1
* Install Mandrakelinux 10.0 Official on one / partition, 3 - 5 GB, that depends on your needs. Make sure you have enough RAM and/or SWAP. Example: I am building a ~300 MB iso off a 700 MB big installed system, got 256 MB RAM and a big SWAP partition (but 250 MB SWAP might be enough). Make sure you have the syslinux rpm installed: # urpmi syslinux
Extract the file install_any.pm.gz from your first mdk install cd (/Mandrake/mdkinst/usr/bin/perl-install) to /usr/lib/libDrakX
Step 2
* Make your system as small as possible. You iso is limited to 700 MB, your system should not extend 1,8 GB. Better start with a pretty small installation.
Step 3
* Add contrib (for 10.0) to your urpmi sources.
Step 4
* Install the kernel-tmb-2.6.7-2.tmb.6mdk-1-1mdk.i586.rpm on your system. You can find the rpm on the *contrib 10.1* ftp mirrors.
Step 5
* Install the latest stable mklivecd scripts for 10.0, the version is 0.5.8-1mdk, get them here .
The mklivecd rpm contains the scripts for building your livecd, the livecd-utils rpm is only needed if you want to implement a harddisk installation in your LiveCD. Use urpmi to install the rpms, it will take care of the dependencies, you have added contrib to your urpmi sources, don't you? And you might need CD 4, if you don't have it, just add also the /main ftp tree to your sources!
Step 6
Clickup a console. Get root. Run: mklivecd --help
The command to build your iso is as simple/enhanced as you want.
Examples:
# mklivecd myown.iso
# mklivecd --verbose --kernel 2.6.7-2.tmb.6mdk --resolution 800x600 --fstab=rw,auto --splash=no --keyboard=fr --usbhome rain.iso
The script takes care of compressing the files and building a bootable image, and will cleanup after it is done.
Step 7
Burn your iso. Have fun. - Problems? Read the mailing list.
..................................................................................
3这个步骤有什么用,能省掉吗?是为了以后系统程序方便吗?:ask
4这个步骤是安装内核,因为步骤一已经装好系统,内核肯定已经有了,为什么还要装内核?
ps:我以前装软件,如果是rpm格式的话我都用rpm,没有用过urpmi。今天才开始看urpmi的。
如:关于好使好用之URPMI程序
作者: future_god 发布时间: 2006-04-04
4 是原本的kernel 不提供部份功能, 要另裝kernel
作者: future_god
3这个步骤有什么用,能省掉吗?是为了以后系统程序方便吗?:ask
4这个步骤是安装内核,因为步骤一已经装好系统,内核肯定已经有了,为什么还要装内核? ps:我以前装软件,如果是rpm格式的话我都用rpm,没有用过urpmi。今天才开始看urpmi的。 如:关于好使好用之URPMI程序 |
作者: matthewlam64 发布时间: 2006-04-04
:ask
作者: future_god 发布时间: 2006-04-04
urpmi.addmedia main http://gd.tuwien.ac.at/pub/linux/Man...586/media/main with media_info/synthesis.hdlist.cz
是以root执行.
作者: future_god 发布时间: 2006-04-04
作者: maramail 发布时间: 2006-04-04
更需要大家的帮助.

作者: future_god 发布时间: 2006-04-04
更需要大家的帮助.

作者: future_god 发布时间: 2006-04-04
但是有一些不不大明白.
还请各位指教!
谢谢!

作者: future_god 发布时间: 2006-04-04
作者: maramail
原来MKLIVECD还可以做成安装盘的啊,可以考虑用这个做特殊的版本啊
|
作者: matthewlam64 发布时间: 2006-04-04
我用的是mandrake linux 10.0
应该可以吧.
作者: future_god 发布时间: 2006-04-05
LE2005及 2006 因為改動太多, 而mklivcd的boot script/cheat code未能跟上, livecd-utils的installer因LE2005/2006的新版perl而未能正常及installer多bug ...
作者: future_god
能不能说具体些?
我用的是mandrake linux 10.0 应该可以吧. |
作者: matthewlam64 发布时间: 2006-04-05
作者: superlj 发布时间: 2006-04-05
作者: maramail 发布时间: 2006-04-05
沒有談及livecd installer有關的改正, 另新的mcnlive mcnlive-winnipeg-pre2.iso 移除了http/ftp installer
CVS checkout 2006-02-22. Changes to CVS:
- fixes for MDV 2006 (modules fix, USBLive mode added (livecd fromusb option), skipsata option (separated from noscsi), bootsplash verbose default, hotplug fix, removed the bootfrom eperimental stuff, changed isolinux append
- memtest and mediacheck disabled in my version (edit mklivecd to re-enable it)
- some more changes to cvs
* Tested with MDV 2006, Kernel 2.6.12-12mdk-i686-up-4GB (UnionFS module added by me).
The default is with unionfs enabled when you build the iso. If you don't use a unionfs kernel build the iso with: --bootopt unionfs=no
* You need to compile the UnionFS module for your kernel. Download the sources, unpack, read the readme, install the kernel-sources ... etc
The -mm kernel from /contrib comes already with UnionFS, but does not work on my hardware. Could not test it.
* For unionfs, you need to edit (on your target MDV 2006 system) /etc/rc.d/rc.sysinit, line 458-462 to:
#if [ -z "$fastboot" -a "X$ROOTFSTYPE" != "Xnfs" ]; then
#
# gprintf "Checking root filesystem\n"
# Fsck -T -a $fsckoptions /
#fi
* The KDM login manager has a logout bug (on a LiveCD). If you use KDE with KDM, comment the line:
Loginmanager = Lilo in /etc/kde/kdm/kdmrc
* To prepare/setup a bootable USB Flash Drive/pen/stick ... (only for vfat/fat16/fat32 filesystems on the flash drive)
- just build a normal LiveCD iso. No special build code required.
- add script(s) on the LiveCD which copies the necessary files to the stick, installs syslinux, copies a special syslinux.cfg file (with the cheatcode livecd fromusb) ...
- you can find the last versions of my scripts on MCNLive-winnipeg-pre2.iso in /usr/local/bin
* I don't use MDV 2006 as my main daily system. It is still randomly freezing on my hardware, and there are so many broken applications. I happily use MDV 2005 LE. So, please don't ask me if you have troubles with a LiveCD based on 2006.
* Happy building :-)
--chris
作者: maramail
11楼说的意思是MKLIVECD和安装有冲突.问题是不知道最近有没有更新
|
作者: matthewlam64 发布时间: 2006-04-05
热门阅读
-
office 2019专业增强版最新2021版激活秘钥/序列号/激活码推荐 附激活工具
阅读:74
-
如何安装mysql8.0
阅读:31
-
Word快速设置标题样式步骤详解
阅读:28
-
20+道必知必会的Vue面试题(附答案解析)
阅读:37
-
HTML如何制作表单
阅读:22
-
百词斩可以改天数吗?当然可以,4个步骤轻松修改天数!
阅读:31
-
ET文件格式和XLS格式文件之间如何转化?
阅读:24
-
react和vue的区别及优缺点是什么
阅读:121
-
支付宝人脸识别如何关闭?
阅读:21
-
腾讯微云怎么修改照片或视频备份路径?
阅读:28