[How-To] Boot Ubuntu Hardy Heron from a USB drive and have it save your changes! This tutorial is for booting Ubuntu from a USB drive. Disclaimer: I am not responsible for any damage you may do to anything in any way. Ingredients: 1. USB Flash drive (min 1GB) 2. Ubuntu 8.04 Live CD 3. Computer capable of booting from USB Also, while you should be able to just follow this guide from beginning to end, its better if you have some experience with command line, linux device listing etc before attempting this. I am using a Sandisk Cruzer Micro 2GB & Ubuntu 8.04 Please Register or Log in to view images Step 1.1: Obtain the Ubuntu Live CD image from ubuntu.com http://www.ubuntu.com/getubuntu/download Step 1.2: Burn the CD and boot from it. If you already have an ubuntu installation, just boot into that. You will still need the Live CD. Step 2: BACKUP ALL THE DATA FROM YOUR USB DRIVE Boot into Ubuntu (if you haven't already). In Ubuntu, enter the 'Applications' menu, and open 'Accessories', and select 'Terminal'. Type "sudo -i" Type "fdisk -l" Identify which device is your flash drive and make a note of it. It will be something like /dev/sdb1. Here, mine is identified as /dev/sdb1 & /dev/sdb2 Please Register or Log in to view images You will need to replace the sdb part with whatever yours shows up as, it will be sdx from now on, replace the x with the letter you are shown. Step 3: Type "fdisk /dev/sdx" Type "p" to show the partition on the disk, and type "d" to delete it. Repeat if you have any other partitions on the disk. Type "n" to make a new partition. Type "p" for primary partition. Type "1" to make it the first partition. Press Enter to use the default start cylinder. Type "+755M" to set the partition size. Type "a" to make the partition active. Type "1" to select partition 1. Type "t" to change the partition filesystem. Type "6" to select the Fat16 filesystem. Type "n" to make another new partition. Type "p" for primary partition. Type "2" to make it the second partition. Press Enter to use the default start cylinder. Press Enter again to use the default last cylinder. Type "w" to write the changes to the disk. Step 4: Type "umount /dev/sdx1", then "umount /dev/sdx2". Type "mkfs.vfat -F 16 -n Ubuntu /dev/sdx1". This formats the first partition. Type "mkfs.ext2 -b 4096 -L casper-rw /dev/sdx2", to format the second partition. Exit Terminal, then unplug your USB drive. Step 5: Insert the USB drive again. Open Terminal. Type "sudo -i" Type "apt-get update" Type "apt-get install mtools syslinux" Type "syslinux -sf /dev/sdx1" Type "cd /cdrom" Type "cp -rf casper disctree dists install pics pool preseed .disk isolinux/* md5sum.txt README.diskdefines ubuntu.ico casper/vmlinuz casper/initrd.gz /media/Ubuntu/". Go to the first partition of the USB drive and delete isolinux.cfg. Place this file in the first partition: http://[PIRACY.rs].com/files/113739245/syslinux.cfg.html (download) Replace "initrd.gz" in the first partition with this one: http://www.[PIRACY.mu].com/?d=ZVC28QL7 http://[PIRACY.rs].com/files/113566398/initrd.gz.html (download and replace) You're done! Now boot from your USB drive and enjoy! Select "Start Ubuntu in persistent mode" so that it saves your changes! Couple of screenshots: Please Register or Log in to view images Please Register or Log in to view images I got my theme from here: http://kims-area.com/?q=node/25 And my wallpaper from here: https://wiki.ubuntu.com/Artwork/Incoming/Hardy/Alternate/Dark_Herdy_Wallpaper If you have any problems just post here and ill help!