Ubuntu Teen
HomeAbout

grub2, drivemap and Windows 2000

Hi Guys,

As per https://wiki.ubuntu.com/KernelTeam/Grub2Testing I decided to test grub2 out on my system. Although everything Ubuntu related was working, I could not get my Windows 2000 installation to boot. I looked at my old menu.lst and found this in the boot entry:



title Microsoft Windows 2000 Professional
rootnoverify (hd1,0)
savedefault
makeactive
map (hd0) (hd1)
map (hd1) (hd0)

chainloader +1



I searched around and found that grub2 had only recently received a patch to mimic this grub-legacy map command and more looking around showed me that only Karmic had received this newer version of grub2.

Therefore I uninstalled grub2 and grub-pc completely . And reinstalled grub-legacy.

Then restored old menu.lst installed grub2 afresh. This time with the newevr packages form karmic. This time, I put in the entry for Windows 2000 with the extra 'drivermap' command:



menuentry "Microsoft Windows 2000 Professional (on /dev/sdb1)" {
set root=(hd1,1)
drivemap -s hd0 hd1
chainloader +1
}



the -s switch does the reverse of the command so it is basically the same as putting:



drivemap hd0 hd1
drivemap hd1 hd0



THis time when I tried it...

IT WORKED!!!

Now I am off to tweak it's appearance and make it more pretty....

0 comments: