Install Ubuntu 7.04 to a Flash Drive from Windows

This Ubuntu 7.04 Feisty Fawn USB Flash Drive Creation tutorial explains how to create a Ubuntu 7.04 USB Flash Drive. We will be  using Windows, the Live CD and a new custom FIXED initrd.gz to correct the persistent feature that was broken with the original 7.04 release. Upon completion of this tutorial, the user will be able to save changes and settings back to the flash drive making for a completely Portable Ubuntu version 7.04. Now you can take your Feisty Fawn with you! 

Custom USB Ubuntu 7.04 Feisty Fawn Screenshot:

Ubuntu Feisty Fawn Screenshot

Ubuntu is a Linux distribution created by Canonical Ltd

Distribution Home Page:

Minimum Flash Drive Capacity: 1GB

Persistent Feature: Yes

Basic essentials for flash drive installation:

  • 1GB or larger USB flash drive
  • Ubuntu 7.04 ISO/CD
  • CD Burner/Recorder
  • Windows Host
  • (conversion tool)

How to install Ubuntu on a USB Stick:

This tutorial is obsolete! This tutorial or version of Linux is old and has been removed. Please use the Universal USB Installer instead, as it can be used to install the latest version.

Partition and make the USB flash drive bootable:

  1. Download the Ubuntu 7.04 ISO and burn it to CD
  2. Restart your computer (booting from the Ubuntu Live CD)
  3. Insert a 1GB or larger USB flash drive
  4. Open a terminal window and type sudo su
  5. Now type fdisk -l to list available drives/partitions (note which device is your flash drive Example: /dev/sdb). Throughout this tutorial, replace all instances of 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 unmount the partition
  9. Type mkfs.vfat -F 16 -n usb /dev/sdx1 to format the first partition

    “Alternately you can try mkfs.vfat -F 32 -n usb /dev/sdx1 (doesn’t always work)”

  10. Type umount /dev/sdx2 to ensure the 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 sudo apt-get install syslinux mtools
  14. Type syslinux -sf /dev/sdx1
  15. Restart your computer, remove the CD and boot back into Windows

Using Windows to prepare and move the files to the USB Stick:

  1. Create a folder named USBU on your computer
  2. Download and extract the files to the USBU folder
  3. Move the Ubuntu 7.04 ISO downloaded earlier to the USBU folder
  4. Click fixu.bat from the USBU folder (follow on screen instructions)
  5. Move all files from the ubuntu directory to your memory stick
  6. Reboot your computer and set your system BIOS to boot from USB-HDD or USB-ZIP. Or, if your system lists the USB device as a hard drive, set the “Hard Disk Boot Priority” to boot your USB device.

Congratulations, you should now be booting into USB Ubuntu 7.04!

Type USB at the boot prompt to boot Ubuntu 7.04 in persistent mode (allowing you to save/restore your changes)