Editing GRUB/menu.lst to multi-boot with separate hard drives
Linux - HardwareThis forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Editing GRUB/menu.lst to multi-boot with separate hard drives
I currently have OpenSuse 11.4 on one hard drive. I want to install another hard drive with Windows XP. How should I edit menu.lst? Here is menu.lst now:
Code:
# Modified by YaST2. Last modification on Sat Feb 11 18:52:01 EST 2012
# THIS FILE WILL BE PARTIALLY OVERWRITTEN by perl-Bootloader
# Configure custom boot parameters for updated kernels in /etc/sysconfig/bootloader
default 0
timeout 8
##YaST - generic_mbr
gfxmenu (hd0,1)/boot/message
##YaST - activate
###Don't change this comment - YaST2 identifier: Original name: linux###
title Desktop -- openSUSE 11.4 - 2.6.37.6-0.11
root (hd0,1)
kernel /boot/vmlinuz-2.6.37.6-0.11-desktop root=/dev/disk/by-id/ata-WDC_WD360GD-00FNA0_WD-WMAH91224373-part2 resume=/dev/disk/by-id/ata-WDC_WD360GD-00FNA0_WD-WMAH91224373-part1 splash=silent quiet showopts vga=0x31a
initrd /boot/initrd-2.6.37.6-0.11-desktop
###Don't change this comment - YaST2 identifier: Original name: failsafe###
title Failsafe -- openSUSE 11.4 - 2.6.37.6-0.11
root (hd0,1)
"menu.lst" 26L, 1271C
If your hard drive with Opensuse is sda and the drive you install xp to is sdb and you put the boot files for xp on the first partition of the drive with xp, the entry below should work if you are booting from the Opensuse Grub on sda:
Quote:
title Windows XP
rootnoverify (hd1,0)
map (hd0) (hd1)
map (hd1) (hd0)
chainloader +1
There are a lot of ifs here. You also need to ensure you don't install the xp bootloader to the first drive. Not sure how you plan to do the isntallation?
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.