drweside
June 24th, 2008, 11:16 AM
I'm about to give up on dual-booting, if I can't figure this out. Hopefully, someone can give me some ideas.
I've got one HD with XP on it. It has only one partition, occupied by XP. I used PartitionMagic to resize this partition, leaving 40GB of free space at the end. When installing Ubuntu, I use the "Guided... contiguous free space" option. Ubuntu installs without any errors and I can boot into it without any problems, but I can't boot XP. I keep getting an error saying "Windows could not start because the following file is missing or corrupt: <Windows root>\system32\ntoskrnl.exe. Please re-install a copy of the above file."
Fdisk -l:
Disk /dev/sda: 160.0 GB, 160041885696 bytes
255 heads, 63 sectors/track, 19457 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x5193c75f
Device Boot Start End Blocks Id System
/dev/sda1 * 1 14357 115322571 7 HPFS/NTFS
/dev/sda2 14358 19214 39013852+ 83 Linux
/dev/sda3 19215 19457 1951897+ 82 Linux swap / Solaris
Disk /dev/sdb: 203.9 GB, 203928109056 bytes
255 heads, 63 sectors/track, 24792 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x0dd1e688
Device Boot Start End Blocks Id System
/dev/sdb1 * 1 24792 199141708+ 7 HPFS/NTFS
---------------------------------------------------------------------
---------------------------------------------------------------------
Menu.lst:
title Ubuntu 8.04, kernel 2.6.24-16-generic
root (hd0,1)
kernel /boot/vmlinuz-2.6.24-16-generic root=UUID=81688f3b-21bd-4b4e-8df9-7859f3c8baa2 ro quiet splash
initrd /boot/initrd.img-2.6.24-16-generic
quiet
title Ubuntu 8.04, kernel 2.6.24-16-generic (recovery mode)
root (hd0,1)
kernel /boot/vmlinuz-2.6.24-16-generic root=UUID=81688f3b-21bd-4b4e-8df9-7859f3c8baa2 ro single
initrd /boot/initrd.img-2.6.24-16-generic
title Ubuntu 8.04, memtest86+
root (hd0,1)
kernel /boot/memtest86+.bin
quiet
### END DEBIAN AUTOMAGIC KERNELS LIST
# This is a divider, added to separate the menu items below from the Debian
# ones.
title Other operating systems:
root
# This entry automatically added by the Debian installer for a non-linux OS
# on /dev/sda1
title Microsoft Windows XP Professional
root (hd0,0)
savedefault
makeactive
chainloader +1
--------------------------------------------------------------------
--------------------------------------------------------------------
Boot.ini:
[boot loader]
timeout=30
default=multi(0)disk(0)rdisk(0)partition(1)\WINDOW S
[operating systems]
multi(0)disk(0)rdisk(0)partition(1)\WINDOWS="Microsoft Windows XP Professional" /noexecute=optin /fastdetect
I need XP for a few essential applications, otherwise I'd make a complete switch. Please, can someone help?
I've got one HD with XP on it. It has only one partition, occupied by XP. I used PartitionMagic to resize this partition, leaving 40GB of free space at the end. When installing Ubuntu, I use the "Guided... contiguous free space" option. Ubuntu installs without any errors and I can boot into it without any problems, but I can't boot XP. I keep getting an error saying "Windows could not start because the following file is missing or corrupt: <Windows root>\system32\ntoskrnl.exe. Please re-install a copy of the above file."
Fdisk -l:
Disk /dev/sda: 160.0 GB, 160041885696 bytes
255 heads, 63 sectors/track, 19457 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x5193c75f
Device Boot Start End Blocks Id System
/dev/sda1 * 1 14357 115322571 7 HPFS/NTFS
/dev/sda2 14358 19214 39013852+ 83 Linux
/dev/sda3 19215 19457 1951897+ 82 Linux swap / Solaris
Disk /dev/sdb: 203.9 GB, 203928109056 bytes
255 heads, 63 sectors/track, 24792 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x0dd1e688
Device Boot Start End Blocks Id System
/dev/sdb1 * 1 24792 199141708+ 7 HPFS/NTFS
---------------------------------------------------------------------
---------------------------------------------------------------------
Menu.lst:
title Ubuntu 8.04, kernel 2.6.24-16-generic
root (hd0,1)
kernel /boot/vmlinuz-2.6.24-16-generic root=UUID=81688f3b-21bd-4b4e-8df9-7859f3c8baa2 ro quiet splash
initrd /boot/initrd.img-2.6.24-16-generic
quiet
title Ubuntu 8.04, kernel 2.6.24-16-generic (recovery mode)
root (hd0,1)
kernel /boot/vmlinuz-2.6.24-16-generic root=UUID=81688f3b-21bd-4b4e-8df9-7859f3c8baa2 ro single
initrd /boot/initrd.img-2.6.24-16-generic
title Ubuntu 8.04, memtest86+
root (hd0,1)
kernel /boot/memtest86+.bin
quiet
### END DEBIAN AUTOMAGIC KERNELS LIST
# This is a divider, added to separate the menu items below from the Debian
# ones.
title Other operating systems:
root
# This entry automatically added by the Debian installer for a non-linux OS
# on /dev/sda1
title Microsoft Windows XP Professional
root (hd0,0)
savedefault
makeactive
chainloader +1
--------------------------------------------------------------------
--------------------------------------------------------------------
Boot.ini:
[boot loader]
timeout=30
default=multi(0)disk(0)rdisk(0)partition(1)\WINDOW S
[operating systems]
multi(0)disk(0)rdisk(0)partition(1)\WINDOWS="Microsoft Windows XP Professional" /noexecute=optin /fastdetect
I need XP for a few essential applications, otherwise I'd make a complete switch. Please, can someone help?