dibl
March 18th, 2010, 08:35 AM
Kind Readers,
I just did a fresh install of WinXP and Ubuntu 9.10 (in that order) to a single large (1000 GB) drive. The drive is partitioned with ext3, NTFS, linux-swap, and unused space (the specifics are given below).
After initial installation, I could multi-boot between the two systems. I then did a system update in Ububtu, I was prompted about upgrading Grub2, I accepted the "package maintainers" version. Now I can't multi-boot into WinXP. Ubuntu still boots. The error message I get is "<Windows root>\ system32\ntoskrnl.exe is missing or corrupt." The file is present on the WinXP partition. Anyway, I'm confused, why isn't the chainloader using \ntldr.exe?
According to the package manager, I've got grub-pc Grub version 2, revision 1.97~beta4-1ubuntu4.1 installed. Same revision for the grub-common package.
Here is the relevant section of /boot/grub/grub.cfg
### BEGIN /etc/grub.d/30_os-prober ###
menuentry "Microsoft Windows XP Professional (on /dev/sda2)" {
insmod ntfs
set root=(hd0,2)
search --no-floppy --fs-uuid --set 2a2c975b2c9720bd
drivemap -s (hd0) ${root}
chainloader +1
}
### END /etc/grub.d/30_os-prober ###
Here is the relevant output from Boot Info Script 0.55
================== Boot Info Summary: ========================
=> Grub 2 is installed in the MBR of /dev/sda and looks on the same drive in partition #1 for /boot/grub.
sda1:
__________________________________________________ _______________________
File system: ext3
Boot sector type: -
Boot sector info:
Operating System: Ubuntu 9.10
Boot files/dirs: /boot/grub/grub.cfg /etc/fstab /boot/grub/core.img
sda2:
__________________________________________________ __________________
File system: ntfs
Boot sector type: Windows XP
Boot sector info: No errors found in the Boot Parameter Block.
Operating System: Windows XP
Boot files/dirs: /boot.ini /ntldr /NTDETECT.COM
sda3: __________________________________________________ _______________________
File system: Extended Partition
Boot sector type: -
Boot sector info:
sda5: __________________________________________________ _______________________
File system: swap
Boot sector type: -
Boot sector info:
================= Drive/Partition Info: =======================
Drive: sda
__________________________________________________ ______________________
Disk /dev/sda: 1000.2 GB, 1000204886016 bytes
255 heads, 63 sectors/track, 121601 cylinders, total 1953525168 sectors
Units = sectors of 1 * 512 = 512 bytes
Disk identifier: 0x0000d4e4
Partition Boot Start End Size Id System
/dev/sda1 63 629,153,594 629,153,532 83 Linux
/dev/sda2 * 629,153,595 1,258,307,189 629,153,595 7 HPFS/NTFS
/dev/sda3 1,258,307,190 1,274,307,929 16,000,740 5 Extended
/dev/sda5 1,258,307,253 1,274,307,929 16,000,677 82 Linux swap / Solaris
NOTE: sda1 and sda2 are ~300 GB each, swap is ~8 GB, the rest is unused.
blkid -c /dev/null:
__________________________________________________ __________
Device UUID TYPE LABEL
/dev/sda1 8d06da43-17ea-4b10-bc47-0dbbae20fbdc ext3
/dev/sda2 2A2C975B2C9720BD ntfs
/dev/sda5 560beae6-53e9-4539-833a-32bbef3aa28d swap
==================== sda2/boot.ini: ====================
[boot loader]
timeout=30
default=multi(0)disk(0)rdisk(0)partition(2)\WINDOW S
[operating systems]
multi(0)disk(0)rdisk(0)partition(2)\WINDOWS="Microsoft Windows XP Professional" /noexecute=optin /fastdetect
Can anyone help?
Thanks,
David
I just did a fresh install of WinXP and Ubuntu 9.10 (in that order) to a single large (1000 GB) drive. The drive is partitioned with ext3, NTFS, linux-swap, and unused space (the specifics are given below).
After initial installation, I could multi-boot between the two systems. I then did a system update in Ububtu, I was prompted about upgrading Grub2, I accepted the "package maintainers" version. Now I can't multi-boot into WinXP. Ubuntu still boots. The error message I get is "<Windows root>\ system32\ntoskrnl.exe is missing or corrupt." The file is present on the WinXP partition. Anyway, I'm confused, why isn't the chainloader using \ntldr.exe?
According to the package manager, I've got grub-pc Grub version 2, revision 1.97~beta4-1ubuntu4.1 installed. Same revision for the grub-common package.
Here is the relevant section of /boot/grub/grub.cfg
### BEGIN /etc/grub.d/30_os-prober ###
menuentry "Microsoft Windows XP Professional (on /dev/sda2)" {
insmod ntfs
set root=(hd0,2)
search --no-floppy --fs-uuid --set 2a2c975b2c9720bd
drivemap -s (hd0) ${root}
chainloader +1
}
### END /etc/grub.d/30_os-prober ###
Here is the relevant output from Boot Info Script 0.55
================== Boot Info Summary: ========================
=> Grub 2 is installed in the MBR of /dev/sda and looks on the same drive in partition #1 for /boot/grub.
sda1:
__________________________________________________ _______________________
File system: ext3
Boot sector type: -
Boot sector info:
Operating System: Ubuntu 9.10
Boot files/dirs: /boot/grub/grub.cfg /etc/fstab /boot/grub/core.img
sda2:
__________________________________________________ __________________
File system: ntfs
Boot sector type: Windows XP
Boot sector info: No errors found in the Boot Parameter Block.
Operating System: Windows XP
Boot files/dirs: /boot.ini /ntldr /NTDETECT.COM
sda3: __________________________________________________ _______________________
File system: Extended Partition
Boot sector type: -
Boot sector info:
sda5: __________________________________________________ _______________________
File system: swap
Boot sector type: -
Boot sector info:
================= Drive/Partition Info: =======================
Drive: sda
__________________________________________________ ______________________
Disk /dev/sda: 1000.2 GB, 1000204886016 bytes
255 heads, 63 sectors/track, 121601 cylinders, total 1953525168 sectors
Units = sectors of 1 * 512 = 512 bytes
Disk identifier: 0x0000d4e4
Partition Boot Start End Size Id System
/dev/sda1 63 629,153,594 629,153,532 83 Linux
/dev/sda2 * 629,153,595 1,258,307,189 629,153,595 7 HPFS/NTFS
/dev/sda3 1,258,307,190 1,274,307,929 16,000,740 5 Extended
/dev/sda5 1,258,307,253 1,274,307,929 16,000,677 82 Linux swap / Solaris
NOTE: sda1 and sda2 are ~300 GB each, swap is ~8 GB, the rest is unused.
blkid -c /dev/null:
__________________________________________________ __________
Device UUID TYPE LABEL
/dev/sda1 8d06da43-17ea-4b10-bc47-0dbbae20fbdc ext3
/dev/sda2 2A2C975B2C9720BD ntfs
/dev/sda5 560beae6-53e9-4539-833a-32bbef3aa28d swap
==================== sda2/boot.ini: ====================
[boot loader]
timeout=30
default=multi(0)disk(0)rdisk(0)partition(2)\WINDOW S
[operating systems]
multi(0)disk(0)rdisk(0)partition(2)\WINDOWS="Microsoft Windows XP Professional" /noexecute=optin /fastdetect
Can anyone help?
Thanks,
David