Posting from Ubuntu USB

Creating a USB distro from Ubuntu Live CD was damn easy. I have a 2GB USB-Ubuntu 7.10 key and posting this entry from a PQI USB key (which I got as a prize for a graffic design).

Here is steps to create the Ubuntu USB key.


From: Victor_Lowther at Dell.com
Sent: Friday, October 26, 2007 4:11 PM
To: linux-users at insidelists.us.dell.com
Subject: Speaking of Ubuntu..

Here is a neat little trick that makes the install process go much
faster:

1: Get a 1 gig USB memory key
2: Copy the contents of the Ubuntu live cd to to the memory key
3: Create a directory named "grub" on the memory key, and copy the
contents of the /boot/grub directory to it.
3: Install grub on the memory key. From a preexisting Linux install,
these commands should do the trick:
root at local# grub

grub> root (hd1,0) # or whatever your hard drive is. This
happens to correspond to /dev/sdb1
grub> setup (hd1)
grub> quit

4: Modify the /grub/menu.lst file on the memory key to look like this:

timeout 3
# This will be the memory key if you boot to one on every system I have
tried it on.
root (hd0,0) # first hard disk.

title Ubuntu 7.10 Live CD
kernel /casper/vmlinuz quiet splash file=/preseed/ubuntu.seed
boot=casper
initrd /casper/initrd.gz
quiet

title Ubuntu 7.10 Live CD (Safe Mode)
kernel /casper/vmlinuz quiet splash xforcevesa
file=/preseed/ubuntu.seed boot=casper
initrd /casper/initrd.gz
quiet


# if you don't have memtest86, you can omit these lines
title Memtest86
kernel /casper/memtest86+.bin
quiet

##END OF FILE

Now install should be a little faster, and using the live system will be
much faster.

Enjoy!

Victor Lowther

No comments: