LinuxQuestions.org
Visit the LQ Articles and Editorials section
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices



Reply
 
Search this Thread
Old 01-12-2010, 10:28 PM   #1
comcastuser
Member
 
Registered: May 2004
Posts: 142

Rep: Reputation: 22
Booting Linux on an external USB hard drive (not a memory stick, a hard drive)


Is this possible as of yet?

I see tons of guides on how to get Linux booting on a USB memory stick but not a portable USB hard drive.

Thanks in advance!

Edited to add: Live USB Creator doesn't seem to want to recognize real external USB hard drives; it only wants to recognize flash drives. How would I get it to recognize a real USB hard drive?

Last edited by comcastuser; 01-12-2010 at 10:46 PM.
 
Old 01-12-2010, 11:15 PM   #2
jayakrishnanlll
LQ Newbie
 
Registered: Oct 2009
Distribution: RHEL
Posts: 2

Rep: Reputation: 1
Lightbulb

Hii comcastuser,

I think you can use 'SLAX' for making your external hard disk bootable. Slax is actually a flash drive OS but it can be installed on any hard disk also.

What it does is it will edit your HDD's or flash drive's MBR to make it bootable. The process is just simple, you have to download the slak package from www.slax.org and unzip to your respective drive. It will contain two folders, 'boot' and 'slax' and in the boot folder there will be scripts 'bootinst.sh' for Linux and 'bootinst.bat' for windows. just run it and it will make the current drive bootable with the slax os installed.

You can also add other kernals by eiditing its respective boot files which I think you will be more expert than me!!!!!!
Please try this and let me know if it worked!!!

Thanks ,
JK.
 
Old 01-13-2010, 01:11 PM   #3
comcastuser
Member
 
Registered: May 2004
Posts: 142

Original Poster
Rep: Reputation: 22
Quote:
Originally Posted by jayakrishnanlll View Post
Hii comcastuser,

I think you can use 'SLAX' for making your external hard disk bootable. Slax is actually a flash drive OS but it can be installed on any hard disk also.

What it does is it will edit your HDD's or flash drive's MBR to make it bootable. The process is just simple, you have to download the slak package from www.slax.org and unzip to your respective drive. It will contain two folders, 'boot' and 'slax' and in the boot folder there will be scripts 'bootinst.sh' for Linux and 'bootinst.bat' for windows. just run it and it will make the current drive bootable with the slax os installed.

You can also add other kernals by eiditing its respective boot files which I think you will be more expert than me!!!!!!
Please try this and let me know if it worked!!!

Thanks ,
JK.
Interesting. Will this allow me to copy my existing Linux operating system files (and kernel) over to the new hard drive?
 
Old 01-13-2010, 05:19 PM   #4
yancek
Guru
 
Registered: Apr 2008
Distribution: PCLinux, Slackware
Posts: 5,122

Rep: Reputation: 818Reputation: 818Reputation: 818Reputation: 818Reputation: 818Reputation: 818Reputation: 818
If all you want to do is install some version of Linux on an external drive that should not be difficult. You don't need live USB creator to do this. You just install to the external drive. The first thing you would need to ascertain is whether your BIOS supports booting from USB.

If you have an internal drive, it would probably show as sda.
If you then have an external attached, it would probably show as sdb.
So then you just create partitions on the sdb drive, format and install. The problem most people who are not familiar with bootloaders have is installing the bootloader files on the wrong drive. If you install Grub as your bootloader, it should go to the master boot record of the external drive. Than should enable you to boot your Linux on the external drive when you set it to first boot priority in the BIOS.

Since we don't have information on what distribution of Linux you are planning to use or your drive/partition information a more detailed explanation would be no more than guessing.
 
Old 01-13-2010, 07:59 PM   #5
comcastuser
Member
 
Registered: May 2004
Posts: 142

Original Poster
Rep: Reputation: 22
Oh, sorry, I am planning on copying an existing installation of Fedora 12 Constantine over to an external USB HD and making it bootable. Yes, it would be seen as /dev/sdb.

So far, using grub-install, I have tried to boot this way and it came back with a "Geom error" as soon as Grub tried to start.
 
  


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
*** USB external hard drive and USB memory stick linux_2007_ Linux - General 1 07-17-2007 05:20 PM
Booting from external USB Hard drive? ArchAngeL13 Linux - Hardware 3 08-11-2006 04:02 PM
Booting from cd, linux on external usb hard drive ruh31 Linux - General 6 05-09-2006 08:12 AM
Installing grub to external USB hard drive for later use as internal hard drive dhave Linux From Scratch 2 12-10-2005 09:48 AM
Help - USB flash memory stick and hard drive munkus.agb Suse/Novell 3 12-15-2004 06:51 AM


All times are GMT -5. The time now is 01:45 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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration