crash91
October 30th, 2008, 11:14 AM
For a while now I've had Vista+XP dual booting, I decided to format the XP partition and replace with Ubuntu.
Grub automatically added an entry for "Windows XP embedded", this is the media direct partition on my dell, it did not detect vista.
fdisk -l output:
Disk /dev/sda: 118.5 GB, 118526284800 bytes
255 heads, 63 sectors/track, 14410 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x00000080
Device Boot Start End Blocks Id System
/dev/sda1 * 1 6 48163+ de Dell Utility
/dev/sda3 7 14409 115692097+ f W95 Ext'd (LBA)
/dev/sda5 3271 10883 61151391 7 HPFS/NTFS *Documents Partition
/dev/sda6 14148 14409 2104483+ dd Unknown
/dev/sda7 10884 14147 26218048+ 7 HPFS/NTFS *Vista Partition
/dev/sda8 3146 3270 1003999+ 82 Linux swap / Solaris
/dev/sda9 7 3145 25213954+ 83 Linux
What do I need to edit my menu.lst to so it boots Vista?
(hd0,5) was the one for /dev/sda6 so (hd0,6) would be vista, when I try to edit that at boot time it give me the error:
error 12 - Invalid device requested
menu.lst part:
# This entry automatically added by the Debian installer for a non-linux OS
# on /dev/sda6
title Microsoft Windows XP Embedded
root (hd0,5)
savedefault
makeactive
chainloader +1
Grub automatically added an entry for "Windows XP embedded", this is the media direct partition on my dell, it did not detect vista.
fdisk -l output:
Disk /dev/sda: 118.5 GB, 118526284800 bytes
255 heads, 63 sectors/track, 14410 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x00000080
Device Boot Start End Blocks Id System
/dev/sda1 * 1 6 48163+ de Dell Utility
/dev/sda3 7 14409 115692097+ f W95 Ext'd (LBA)
/dev/sda5 3271 10883 61151391 7 HPFS/NTFS *Documents Partition
/dev/sda6 14148 14409 2104483+ dd Unknown
/dev/sda7 10884 14147 26218048+ 7 HPFS/NTFS *Vista Partition
/dev/sda8 3146 3270 1003999+ 82 Linux swap / Solaris
/dev/sda9 7 3145 25213954+ 83 Linux
What do I need to edit my menu.lst to so it boots Vista?
(hd0,5) was the one for /dev/sda6 so (hd0,6) would be vista, when I try to edit that at boot time it give me the error:
error 12 - Invalid device requested
menu.lst part:
# This entry automatically added by the Debian installer for a non-linux OS
# on /dev/sda6
title Microsoft Windows XP Embedded
root (hd0,5)
savedefault
makeactive
chainloader +1