reedk
December 5th, 2009, 07:32 PM
I'm not new to Linux or Ubuntu, but Karmic with this "beta4" tagged GRUB has my head spinning.
I had a working dual-boot system with XP and 9.04. For a few reasons, I did a fresh install of 9.10 on /dev/sda. The new boot menu did not add my XP partition on /dev/sdb. After some research I've tried adding both of these to /etc/grub.d/40_custom:
First try, which never got to a Windows boot screen:
#menuentry "Microsoft Windows XP" {
# set root=(hd1,1)
# chainloader +1
#}
Second try, which reboots the PC when selected (the UUID is correct for my machine):
menuentry "Windows XP" {
insmod ntfs
set root=(hd1,1)
search --no-floppy --fs-uuid --set 78F42836F427F552
chainloader +1
}
Here is fdisk -l:
Disk /dev/sda: 60.5 GB, 60481863680 bytes
255 heads, 63 sectors/track, 7353 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x83279e15
Device Boot Start End Blocks Id System
/dev/sda1 * 1 1216 9767488+ 83 Linux
/dev/sda2 1217 7173 47849602+ 83 Linux
/dev/sda3 7174 7353 1445850 82 Linux swap / Solaris
Disk /dev/sdb: 74.4 GB, 74355769344 bytes
255 heads, 63 sectors/track, 9039 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x486def14
Device Boot Start End Blocks Id System
/dev/sdb1 * 1 2550 20482843+ 7 HPFS/NTFS
/dev/sdb2 2551 9039 52122892+ 83 Linux
And my blkid
/dev/sda1: UUID="8091bdf2-6f42-4b5c-b126-92a5c261b213" TYPE="ext4"
/dev/sda2: UUID="1d6fcf09-556a-4405-825d-6b0870623447" TYPE="ext4"
/dev/sda3: UUID="88fa0ebe-cbad-48ee-9dd7-5ea731b9748d" TYPE="swap"
/dev/sdb1: UUID="78F42836F427F552" TYPE="ntfs"
/dev/sdb2: UUID="57e06483-591e-47e6-960a-753cde3bf561" SEC_TYPE="ext2" TYPE="ext3"
Any thoughts on what I need to do to restore a functional Windows boot to this machine?
I had a working dual-boot system with XP and 9.04. For a few reasons, I did a fresh install of 9.10 on /dev/sda. The new boot menu did not add my XP partition on /dev/sdb. After some research I've tried adding both of these to /etc/grub.d/40_custom:
First try, which never got to a Windows boot screen:
#menuentry "Microsoft Windows XP" {
# set root=(hd1,1)
# chainloader +1
#}
Second try, which reboots the PC when selected (the UUID is correct for my machine):
menuentry "Windows XP" {
insmod ntfs
set root=(hd1,1)
search --no-floppy --fs-uuid --set 78F42836F427F552
chainloader +1
}
Here is fdisk -l:
Disk /dev/sda: 60.5 GB, 60481863680 bytes
255 heads, 63 sectors/track, 7353 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x83279e15
Device Boot Start End Blocks Id System
/dev/sda1 * 1 1216 9767488+ 83 Linux
/dev/sda2 1217 7173 47849602+ 83 Linux
/dev/sda3 7174 7353 1445850 82 Linux swap / Solaris
Disk /dev/sdb: 74.4 GB, 74355769344 bytes
255 heads, 63 sectors/track, 9039 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x486def14
Device Boot Start End Blocks Id System
/dev/sdb1 * 1 2550 20482843+ 7 HPFS/NTFS
/dev/sdb2 2551 9039 52122892+ 83 Linux
And my blkid
/dev/sda1: UUID="8091bdf2-6f42-4b5c-b126-92a5c261b213" TYPE="ext4"
/dev/sda2: UUID="1d6fcf09-556a-4405-825d-6b0870623447" TYPE="ext4"
/dev/sda3: UUID="88fa0ebe-cbad-48ee-9dd7-5ea731b9748d" TYPE="swap"
/dev/sdb1: UUID="78F42836F427F552" TYPE="ntfs"
/dev/sdb2: UUID="57e06483-591e-47e6-960a-753cde3bf561" SEC_TYPE="ext2" TYPE="ext3"
Any thoughts on what I need to do to restore a functional Windows boot to this machine?