| How to create Clonezilla live from scratch ? |
- Download Clonezilla live 1.2.0-25 or later version.
- Boot the downloaded clonezilla live, after language and keyboard are selected, choose "Start_Clonezilla" -> "device-image", then mount a working directory, the space should large enough to put the live CD and some temp files. It's recommended to choose local_dev to mount local partition as /home/partimag, since live-helper will use some low level commands and it might fail in network-based directory. Also make sure the partition is the filesystem of Linux, like ext3 or reiserfs, _NOT_ FAT or NTFS filesystem, because they do not support some file types in Linux.
- When Clonezilla live asks you to choose save or restore disk/partition, choose "exit" to enter command line prompt
- Run "sudo su -" to become root
- Run "ocs-live-netcfg" to configure the network so that we can access Debian repository later
- Modify /etc/apt/sources.list if you want to assign different apt repository.
- If you want to add more packages in Clonezilla live, and you are sure the packages are included in Debian repository, e.g. ncpfs, you can edit /opt/drbl/conf/drbl.conf, append ncpfs in variable PKG_FROM_DBN_WHICH_OCS_LIVE_NEED.
- cd /home/partimag/
- apt-get update; apt-get -y install cdebootstrap live-helper
- It is recommended to modify the 2 varialbes in /opt/drbl/sbin/create-debian-live:
mirror_url="http://free.nchc.org.tw/debian"
mirror_security_url="http://free.nchc.org.tw/debian-security/"
to use any debian mirror site near you so it will save you some time when downloading packages.
-
-
If you want some special kernel version, and you are sure it exists in Debian repository, e.g. kernel 2.6.18-6 or 2.6.24-etchnhalf.1, you can make Debian live by:
create-debian-live -l e -b unstable -k 2.6.18-6 -i customized
or
create-debian-live -l e -b unstable -k 2.6.24-etchnhalf.1 -i customized
("-l e" means to use the live-experimental branch in drbl respository, this also means packages from live-stable, live-testing or live-unstable can be used. "-b unstable" means to use the unstable branch of drbl, this also means packages from stable and testing branches can be used.). You can refer to this URL to check the packages in DRBL repository http://free.nchc.org.tw/drbl-core/pool/drbl/).
If everything runs smooth, you will get a Debian live with file name "debian-live-for-ocs-customized.iso". Later we will use this Debian live as a template for Clonezilla live.
-
If you want to use the default kernel, you can just run it without "-k 2.6.18-6" (This method only works for Debian Lenny. For Etch, you have to assign the kernel version), i.e.:
create-debian-live -l e -d lenny -b unstable -i customized
or
create-debian-live -d lenny -i customized
For more options about create-debian-live, you can run "create-debian-live --help".
- Run:
ocs-iso -s -j debian-live-for-ocs-customized.iso -i customized
ocs-live-dev -c -s -j debian-live-for-ocs-customized.iso -i customized
then 2 files, clonezilla-live-customized.iso and clonezilla-live-customized.zip will be created, respectively.
 |
|