How do I edit GRUB to boot Windows XP and OPEN Suse 10.3 on my primary hard drive and Ubuntu on a second hard drive ?

Asked by cherokeeflyer1@yahoo.com

 I wish to edit grub to boot Windows XP and OPENSuse 10.3 from my primary drive. and also be able to boot Ubuntu from a second drive. This doesn't seem to be as easy as evryone makes it sound. Where do you start ?

Question information

Language:
English Edit question
Status:
Answered
For:
Easy Grub Editor Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Johannes Pilkahn (j-pilkahn) said :
#1

The grub syntax for partitions/drives is as follows:

hd(x,y), where x is the drive and y the partiton, starting from 0.

Indentify the partitons of your OSs.

If, for instance, your Windows is on sda1, your SUSE on sda4 and your Ubuntu on sdb1, edit /boot/grub/menu.lst such that it looks like this

title Ubuntu 7.10, kernel 2.6.22-14-generic
root (hd1,0)
kernel /boot/vmlinuz-2.6.22-14-generic root=UUID=d8734276-0e8d-49cc-83ca-9a6137e5bc47 ro quiet splash
initrd /boot/initrd.img-2.6.22-14-generic
quiet

title openSUSE 10.3 - 2.6.22.9-0.4
root (hd0,3)
kernel /vmlinuz-2.6.22.9-0.4-default root=/dev/disk/by-id/scsi-SATA_ST910021AS_5MH0KW6S-part5 vga=0x314 CPUFREQ=no resume=/dev/sdb2 splash=silent showopts
initrd /initrd-2.6.22.9-0.4-default

title Microsoft Windows XP Professional
root (hd0,0)
savedefault
makeactive
chainloader +1

Obviously, you'll might have to adjust the kernel versions...

Can you help with this problem?

Provide an answer of your own, or ask cherokeeflyer1@yahoo.com for more information if necessary.

To post a message you must log in.