Code:
mkdir /tmp/livecd
mkdir /tmp/hdd
sudo mount -o ro -t iso9660 /dev/scd0 /tmp/livecd
sudo mount -t vfat /dev/sda1 /tmp/hdd
cp /tmp/livecd/*.img /tmp/hdd
cp /tmp/livecd/vmlinuz /tmp/hdd
rm /tmp/hdd/ext3fs.img
dd if=/dev/zero of=/tmp/hdd/ext3fs.img bs=1M count=600
mkfs.ext3 -F /tmp/hdd/ext3fs.img
sudo umount /tmp/livecd
sudo umount /tmp/hddwhere 600 is the size in MB of the permanent storage file.
The above steps should be taken as a template only, YMMV.
Some modifications to the existing syslinux.cfg or grub's menu.lst may be needed, depending on the preinstalled version.


![[Image: badge.gif]](http://www.ohloh.net/projects/149/badge.gif)
Search
Help