A Blog about technology, linux, peer2peer, cool new downloads and software development.

Friday, May 16, 2008

creating fedora 9 persistant live image on usb

- burn the live image iso file to a cd
- copy the iso file to a disk on key
- boot the live cd
- mount the harddisk : mkdir /mnt/sda1; mount /dev/sda1 /mnt/sda1
- plug the disk on key and check where it is mounted : mount
- copy the iso from the disk on key to the harddisk : cp /media/???/fedora9.iso /dev/sda1/
- delete all the files from the disk on key : rm -vr /media/???/*
- find the livecd-iso-to-disk.sh script : find / -name livecd-iso-to-disk.sh
- run the script : .../livecd-iso-to-disk.sh --overlay-size-mb 1024 /path/to/iso /dev/partition_of_your_usb_stick
for example if the disk on key is 2Gb then the overlay size is 1900Mb-700Mb :
livecd-iso-to-disk.sh --overlay-size-mb 1200 /mnt/sda1/fedora9.iso /dev/sdb1
- follow the onscreen instructions of the install script

No comments: