|
http://livecd.berlios.de/?Documentation:HowTo_Create_A_LiveCD
我想上面的链接中的步骤做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程序 |
|