Skip navigation.
Home
Now Shipping Version 7.0

Grub Error 17


Posts: 57

I dual boot win 98 and Mepis

last night I recieved a
Grub Error 17 and couldn't get to either OS.

how do I fix this??
I tried to re-install grub from the live cd, but I recieved an error before it could finish, although it now allows me to get into Win98, Linux won't boot - kernel panic. (don't know how to fix that either)

Ko Bros's picture

Grub error 17 : Cannot mount

Grub error 17 : Cannot mount selected partition
This error is returned if the partition requested exists, but the
filesystem type cannot be recognized by GRUB.

Caused by? Don't know.... Since you can now boot Win98 again you must have restored the master boot record - thereby wiping the bootsector info that grub needs. It should now be possible again to write grub to the mbr [grub-install /dev/hda1 probably], start Mepis and add your Win98 entry to /boot/grub/menu.lst again.

Regards, Ko

Ko Bros

I've seen this when the

I've seen this when the boot sector of the partition that holds menu.lst gets corrupted and poor grub just can't deal with it. Last month I tried to install PC-BSD to an empty partition and it hosed the other partitions. I was really mad. I tried everything to fix it but couldn't.

However, often you can still mount and read the bad partition with the liveCD. If so, you can xfer important data to a pen drive or burned to a CD, which is what I did.

The only way I found to get around this was to use cfdisk to remove the partition(s), recreate them (swap will be OK, don't worry about that one) and re-install Linux which will re-write grub to the MBR. Just re-installing over a bad partiton didn't work. Fortunately, cfdisk (on the liveCD) is not difficult to use.

This only has to happen to you ONCE to teach you the value of having your imporant data backed up!!!

HTH,

Al

drlizau's picture

corrupted boot sector

the crafty person will have this disk still working by repartitioning and NOT using the first cylinder of the disk.
If you need more instructions I suggest you get help rather than try it alone.

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.