GRUB doesn't boot linux when I enter "boot" at its prompt
Linux - GeneralThis Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.
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.
GRUB doesn't boot linux when I enter "boot" at its prompt
Hi everyone,
I've got a problem with Grub. Here's the situation:
I've got a dual boot system with suse linux 9.0 and win xp pro. I had to reinstall xp but when that was done, i realised that xp destroyed my MBR which previously gave me the fantastic choice between xp and suse.
So, I thought, let's try to get GRUB (running from rescue mode of the suse image cd) booting into my (still exsisting) Linux distro. I read the documentation about grub and all seem pretty easy, so I gave it a shot with the following commands in my grub prompt:
The entering of the boot-command (point 4) seems to be the problem and I just can't understand why, because my series of grub commands is exactly like they say in the documentation. (I even tried all the options from my grub.conf file)
After typing boot and pressing enter, grub just says nothing and exits. Bringing me back to the rescue shell from which I started grub. Of course, the suse system I intended to start, doesn't start at all. I've given it various tries, but all were negative. I just can't figure why, so I really hope someone out there, knows what to do next.
maybe you can use the rescue mode to mkbootdisk and that will help you create a floppy that'll get you into your real linux, as opposed to the rescue mode linux. once your there, u could fix your MBR with grub
I tried the root (hd4,6) but then grub says that it doesn't recognize that disk. When I think about it, it is quite logical, because since I only have one hard drive it really should be hd0. (hd4 should be the 5th harddisk, I think.)
And root (hd0,6) is recognized as my intended reiser fs partition with suse. Also the kernel loading and initrd commands proceed succesfully, but afterall it still doesn't boot when I type boot.
What is the wording of the error? Is your initrd symlink simply "initrd"? Or is it "initrd.img"? Are you able to mount your partition under Suse to look at? Go to your /boot partition and write down the exact name of your kernel and initrd. Then try booting the actual file instead of the symlinks.
To be sure, your drive lettering is strange but if that worked before then it should work again. Also, you stated at first that you where using the MBR before so that also should work again. I think you are over complicating your list of commands when restoring the grub.
If indeed the / ( root ) is located at /dev/hde7 , note: this can be verified with the command: rdev
here are the commands you need..........
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.