LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 02-20-2009, 11:11 AM   #1
I'llGetThereOneDay
LQ Newbie
 
Registered: Aug 2006
Posts: 2

Rep: Reputation: 0
Question How to get Linux onto a USB Hard Drive?


Okay! I have on old 933Mhz Dell Optiplex with a 10Gb HDrive. But Only a floppy and NO CD Drive. I have reformatted the drive on my Windows PC using a USB adaptor. How can I make the drive Linux bootable using my Windows PC USB HD Adaptor that I can then put back into the DEll and use straight away?
 
Old 02-20-2009, 11:15 AM   #2
repo
LQ 5k Club
 
Registered: May 2001
Location: Belgium
Distribution: Arch
Posts: 8,528

Rep: Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899
take a look at
http://www.pendrivelinux.com/portabl...pendrivelinux/
 
Old 02-20-2009, 11:21 AM   #3
headrift
Member
 
Registered: Sep 2005
Distribution: Gentoo, Sabayon, Puppy, Arch
Posts: 165

Rep: Reputation: 29
You have a second computer, I take it?

If possible, boot the Windows PC from a Live CD and install to the USB drive. Put the USB drive back in the Optiplex, you should be good from there.

...because really, the drive on USB (from the Optiplex?) needs to be partitioned, the partitions formatted, and all kinds of stuff the installer on a Live CD should do for you.

Or you could do it by hand with fdisk and some formatting, but you'd still need Linux on the primary PC.
 
Old 02-20-2009, 11:28 AM   #4
snowpine
Senior Member
 
Registered: Feb 2009
Posts: 4,184

Rep: Reputation: 1168Reputation: 1168Reputation: 1168Reputation: 1168Reputation: 1168Reputation: 1168Reputation: 1168Reputation: 1168Reputation: 1168
Before you invest too much time in the project, verify whether or not your computer is capable of booting from USB (most older computers can't). (EDIT) I just re-read your original post; sounds like this isn't an issue in your case, sorry.

Headrift is correct: boot your other computer with the Live CD of your chosen distro and use it to install to the USB drive.

There is one thing to be careful of. Depending on the distro, it may default to installing the Grub bootloader on the internal hard drive, rather than the USB drive. (Ubuntu for example is notorious for this.) The last thing you want to do is overwrite your Windows MBR and be unable to boot without the USB drive plugged in. So make sure in the install options you are putting Grub on the correct drive. You may also need to edit the Grub options because the drive will probably be hd0 on the Optiplex and hd1 on the other computer. If you aren't sure how to do this, your safest option is to physically disconnect the internal hard drive on the Windows computer prior to beginning the experiment.

Last edited by snowpine; 02-20-2009 at 11:33 AM.
 
Old 02-20-2009, 11:33 AM   #5
rich_c
Member
 
Registered: Apr 2008
Location: UK
Distribution: Mepis; Maemo; openSUSE
Posts: 384
Blog Entries: 74

Rep: Reputation: 81
Here's my experience of doing exactly that. Basically, partition the drive up however you want it, then do the install being careful not to accidentally install or put Grub on the PC you've booted the Live CD on, but on the external drive as snowpine mentioned. You may, as I had to, have to fix the hd Grub thinks it's looking for but apart from that it was a pretty straightforward installation.
 
Old 02-21-2009, 04:44 AM   #6
I'llGetThereOneDay
LQ Newbie
 
Registered: Aug 2006
Posts: 2

Original Poster
Rep: Reputation: 0
Thanks Guys for all your help!

The Optiplex had no Cd drive only Floppy and Hard Drive. BIOs wouldn't allow a USB boot.

So stuck the reformatted Drive into my other PC - Booted that from CD and let Ubuntu CD do it's stuff.

Once loaded - checked boot -all okay. Stuck Drive into the Optiplex and job done! Took a good while Ubuntu to update online - but now all is running nicely.

Thanks again Guys!

Last edited by I'llGetThereOneDay; 02-21-2009 at 04:45 AM. Reason: Used wrong word- Duh!
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Copying files from internal Hard drive to USB 2.0 Hard Drive is NOT Behaving tubatodd Ubuntu 4 02-19-2007 04:32 PM
Installing grub to external USB hard drive for later use as internal hard drive dhave Linux From Scratch 2 12-10-2005 08:48 AM
Linux on a usb hard drive patthew Linux - Software 1 11-09-2005 02:49 PM
Linux on a USB hard drive without USB-FDD BIOS option jaro Linux - Hardware 1 07-15-2005 02:12 AM
Linux on a USB hard drive without USB-FDD BIOS option jaro Linux - Hardware 6 05-27-2004 11:49 AM


All times are GMT -5. The time now is 05:55 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration