GRUB settings for dual boot

This is purely for my own personal reference as its a bugger of a thing to find a solution to when you have the problem.

The issue I had was with GRUB dual booting linux + windows (+OSX), which should never be difficult. The problem came about apparently because linux is on the primary drive while Windows the secondary. The error received when booting a ‘standard’ GRUB configuration is this:
“Filesystem type unknown, partition type 0x7”
When I say standard I mean somethng like the following:
title Windows XP Professional
root (hd1,4)
chainloader +1

The fix is to change the GRUB setting to the following:
title Microsoft Windows
map (hd1) (hd0)
map (hd0) (hd1)
rootnoverify (hd1,0)
chainloader +1

Which makes sense I guess, but I still think its an unnecesary step.

One thought on “GRUB settings for dual boot”

  • Possibly it’s simpler to just install Windows on the first HD, ‘cos Windows is stupid when it comes to where it lives.
    I don’t like to capitulate too much to windows, but I’ve been multibooting OS’s for years and basically it’s easiest to just stick windows first. None of the others really care anymore.

Leave a Reply

Your email address will not be published. Required fields are marked *