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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
03-24-2006, 11:59 AM
|
#1
|
LQ Newbie
Registered: Mar 2006
Location: San Diego
Distribution: Montavista, CentOS, Fedora, RH,
Posts: 3
Rep:
|
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.
|
|
|
03-24-2006, 08:23 PM
|
#2
|
LQ Veteran
Registered: Mar 2003
Location: Boise, ID
Distribution: Mint
Posts: 6,642
Rep:
|
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?
|
|
|
03-24-2006, 09:27 PM
|
#3
|
Member
Registered: Jan 2005
Location: MA
Distribution: Ubuntu 7.10
Posts: 558
Rep:
|
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.
|
|
|
03-25-2006, 08:07 AM
|
#4
|
Moderator
Registered: Aug 2002
Posts: 26,636
|
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/
|
|
|
03-27-2006, 12:23 PM
|
#5
|
LQ Newbie
Registered: Mar 2006
Location: San Diego
Distribution: Montavista, CentOS, Fedora, RH,
Posts: 3
Original Poster
Rep:
|
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
|
|
|
03-30-2006, 01:54 PM
|
#6
|
LQ Newbie
Registered: Mar 2006
Location: San Diego
Distribution: Montavista, CentOS, Fedora, RH,
Posts: 3
Original Poster
Rep:
|
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
|
|
|
All times are GMT -5. The time now is 03:56 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|