LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
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, 09:28 PM   #1
comcastuser
Member
 
Registered: May 2004
Posts: 189

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 09:46 PM.
 
Old 01-12-2010, 10: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, 12:11 PM   #3
comcastuser
Member
 
Registered: May 2004
Posts: 189

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, 04:19 PM   #4
yancek
LQ Guru
 
Registered: Apr 2008
Distribution: Slackware, Ubuntu, PCLinux,
Posts: 10,510

Rep: Reputation: 2492Reputation: 2492Reputation: 2492Reputation: 2492Reputation: 2492Reputation: 2492Reputation: 2492Reputation: 2492Reputation: 2492Reputation: 2492Reputation: 2492
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, 06:59 PM   #5
comcastuser
Member
 
Registered: May 2004
Posts: 189

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



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 04:20 PM
Booting from external USB Hard drive? ArchAngeL13 Linux - Hardware 3 08-11-2006 03:02 PM
Booting from cd, linux on external usb hard drive ruh31 Linux - General 6 05-09-2006 07:12 AM
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
Help - USB flash memory stick and hard drive munkus.agb SUSE / openSUSE 3 12-15-2004 05:51 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 04:50 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