LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 03-24-2006, 11:59 AM   #1
code_monkey
LQ Newbie
 
Registered: Mar 2006
Location: San Diego
Distribution: Montavista, CentOS, Fedora, RH,
Posts: 3

Rep: Reputation: 0
Booting Linux from external USB hard disk


First off, I must say this is a great forum with a lot of useful information. I look forward to have some lively discussions here.

Here is what I am looking for. I have Fedora Core4 on my hard disk. I have built a Linux Kernel, and a Linux file system, that I have dumped on my external USB hard drive.

I notice that the BIOS is seeing the USB hard drive, and USB hard drive is the first device to try booting from. I think I have made the LILO configuration to boot from the USB drive.

Does anyone have experience doing such a thing, am I nuts to try this?
-CodeMonkey

Last edited by code_monkey; 03-24-2006 at 12:01 PM.
 
Old 03-24-2006, 08:23 PM   #2
J.W.
LQ Veteran
 
Registered: Mar 2003
Location: Boise, ID
Distribution: Mint
Posts: 6,642

Rep: Reputation: 87
Welcome to LQ! As long as your BIOS supports booting from a USB device (and you've placed the USB device in the top position in the boot sequence) then it shouldn't be any different than booting from a hard drive or CD. Is there a particular error message that you're getting?
 
Old 03-24-2006, 09:27 PM   #3
tamoneya
Member
 
Registered: Jan 2005
Location: MA
Distribution: Ubuntu 7.10
Posts: 558

Rep: Reputation: 31
are you sure that the usb drive is bootable. You might need to add something like syslinux inorder to boot from the usb. This is an article on booting from usb and has a link for syslinux. Might also help to read the article to see if there are any variations from how you did it.
 
Old 03-25-2006, 08:07 AM   #4
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,736

Rep: Reputation: 5921Reputation: 5921Reputation: 5921Reputation: 5921Reputation: 5921Reputation: 5921Reputation: 5921Reputation: 5921Reputation: 5921Reputation: 5921Reputation: 5921
Without knowing error messages it is difficult to determine your problems but Fedora typically does not include USB support in the initial ramdisk (initrd) so the kernel gets lots trying to find the drive at boot. You will need to boot into rescue mode, chroot to the /mnt/sysimage and create a new initrd. The following link shows the details. Be sure to change the USB modules and kernel to match FC4 and your system.

http://www.simonf.com/usb/
 
Old 03-27-2006, 12:23 PM   #5
code_monkey
LQ Newbie
 
Registered: Mar 2006
Location: San Diego
Distribution: Montavista, CentOS, Fedora, RH,
Posts: 3

Original Poster
Rep: Reputation: 0
Thanks for the link I will check it out, try it out and report back.

BTW, my bios does see and show the USB hard drive as one of the bootable devices. I have the USB device as the first device to try, then the CD drive, then the internal hard disk with Fedora core4 on it. Everytime I reboot, it starts up Fedora, and I do not see any error messages. I am looking for any verbose mode possible with the BIOS, that I can inspect.
Thanks,
CM
 
Old 03-30-2006, 01:54 PM   #6
code_monkey
LQ Newbie
 
Registered: Mar 2006
Location: San Diego
Distribution: Montavista, CentOS, Fedora, RH,
Posts: 3

Original Poster
Rep: Reputation: 0
Alright, why does grub have to rename my disks and partitions with its own names? Beats me.

Anyways, I managed to make changes (to Grub.conf) to show my custom Linux and Grub does see the USB hard disk. I have tried to create various types of file partitions on this USB hard disk. (ext2, primary partition, boot flag set on). I cannot get grub to mount this boot directory. I always get a message saying "cannot mount partition".

Does anyone know what I am missing here?
CM
 
  


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
60GB laptop hard disk & 200GB external USB hard disk linux compatibility powah Linux - Hardware 0 03-07-2006 10:55 AM
USB external hard disk draggin Linux - Hardware 1 12-28-2005 04:33 PM
usb controller dies mounting external usb hard disk komasoftware Linux - Hardware 4 11-30-2005 01:18 PM
External USB Hard Disk Nishy Linux - Hardware 2 09-28-2005 06:35 AM
external partitioned usb hard disk mr_a_ali Linux - Hardware 2 08-14-2004 10:22 AM

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

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