GRUB Error 17, LILO Rules

Ubuntu and OpenSUSE have been my top choices of Linux distros over the years. I have been using Ubuntu for quite a while and one thing I really like about it is its apt-get package management system. But the GNOME GUI in Ubuntu seems to be quite crude. Also, despite its ever increasing popularity, its hardware support is still not as good as I had hoped, at least in my case.

After I purchased a 24 inch LCD, I noticed that Ubuntu would not support it’s native 1920×1200 resolution even though it correctly identified my four-years-old ATI Radeon 9200 SE graphics card. I tried many different workarounds (e.g. manually tuning xorg.conf, using ATI native display drivers, etc.) but without any luck. It seems that the maximum resolution I could get under Ubuntu 7.10 is 1280×1024.

So, to keep the long story short, I decided to give the latest OpenSUSE distro (10.3) a try. OpenSUSE uses GRUB as it’s default partition manager. When it was time to reboot after the installation, I was surprised to be greeted by a boot loader error message. Basically, GRUB exited with error number 17. At first I thought that somehow I was not paying enough attention to the partition parameters and somehow chose a boot partition that was too large… instead of monkeying around, I decided to install a second time. But again, I got the same GRUB 17 error message.

This seems to be a rather strange problem as I have been installing Linux for years and have never seen the boot loader failed before. Puzzled, I searched the internet for answers. There are many posts regarding this particular GRUB error, and they seem to suggest that somehow the boot loader failed to recognize the disk’s geometry. I tried a couple of suggestions (one of which seemed really promising, it suggested that this was caused by BIOS reporting the wrong information. It suggested that I disable the DMA settings of the harddrive in BIOS and this would force the boot loader to figure out the disk geometry instead of relying on BIOS), but non seemed to have worked.

Even more puzzled, I decided to go through the installation process again. This time, I chose to use LILO boot loader instead of the default GRUB… and it worked! And best of all, OpenSUSE 10.3 recognized my graphic card (ATI Rage 9200 SE) without any problem and set the resolution correctly to 1920×1200.

It is pretty clear that GRUB has some minor "annoyance" to fix. My PC is equipped with two SATA drives and 1 PATA harddrive. One of the SATA drive is used for Windows XP and I used the PATA drive for Linux installation. So it is possible that this setup is more complex than most of the Linux installations and GRUB had some difficulty figuring out the disk geometries. Nevertheless, LILO still rules.


Be Sociable, Share!

One Comment

  1. Brad Farris says:

    17 is beyond annoying! I am running Vista and Gutsy Gibbon. The issue would alternate between the SDA (Vista) and HDA(Gutsy). Apparently each operating system thinks it’s important to change a couple of bits that identify the boot sector. It’s kinda like the neighbors dog that comes to visit your dog. They leave their mark! I’m sure there may be a technical reason, however I would like to excercise the opt out. Each time a “corruption” occured, the opposing OS had been “updated” or during the install process.

    Bottom line, I think that each OS should give you the curtesy of asking permmision to soil a boot sector that belongs to another operating system.

    The commands for repairing the MS Operating system were simple. The only problem is that it took 9 hours to find the information.

    If I can remember how to get back to this post I will post them. They are on my Ubuntu system and I can’t boot that one right now.

    As I remember there was a couple of terminal lines executing relative to LILO. Then a fixmbr / from the command line opportunity during Vista Boot.

    Again it boots fine using the bios to choose the operating system. OS need to either get the multiboot right or give you the choice of complete recovery.

    Oh and the Vista home premium is crap. I am surprised that Intel has not pursued an injuction regarding the degredated performance. As I understand it Vista 159.00USD only utilizes 1 32bit path through the core duo. If you want to “take advantage of a high performace” MB then you have to shell out another 159.00 USD. I guess for Microsoft it’s smart, as they don’t use a middle man or retailer so the margins are better. I’d be pissed if I were a retailer, cause they are limiting what I can sell. IE the only choice when I bought the OS was Vista Home and Vista Premium. Pretty slick Microsoft… Deception is alive and well.

Leave a Reply