Ubuntu Forums ubuntu.com - launchpad.net - ubuntu help  

Go Back   Ubuntu Forums > The Ubuntu Forum Community > Forum Archive > Absolute Beginner Talk
Register Reset Password Forum Help Forum Council Search Today's Posts Mark Forums Read

Hello, Unregistered You are browsing a READ only archive of the main support categories pre 4/21/2008. You will not be able to post or reply any threads in this section.

Absolute Beginner Talk
The perfect starting place to find out more about computers, Linux and Ubuntu.

 
Thread Tools Display Modes
Old June 4th, 2007   #1
wcbardwell
Just Give Me the Beans!
 
Join Date: Mar 2007
Location: Texas, USA
Beans: 60
Ubuntu 7.04 Feisty Fawn
Post How To: Ubuntu Portable

I know when I first started using Ubuntu, I didn't want to install it onto my Hard Drive (For fear that I wouldn't like it), so I decided to try to install it on my 120GB USB-powered portable Hard Drive... This is how I did it:

Starting with my machine off (and ubuntu disk in the cd tray), I connected my HDD and a 1 GB flash drive to my PC.
Next, I turned on the machine and booted from the cd.
After everything is booted, I entered:
Code:
sudo fdisk -l
It gave me the list of HDD attached to the machine. I wrote down the drive letter for the 120GB HDD (sdb on mine)
I proceeded to install at wiped the 120GB disk clean for a full-ubuntu drive.
Before clicking the final "install," I changed the address for grub to the drive letter (sdb on my machine).
Then I allowed it to install.
Once installation was complete, I rebooted (making sure to remove the 1GB flash drive and the disc from the tray first).
Once GRUB came up, I received an error.
After restarting the machine a few times, I finally got the GRUB menu up and running (but still not loading).
In the menu, I presses "e" to edit the booting HDD for ubuntu (I changed it from (1,0) to (0,0) ) and pressed "b."
After getting the machine to boot, I went in and edited the menu.lst file:
Code:
sudo gedit /boot/grub/menu.lst
I scrolled down and changed the drive that all of the options on the bootloader boots from ( from HDD (1,0) to (0,0) )
I saved the file and restarted.

Now I have a portable HDD that I take with me everywhere and use ubuntu on practically any PC. I have run into some problems reconfiguring X on some nvidia machines, but it's not a big deal to me. Hope this quick run-through helps someone.

**NOTE**
In order to boot from this drive, you need to either select it from the boot menu on the machine or change the boot order in the setup screen on your computer so that the USB drive comes before the internal (a prompt upon restart will tell you what button to push for boot/setup menus).

Last edited by wcbardwell; June 4th, 2007 at 12:42 PM..
wcbardwell is offline   Reply With Quote
Old June 4th, 2007   #2
Dylnuge
Quad Shot of Ubuntu
 
Dylnuge's Avatar
 
Join Date: Jun 2006
Location: Chicago
Beans: 405
Ubuntu 9.04 Jaunty Jackalope
Send a message via AIM to Dylnuge
Re: How To: Ubuntu Portable

Nice guide. Thanks!
__________________
Computer Over. Virus = Very Yes.
Dylnuge is offline   Reply With Quote
Old June 5th, 2007   #3
gene74
5 Cups of Ubuntu
 
gene74's Avatar
 
Join Date: Jun 2007
Beans: 23
Ubuntu 7.04 Feisty Fawn
Re: How To: Ubuntu Portable

i am trying to do this also but kept having some problems with partition. i have a 30 gb hd in a usb external case that i want to use. how do i partition it?


nvm i got it to work

Last edited by gene74; June 5th, 2007 at 10:29 PM.. Reason: got it to work
gene74 is offline   Reply With Quote

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 10:43 PM.


vBulletin ©2000 - 2010, Jelsoft Enterprises Ltd. Ubuntu Logo, Ubuntu and Canonical © Canonical Ltd. Tango Icons © Tango Desktop Project. bilberry