grub to boot vista from second HDD

I’m boot XP and VISTA from TWO hard drives
sda1 has fat partition with grub files
sda2 has xp
sdb1 has VISTA

Can I just “rootnoverify” and “chainload” them? Or Do I need “map (hd1) (hd0)” as stated in GRUB manual?

I’m not very familiar with Vista dual-booting, but maybe this thread can help.


here is mine:

p, li { white-space: pre-wrap; } ###Don’t change this comment - YaST2 identifier: Original name: windows###
title Windows
rootnoverify (hd0,0)
chainloader (hd1,0)+1
Suse is on first HD, Vista is on Second.

It depends on 2 things: How your Windows boot is set up, and, what the boot sequence is in the bios.

Typically in a setup like yours, Vista would have been installed after XP and the new Vista loader would be installed in the XP root (the “C:\ drive”). And, you would have the first drive (sda) set up as the boot drive in the bios. Windows needs to think it is booting from the first drive, so if this is already set up, no need for the map command. Then the command is just:

rootnoverify (hd0,1)
chainloader (hd0,1)

Which tells grub to hand off to the Windows boot sector in the second partiton of the first boot drive. You should then see the Windows boot menu with XP and Vista as choices.