Error # 13 When booting to XP in Grub

Craig White craigwhite at azapple.com
Mon May 25 21:04:32 MST 2009


On Mon, 2009-05-25 at 22:54 -0500, Mike Hoy wrote:
> I just installed Ubuntu on this laptop and when I first looked for XP
> in the grub menu list it wasn't there. I googled it and the web page
> said to add the following:
> 
> title Microsoft Windows XP Professional
> root (hd0,1)
> savedefault
> makeactive
> chainloader +1
> 
> I get Error # 13 "Invalid or unsupported executable format" Now that
> I've added those lines.
> 
> Question: Does it matter where I add it at? I added it before:
> ### END DEBIAN AUTOMAGIC KERNELS LIST
> 
> Also here is my fdisk info:
> Disk /dev/sda: 60.0 GB, 60011642880 bytes
> 255 heads, 63 sectors/track, 7296 cylinders
> Units = cylinders of 16065 * 512 = 8225280 bytes
> Disk identifier: 0x321d321c
> 
>    Device Boot      Start         End      Blocks   Id  System
> /dev/sda1               2        3071    24659775    f  W95 Ext'd
> (LBA)
> /dev/sda2   *        3072        3320     2000092+  82  Linux swap /
> Solaris
> /dev/sda3            3321        7296    31937220   83  Linux
> /dev/sda5               2        3071    24659743+   7  HPFS/NTFS
> 
> 
> I added the fdisk info because on one forum it was asked for and never
> provided.
> 
> Thanks for any help. 
----
I will look at my laptop later but the thing that sticks out
immediately...

title Microsoft Windows XP Professional
root (hd0,1)
savedefault
makeactive
chainloader +1

should be 'root (hd0,6)' because your Windows partition is in /dev/sda5

Craig


-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.



More information about the PLUG-discuss mailing list