LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 02-24-2007, 10:43 PM   #1
TigerLinux
Senior Member
 
Registered: Sep 2005
Location: Kuala Lumpur, Malaysia
Distribution: Ubuntu 11.04
Posts: 1,731

Rep: Reputation: 30
Post Can I install Linux on External USB Hard Drive?


Can I install Linux on External USB Hard Drive?
Let's say I plug in the USB 2.0 hard drive first and then boot a Suse DVD installation disk, can it detect the external hard drive and install linux onto it?
 
Old 02-24-2007, 10:51 PM   #2
3rdKey
Member
 
Registered: Feb 2007
Location: United States
Distribution: Fedora , Knoppix
Posts: 60

Rep: Reputation: 15
Quote:
Originally Posted by TigerLinux
Can I install Linux on External USB Hard Drive?
Let's say I plug in the USB 2.0 hard drive first and then boot a Suse DVD installation disk, can it detect the external hard drive and install linux onto it?
Yes. Actually there's several different ways to do it. If you go into your BIOS and boot from the DVD, it should automatically detect your USB drive. If it does not, then your BIOS does not support USB booting. Should that be the case, you'll need to use a live boot CD (ex: MandrivaOne @ http://www.mandriva.com/community/mandrivaone) and then you can install directly from the CD onto the USB drive.

One cool thing you can do is, depending on the distro, actually boot up from a USB flash drive. See http://www.pendrivelinux.com

Hope that helps out with some of your questions!
 
Old 02-24-2007, 11:10 PM   #3
J.W.
LQ Veteran
 
Registered: Mar 2003
Location: Boise, ID
Distribution: Mint
Posts: 6,642

Rep: Reputation: 85
You can definitely install Linux onto a USB device, but whether or not you can boot from that USB device depends on your BIOS
 
Old 02-24-2007, 11:12 PM   #4
TigerLinux
Senior Member
 
Registered: Sep 2005
Location: Kuala Lumpur, Malaysia
Distribution: Ubuntu 11.04
Posts: 1,731

Original Poster
Rep: Reputation: 30
Quote:
Originally Posted by 3rdKey
Yes. Actually there's several different ways to do it. If you go into your BIOS and boot from the DVD, it should automatically detect your USB drive. If it does not, then your BIOS does not support USB booting. Should that be the case, you'll need to use a live boot CD (ex: MandrivaOne @ http://www.mandriva.com/community/mandrivaone) and then you can install directly from the CD onto the USB drive.

One cool thing you can do is, depending on the distro, actually boot up from a USB flash drive. See http://www.pendrivelinux.com

Hope that helps out with some of your questions!
Can I install Suse linux on external USB hard drive? I mean the computer will boot from internal hard drive, the boot loader is installed in MBR, but the whole thing of Suse is in external hard drive.
 
Old 02-25-2007, 09:26 AM   #5
3rdKey
Member
 
Registered: Feb 2007
Location: United States
Distribution: Fedora , Knoppix
Posts: 60

Rep: Reputation: 15
Yes. During the installation, have Suse install to that hdd. It will partition it and install automatically.
 
Old 02-25-2007, 09:31 AM   #6
TigerLinux
Senior Member
 
Registered: Sep 2005
Location: Kuala Lumpur, Malaysia
Distribution: Ubuntu 11.04
Posts: 1,731

Original Poster
Rep: Reputation: 30
I installed the whole suse 10.1 on external HDD, and chose to install the bootloader in SDA1, this make my external HDD to be bootable, of course, the BIOS of the PC must be set to boot from USB drive.
 
Old 02-25-2007, 09:31 AM   #7
TigerLinux
Senior Member
 
Registered: Sep 2005
Location: Kuala Lumpur, Malaysia
Distribution: Ubuntu 11.04
Posts: 1,731

Original Poster
Rep: Reputation: 30
in this case, i can carry my Suse linux everywhere! Great!!!!!!!!!!!!!!!
 
Old 02-26-2007, 09:42 AM   #8
3rdKey
Member
 
Registered: Feb 2007
Location: United States
Distribution: Fedora , Knoppix
Posts: 60

Rep: Reputation: 15
Thumbs up

Quote:
Originally Posted by TigerLinux
I installed the whole suse 10.1 on external HDD, and chose to install the bootloader in SDA1, this make my external HDD to be bootable, of course, the BIOS of the PC must be set to boot from USB drive.
Great! Good to hear you got everything working!
 
Old 02-26-2007, 11:35 AM   #9
TigerLinux
Senior Member
 
Registered: Sep 2005
Location: Kuala Lumpur, Malaysia
Distribution: Ubuntu 11.04
Posts: 1,731

Original Poster
Rep: Reputation: 30
Smile

Quote:
Originally Posted by 3rdKey
Great! Good to hear you got everything working!
yeah, it is great that I can carry my Suse to everywhere, so long as the PC or notebook can boot from USB drive, my suse can run!
 
Old 03-01-2007, 04:59 PM   #10
Chief_Leavitt
LQ Newbie
 
Registered: Feb 2007
Location: In my house is where I live.
Distribution: Madriva 2007 and it is pretty good. I have DSL on a 128 thumbdrive and Knoppix 5.11 on 2 gig TH.DR
Posts: 13

Rep: Reputation: 0
I gave it a go and wrote over my MBR.

I can't boot without my USB HD plugged in now..... wtf?
 
Old 03-01-2007, 06:12 PM   #11
TigerLinux
Senior Member
 
Registered: Sep 2005
Location: Kuala Lumpur, Malaysia
Distribution: Ubuntu 11.04
Posts: 1,731

Original Poster
Rep: Reputation: 30
Smile

Quote:
Originally Posted by Chief_Leavitt
I can't boot without my USB HD plugged in now..... wtf?
probably due to your bootloader is not installed in /dev/sda1 ?
 
Old 03-01-2007, 06:14 PM   #12
saikee
Senior Member
 
Registered: Sep 2005
Location: Newcastle upon Tyne UK
Distribution: Any free distro.
Posts: 3,398
Blog Entries: 1

Rep: Reputation: 113Reputation: 113
Remember a USB hard disk is regarded as a SCSI/Sata device with name sda, sdb, sdc etc.

The name assigned to the external disk is also affected by the order it is detected.

If a user has an internal Sata which is detected first and got the sda status the external hard disk would be sdb. Putting the boot loader in the MBR in such a case means the Linux is effectively booted from an internal disk.


I managed to boot Suse 10.3 with with a kernel sourced from Fedora Core 6 in a zero internal disk environment. It is one of the 12 systems I installed into an external hard disk over a weekend.

Some distros can be installed and booted without modification but some need extra work, as indicated by this thread.
 
Old 10-26-2007, 01:03 AM   #13
Zaphael
LQ Newbie
 
Registered: Oct 2007
Posts: 2

Rep: Reputation: 0
Hi, I'm quite a newcomer to linux. Haven't used much of it except for some lab exercises in my school.

I was trying to install ubuntu 7.04 onto my Samsung External 2.5 hard disk, plugged via USB2.0. Installation was successful, and even clicked the "advanced" setting to install the bootrecord / grub *I don't know* on the external hard disks' linux root partition.

I set my BIOS to boot in order of CD/DVD -> USB Storage -> internal HDD. Even without so, i can hit f12 to pick which device i want to boot, but I set the boot sequence anyways.

However, I wasn't able to boot up into ubuntu at all. When I select to boot solely from the USB Storage, nothing happens. I read no activity on my external hard disk, and the laptop resets and goes through the boot sequence again if I do not interrupt it.

Strange thing I noticed was that when I selected to boot up through internal HDD, i notice some GRLDR blah blah A20 success.... lots of words, but barely 5 secs to take note. Then Vista's Bootloader takes over, and boots up my Windows Vista.

I've scoured the net looking for ways to make this work, including getting vista's bootloader to select and boot ubuntu, but always ran into a brick wall. Namely, the system would reset, reboot.

I did my installation according to instructions from this site.
http://ubuntuforums.org/showthread.php?t=80811&page=55
Tried to get help from there, but I haven't got any replies.
 
Old 04-21-2008, 01:54 PM   #14
TigerLinux
Senior Member
 
Registered: Sep 2005
Location: Kuala Lumpur, Malaysia
Distribution: Ubuntu 11.04
Posts: 1,731

Original Poster
Rep: Reputation: 30
it is even easier to install ubuntu onto flash drive.
 
Old 04-21-2008, 06:35 PM   #15
saikee
Senior Member
 
Registered: Sep 2005
Location: Newcastle upon Tyne UK
Distribution: Any free distro.
Posts: 3,398
Blog Entries: 1

Rep: Reputation: 113Reputation: 113
Zaphael,

Your problem is not having the boot loader Grub in the MBR of the external disk.

This you can fix as follow

(1) Boot up Ubuntu CD and use it as a Live CD
(2) Select Application/Accessories/terminal
(3) Become the root user by command
Code:
sudo su
(4) Invoke a Grub shell by command
Code:
grub
(5) Ask Grub to show you the partitions of every disk by command
Code:
geometry (hd0)
geometry (hd1)
(6) Scan the (hd0) and (hd1) to know which one has Vista and which one has Ubuntu. The one with Vista will have a partition ID=7 meaning it is a ntfs partition. Ubuntu always has partition ID=83 and its swap has ID=82.

(7) say if Ubuntu is in (hd1) then Grub will be in the 1st partition known to Grub as (hd1,0), as Grub counts from zero. You can restore Grub to the MBR by commands
Code:
root (hd1,0)
setup (hd1)
quit
In the above change hd1 to hd0 if needed but my guess is your (hd0) should be Vista if you boot up the Ubuntu CD.

(8) Log off Ubuntu CD and reboot and Grub should be there waiting for you to boot Ubuntu.
 
  


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



Similar Threads
Thread Thread Starter Forum Replies Last Post
Can I install Linux on Western Digital USB external hard drive? priyankadeven Linux - Newbie 6 11-24-2009 10:12 PM
external enclosure for an internal hard drive vs external USB hard drive powah Linux - Hardware 1 03-10-2006 10:03 AM
External USB Hard Drive Install statyk Linux - General 2 01-20-2006 02:19 AM
Install Fedora on external USB 2.0 hard drive neomatic Linux - Hardware 0 07-30-2004 05:54 PM
install maxtor USB external hard drive BeckerB Linux - Hardware 22 06-22-2004 09:56 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 07:12 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
Open Source Consulting | Domain Registration