I had a dual-boot system with Windows XP and Ubuntu 8.04, installed on the same hard drive. I installed a new (old, new to this system) 80GB drive to try out openSuse 11. The DVD install went fine, though I did get confused when it came time to install GRUB, and also when creating a /boot partition. I already have a /boot on my Win/Ubu disk, but I selected not to mount that one when partitioning for openSuse, and instead created another /boot partition in which I installed GRUB. So, when I rebooted I got a GRUB error 15. I then checked the boot order in my BIOS, and moved the openSuse disk up to 1st, and I can boot openSuse okay. Using SuperGrub I could boot into my Ubuntu install, but no Windows XP. I copied the entries from my Ubuntu menu.lst into my openSuse menu.lst:
title Ubuntu 8.04.1, kernel 2.6.24-21-generic
root (hd0,5)
kernel /vmlinuz-2.6.24-21-generic root=UUID=5b7dc39c-6414-4755-afea-630a7673a5d2 ro quiet splash
initrd /initrd.img-2.6.24-21-generic
quiet
FAT32 (LBA)
I then changed (hd0,5) to read (hd1,5) since I changed the order in BIOS. This works great for selecting between openSuse & Ubuntu when booting, but Windows still won’t boot ( also changed hd0 to hd1 for Windows). If I make my Win/Ubu disk the first boot disk I get a GRUB error.
My question is, how do I get a working GRUB config which lists all 3 Operating Systems, and allows me to boot into them?
Here’s my fisk -l output from openSuse:
[size=]
Disk /dev/sda: 300.0 GB, 300090728448 bytes
255 heads, 63 sectors/track, 36483 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0xee800574
Device Boot Start End Blocks Id System
/dev/sda1 1 6527 52428096 7 HPFS/NTFS
/dev/sda2 * 6528 36483 240621570 f W95 Ext’d (LBA)
/dev/sda5 6528 26108 157284351 7 HPFS/NTFS
/dev/sda6 26109 26135 216846 83 Linux
/dev/sda7 26136 35059 71681998+ 83 Linux
/dev/sda8 35060 36334 10241406 83 Linux
/dev/sda9 36335 36483 1196811 82 Linux swap / Solaris
Disk /dev/sdb: 81.9 GB, 81964302336 bytes
255 heads, 63 sectors/track, 9964 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x000348a8
Device Boot Start End Blocks Id System
/dev/sdb1 * 1 9961 80011701 f W95 Ext’d (LBA)
/dev/sdb5 1960 9961 64276065 83 Linux
/dev/sdb6 1 32 256945+ 83 Linux
/dev/sdb7 33 1959 15478596 83 Linux
Partition table entries are not in disk order
Disk /dev/sdc: 500.1 GB, 500107862016 bytes
255 heads, 63 sectors/track, 60801 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x54eeaef8
Device Boot Start End Blocks Id System
/dev/sdc1 * 1 60801 488384001 7 HPFS/NTFS
Disk /dev/sdd: 160.0 GB, 160041885696 bytes
255 heads, 63 sectors/track, 19457 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x8f9c798a
Device Boot Start End Blocks Id System
/dev/sdd1 * 1 19457 156288321 c W95 FAT32 (LBA)[/size]