Senin, 28 April 2008

Ubuntu 7.10 Flash Disk Installation

USB 7.10 Ubuntu Linux install from: This tutorial enables you to install, boot and run Ubuntu 7.10 (Dapper 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. 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. 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. 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. 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. However, once it's up and running, it performs much better than running from the Live CD.
USB Ubuntu 7.10 Essentials: USB Ubuntu 7.10 Essentials:
• Ubuntu7.10 ISO ISO Ubuntu7.10
• CD Burner CD Burner
• 1GB USB flash drive (2GB+ recommended) 1GB USB flash drive (2GB + recommended)
• U710fix.zip U710fix.zip
Ubuntu 7.10 USB installation tutorial: Ubuntu 7.10 USB installation tutorial:
Hint: You can drastically speed up the install by Copying and Pasting most commands into the terminal instead of manually typing them out. Hint: You can drastically speed up the install by Copying and Pasting most commands into the terminal instead of manually typing them out. With the exception of replacing x with your drive letter. With the exception of replacing X with your drive letter.
1. Grab the Ubuntu 7.10 ISO and burn it to a CD Grab the Ubuntu 7.10 ISO and burn it to a CD
2. Insert the CD and your USB flash drive Insert the CD and your USB flash drive
3. Reboot your computer into Ubuntu from the Live CD Reboot your computer into Ubuntu from the Live CD
4. Open a terminal window and type sudo su Open a terminal window and type sudo su
5. Type fdisk -l to list available drives/partitions. 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. 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 . For example, if your flash drive is sdb, replace X with b.
6. Type umount /dev/sd x 1 Type umount / dev / sd x 1
7. Type fdisk /dev/sd x Type fdisk / dev / sd x
o type p to show the existing partition and d to delete it P type to show the existing partition and d to delete it
o type p again to show any remaining partitions (if partitions exist, repeat the previous step) P type again to show any remaining partitions (if partitions exist, repeat the previous step)
o type n to make a new partition No type to make a new partition
o type p for primary partition Type p for Primary Partition
o type 1 to make this the first partition Type 1 to make this the first partition
o hit enter to use the default 1st cylinder Hit enter to use the default 1st cylinder
o type +750M to set the partition size Type +750 F to set the partition size
o type a to make this partition active To make this type of partition active
o type 1 to select partition 1 Type 1 to select partition 1
o type t to change the partition filesystem T type to change the partition filesystem
o type 6 to select the fat16 file system 6 to select the type fat16 file system
o type n to make another new partition No type to make another new partition
o type p for primary partition Type p for Primary Partition
o type 2 to make this the second partition Type 2 to make this the second partition
o hit enter to use the default cylinder Hit enter to use the default cylinder
o hit enter again to use the default last cylinder Hit enter again to use the default last cylinder
o type w to write the new partition table W type to write the new partition table
8. Type umount /dev/sd x 1 to ensure the 1st partition is unmounted Type umount / dev / sd x 1 to ensure the 1st partition is unmounted
9. Type mkfs.vfat -F 16 -n ubuntu710 /dev/sd x 1 to format the first partition Type mkfs.vfat F-16-No ubuntu710 / dev / sd x 1 format to the first partition
10. Type umount /dev/sd x 2 just to ensure the 2nd partition is unmounted Type umount / dev / sd x 2 just to ensure the 2nd partition is unmounted
11. Type mkfs.ext2 -b 4096 -L casper-rw /dev/sd x 2 to format the second partition Type mkfs.ext2 b-4096-L casper-rw / dev / sd x 2 format to the second partition
12. Remove and Re-insert your flash drive Remove and re-insert your flash drive
13. Back at the terminal, type apt-get update Back at the terminal, type apt-get update
14. Type apt-get install syslinux mtools Type apt-get install syslinux mtools
15. Type syslinux -sf /dev/sd x 1 Type syslinux-sf / dev / sd x 1
16. Type cd /cdrom 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/ 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 Ignore any "can not create symbolic link" errors
18. Type cd /home/ubuntu Type cd / home / ubuntu
19. Type wget pendrivelinux.com/downloads/U710fix.zip Type wget pendrivelinux.com/downloads/U710fix.zip
20. Type unzip -o -d /media/ubuntu710/ U710fix.zip Type unzip-or-d / media/ubuntu710 / U710fix.zip
21. Restart your computer, set your BIOS or Boot menu to boot from the USB device and reboot again. 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. You should now have a USB 7.10 Ubuntu Dapper 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. 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/sd x (replacing x with the letter of your flash device) To repair the MBR of your USB device, at the terminal type sudo apt-get install lilo then type lilo M / dev / sd x (x replacing with the letter of your flash device)