SDB:Dual boot on 2 drives
tagline: From openSUSE
If you are using openSUSE 11.1 or a higher version, you should not have to worry about any of the following information as YaST should take care of this for you.
GRUB boot manager
GRUB is the default boot manager for openSUSE/SUSE Linux as well as many other well known Linux distributions. It is selected by default in YaST when you install openSUSE/SUSE Linux, therefore it's most probably the one installed on your computer. GRUB uses a file called
/boot/grub/menu.lst to store it's configuration information (this file may be different on another Linux distribution).
LILO boot manager
LILO is the Linux boot manager which was used as the default instead of GRUB in the beginning of Linux, openSUSE still has the option to use LILO if you would like to. As LILO uses pretty much the same naming convention as GRUB most of the following information still applies, with a few exceptions like the GRUB commands (eg.
map). The configuration file for LILO is
/etc/lilo.conf, so edit that file if you use LILO instead of GRUB.
Booting Windows Vista from the first hard drive
To enable the booting of Vista add the following to /boot/grub/menu.lst under the "Windows" section:
title Windows Vista rootnoverify (hd0,0) savedefault makeactive chainloader +1
Starting Windows from a hard disk other than the first hard disk
Because Windows must be started from the first hard disk, you need to use the
map command in the GRUB configuration file. If Windows is installed on a third hard disk, change
Add the following to /boot/grub/menu.lst under the "Windows" section:
map (hd0,0) (hd1,0) map (hd1,0) (hd0,0) rootnoverify (hd1,0) makeactive chainloader +1
mapcommands change the way GRUB sees your hard drives, in this case swapping
hd1(hard disk 1) with
hd2(hard disk 2).
rootcommand tells grub which hard drive to boot.
GRUB should then give you the option to boot into Windows on the second drive. Very Handy !!.