Click to See Complete Forum and Search --> : Using Grub to load Win2000


strudl
03-30-2004, 03:13 PM
Can anyone kindly show me how to use GRUB to load win2000 on a different disk. I have a computer with 2 hard disks hda has Linux 7.3
and hdb win2000, I am able to do it with Lilo , but I can not get it with Grub
Thanks.

Hayl
03-30-2004, 03:15 PM
if you search our forums, you wil find many posts that explain how to do this already.

mdwatts
03-30-2004, 03:36 PM
Originally posted by Hayl
if you search our forums, you wil find many posts that explain how to do this already.

From one thread I found with a Installation forum search for 'grub windows hdb'.

title = windows
map (hd0, hd1)
map (hd1, hd0)
chainloader (hd*,*)+1

strudl
03-30-2004, 04:02 PM
Hello Mdwatts,
I tried it just now but got an error message :
map (hd0,hd1)
error 11 unrecognized device string

mdwatts
03-30-2004, 04:29 PM
Could you then please post the contents of your Grub config and /boot/grub/device.map.

http://osdev.berlios.de/grub.html

http://www.linuxselfhelp.com/gnu/grub/html_chapter/grub_toc.html

strudl
03-30-2004, 05:15 PM
grub.conf:

#boot=/dev/hda
default=0
timeout=30
splashimage=(hd0,0)/grub/splash.xpm.gz
title red hat linux (2.4.18-3)
root (hd0,0)
kernel /vmlinuz-2.4.18-3 ro root=/dev/hda2
initrd /initrd-2.4.18.3.img

title win2000
map (hd1,hd0)
map (hd0,hd1)
chainloader (hd1,0)+1



(fd0) /dev/fdo
(hdo) /dev/hda
(hd1) /dev/hdb

sploo22
03-30-2004, 06:21 PM
Maybe in the line "(hdo) /dev/hda" there should be a zero instead of an O.

mdwatts
03-31-2004, 12:37 PM
Originally posted by strudl

title win2000
map (hd1,hd0)
map (hd0,hd1)
chainloader (hd1,0)+1


What I originally posted...

title = windows
map (hd0, hd1)
map (hd1, hd0)
chainloader (hd*,*)+1

You have the map devices backwards.