[SOLVED] Grub wont allow to boot because of USB... [help]
Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
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.
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.
Those two files that it is picking up are not from my HDD but from my usb which contains SLAX!
I figured that out and rebooted without the usb and grub found everything correctly. I was able to boot Slackware and LFS from there but if I plug the usb (which i almost all the time have it plugged because i have a lot of utils there) it wont boot since it sees the usb as the root of everything.
So the questions are:
why is it grub picking up the usb even though im doing "root (hd0,3)" doesnt that tells grub where to search for the files?
do i have to put anything additional to my menu.lst?
my current config file is:
Quote:
default 0
timeout 10
color green/black light-green/black
title Slackware
root (hd0,1)
kernel /boot/vmlinuz-custom root=/dev/sda2
title LFS 6.4
root (hd0,3)
kernel /boot/vmlinuz root=/dev/sda4
The question came because I had lilo on my HDD few minutes ago, and I have an option in Slax boot saying : boot from HDD, with localboot 0x81 as parameter.
What it did was that it went out of Slax menu, and picked up lilo from my HDD in which i could chose my Slackware and Windows installed.
I just finished installing LFS and I decided to try grub.
Slax menu works the same, it does sends me to the grub in HDD, but then grub is confused, and thats what startled me...
is there any way to fix that in the grub> prompt? kind of a chroot in there or the only options are changing the bios or adding all my partitions to the Slax menu?
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.