USB Ubuntu 7.10 install from Linux: This tutorial enables you to install, boot and run Ubuntu 7.10 (Gutsy Gibbon) from a USB flash drive. In addition to installing Ubuntu to a USB device and then booting Ubuntu from the memory stick, this tutorial will enable you to automatically save your changes and settings back to the thumb drive and further restore them on each boot using a second "casper-rw" persistent partition. The tutorial was written for those already familiar with working from Ubuntu or another Linux desktop environment. If you do not have access to or prefer not to use a Windows computer, this Ubuntu Linux on a stick tutorial is for you.
Ubuntu 7.10 takes slightly longer to boot than previous releases. However, once it's up and running, it performs much better than running from the Live CD.
USB Ubuntu 7.10 Essentials:
Ubuntu7.10 ISO
CD Burner
1GB USB flash drive (2GB+ recommended)
U710fix.tar
Ubuntu 7.10 USB installation tutorial:
Hint: You can drastically speed up the install by Copying (Ctrl+c) and Pasting (Ctrl+v) commands into the terminal instead of manually typing them out. With the exception of replacing x with your drive letter.
5. Grab the Ubuntu 7.10 ISO and burn it to a CD
6. Insert the CD and your USB flash drive
7. Reboot your computer into Ubuntu from the Live CD
8. Open a terminal window and type sudo su
9. 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.
10. Type umount /dev/sdx1
11. Type fdisk /dev/sdx
1. type p to show the existing partition and d to delete it
2. type p again to show any remaining partitions (if partitions exist, repeat the previous step)
3. type n to make a new partition
4. type p for primary partition
5. type 1 to make this the first partition
6. hit enter to use the default 1st cylinder
7. type +750M to set the partition size
8. type a to make this partition active
9. type 1 to select partition 1
10. type t to change the partition filesystem
11. type 6 to select the fat16 file system
12. type n to make another new partition
13. type p for primary partition
14. type 2 to make this the second partition
15. hit enter to use the default cylinder
16. hit enter again to use the default last cylinder
17. type w to write the new partition table
12. Type umount /dev/sdx1 to ensure the 1st partition is unmounted
13. Type mkfs.vfat -F 16 -n ubuntu710 /dev/sdx1 to format the first partition
14. Type umount /dev/sdx2 just to ensure the 2nd partition is unmounted
15. Type mkfs.ext2 -b 4096 -L casper-rw /dev/sdx2 to format the second partition
16. Remove and Re-insert your flash drive
17. Back at the terminal, type apt-get update
18. Type apt-get install syslinux mtools
19. Type syslinux -sf /dev/sdx1
20. Type cd /cdrom
21. 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
22. Type cd /home/ubuntu
23. Type wget pendrivelinux.com/downloads/U710fix.zip
24. Type unzip -o -d /media/ubuntu710/ U710fix.zip
25. Restart your computer, set your BIOS or Boot menu to boot from the USB device and reboot again.
You should now have a USB Ubuntu 7.10 Gutsy Gibbon flash drive that should automatically save your changes, restoring them on boot.
Note: If your having trouble getting Ubuntu to boot, your memory stick may have a corrupted MBR. To repair the MBR of your USB device, at the terminal type sudo apt-get install lilo then type lilo -M /dev/sdx (replacing x with the letter of your flash device)
No comments:
Post a Comment