Site icon David Yin's Blog

Ubuntu 7.10 on USB flash disk

I have some USB flash disks. I’d like to make it a bootable with Ubuntu 7.10.
Let me show you how to do it.
1. Grab the Ubuntu 7.10 ISO and burn it to a CD
2. Insert the CD and your USB flash drive
3. Reboot your computer into Ubuntu from the Live CD
4. Open a terminal window and type sudo su
5. Type fdisk -l to list available drives/partitions. Note which device is your flash drive (example: /dev/sda) Throughout this tutorial, replace x with your flash drive letter. For example, if your flash drive is sdb, replace x with b.
6. Type umount /dev/sdx1
7. Type fdisk /dev/sdx
* type p to show the existing partition and d to delete it
* type p again to show any remaining partitions (if partitions exist, repeat the previous step)
* type n to make a new partition
* type p for primary partition
* type 1 to make this the first partition
* hit enter to use the default 1st cylinder
* type +750M to set the partition size
* type a to make this partition active
* type 1 to select partition 1
* type t to change the partition filesystem
* type 6 to select the fat16 file system
* type n to make another new partition
* type p for primary partition
* type 2 to make this the second partition
* hit enter to use the default cylinder
* hit enter again to use the default last cylinder
* type w to write the new partition table
8. Type umount /dev/sdx1 to ensure the 1st partition is unmounted
9. Type mkfs.vfat -F 16 -n ubuntu710 /dev/sdx1 to format the first partition
10. Type umount /dev/sdx2 just to ensure the 2nd partition is unmounted
11. Type mkfs.ext2 -b 4096 -L casper-rw /dev/sdx2 to format the second partition
12. Remove and Re-insert your flash drive
13. Back at the terminal, type apt-get update
14. Type apt-get install syslinux mtools
15. Type syslinux -sf /dev/sdx1
16. Type cd /cdrom
17. Type cp -rf casper disctree dists install pics pool preseed .disk isolinux/* md5sum.txt README.diskdefines ubuntu.ico casper/vmlinuz casper/initrd.gz /media/ubuntu710/
Ignore any “cannot create symbolic link” errors
18. Type cd /home/ubuntu
19. Type wget pendrivelinux.com/downloads/U710fix.zip
20. Type unzip -o -d /media/ubuntu710/ U710fix.zip
21. Restart your computer, set your BIOS or Boot menu to boot from the USB device and reboot again.


You may get many ways to make a bootable Ubuntu flash disk. But the way I introduced is the most easiest.

Exit mobile version