[SOLVED] Boot loader problems - GRUB has no valid entries
Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's 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.
Hello all - some boot loader help would be much appreciated.
I have an existing WinXP install on the main drive (/dev/sda) of a Dell laptop. I installed OpenSUSE 11.3 on the second (caddy tray) drive and didn't touch the existing windows partition during install.
After install completed, I found there was no boot loader entry for WinXP during startup. Only SUSE-related stuff. I opened YaST boot loader and tried creating an entry of type "other" and device of "/dev/sda1" and set this as the default entry.
The /boot/grub/menu.lst file now has an entry:
Quote:
title Windows XP-32
rootnoverify(hd0,0)
chainloader (hd0,0)+1
When I restart the machine I get an error message:
Quote:
rootnoverify (hd0,0)
chainloader (hd0,0)+1
Error 13: Invalid or unsupported executable format
To add to the fun, I was able to boot into OpenSUSE previously, but during one of my edits to menu.lst I must have done something, and now there are no OpenSUSE entries during bootup at all. :-(
I do have an OpenSUSE LiveCD (installable) in the form of a USB key that I can boot from in order to perform repairs, but some pointers would be greatly appreciated.
Been a while since I tossed my m1330 out, but it had a Dell partition first - try "(hd0,1)" to get to the (real) NTFS partition.
(BTW make sure you stay on the latest BIOS code ....)
Your geometry output shows a windows partition on sda1, the first and only partition on that drive. The only thing I see, and this may be a typo, is that you have no space between: chainloader (hd0,0) AND +1.
Turns out this laptop has a "feature" known as SafeBoot from McAfee. This means the boot sector is secured via encryption, so it's no wonder GRUB couldn't launch anything even when the menu.lst entries were correct.
Many thanks to everybody who took the time to think through the situation and reply to this thread. Unfortunately, your efforts have been foiled by the evil that is McAfee. This machine has been re-imaged back to single-boot WinXP and shall remain that way forever.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.