Find the answer to your Linux question:
Results 1 to 3 of 3
Hey guys, I have 3 hard drives. One is 320GB and contains Windows Vista in one 120GB partition and a NTFS data partition (180GB). The second hard drive contains one ...
  1. #1
    Just Joined!
    Join Date
    Jun 2009
    Posts
    1

    Multi Boot Issues

    Hey guys,

    I have 3 hard drives. One is 320GB and contains Windows Vista in one 120GB partition and a NTFS data partition (180GB). The second hard drive contains one HFS+ partition which holds Mac OS X 86 (the size is 120GB). The third hard drive is 750GB and contains one partition which holds Ubuntu and a swap partition. I can successfully boot into Ubuntu, but can't boot into Windows. Note that booting into Mac gives me a HFS+ partition error so this is probably not for this forum but this is probably not a grub issue. So the main problem is bot being able to boot into Vista. Here is my fdisk -lu:

    Disk /dev/sda: 320.0 GB, 320072933376 bytes
    255 heads, 63 sectors/track, 38913 cylinders, total 625142448 sectors
    Units = sectors of 1 * 512 = 512 bytes
    Disk identifier: 0xdc97c70c

    Device Boot Start End Blocks Id System
    /dev/sda1 * 16065 245762369 122873152+ f W95 Ext'd (LBA)
    /dev/sda2 245762370 625137344 189687487+ 7 HPFS/NTFS
    /dev/sda5 16128 245762369 122873121 7 HPFS/NTFS

    Disk /dev/sdb: 750.1 GB, 750156374016 bytes
    255 heads, 63 sectors/track, 91201 cylinders, total 1465149168 sectors
    Units = sectors of 1 * 512 = 512 bytes
    Disk identifier: 0x2d689089

    Device Boot Start End Blocks Id System
    /dev/sdb1 * 63 1443874004 721936971 83 Linux
    /dev/sdb2 1443874005 1465144064 10635030 5 Extended
    /dev/sdb5 1443874068 1465144064 10634998+ 82 Linux swap / Solaris

    Disk /dev/sdc: 120.0 GB, 120034123776 bytes
    255 heads, 63 sectors/track, 14593 cylinders, total 234441648 sectors
    Units = sectors of 1 * 512 = 512 bytes
    Disk identifier: 0x173fe8c6

    Device Boot Start End Blocks Id System
    /dev/sdc1 * 63 234436544 117218241 af Unknown

    ##note: /dev/sda5 is the windows installation partition

    Here is my menu.lst (I took off the comments):

    default 0
    timeout 10

    title Ubuntu 8.04.1, kernel 2.6.24-19-generic
    root (hd0,0)
    kernel /boot/vmlinuz-2.6.24-19-generic root=UUID=0ef437f2-7e6e-4cbb-9755-e6128bf56611 ro quiet splash
    initrd /boot/initrd.img-2.6.24-19-generic
    quiet

    title Ubuntu 8.04.1, kernel 2.6.24-19-generic (recovery mode)
    root (hd0,0)
    kernel /boot/vmlinuz-2.6.24-19-generic root=UUID=0ef437f2-7e6e-4cbb-9755-e6128bf56611 ro single
    initrd /boot/initrd.img-2.6.24-19-generic

    title Ubuntu 8.04.1, memtest86+
    root (hd0,0)
    kernel /boot/memtest86+.bin
    quiet

    ### END DEBIAN AUTOMAGIC KERNELS LIST

    title Mac OS X
    root (hd2,0)
    savedefault
    makeactive
    chainloader +1

    The rest of the menu.lst is the VIsta part. I tried all the following combinations:

    title Windows Vista
    rootnoverify (hd0,0)
    map (hd0) (hd1)
    map (hd1) (hd0)
    savedefault
    makeactive
    chainloader +1

    and got grub's Error 13

    tried:

    title Windows Vista
    rootnoverify (hd1,4)
    map (hd0) (hd1)
    map (hd1) (hd0)
    savedefault
    makeactive
    chainloader +1

    and got grub's Error 13

    tried:

    title Windows Vista
    rootnoverify (hd1,0)
    map (hd0) (hd1)
    map (hd1) (hd0)
    savedefault
    makeactive
    chainloader +1

    and got grub's Error 12

    tried:

    title Windows Vista
    root (hd1,4)
    savedefault
    makeactive
    chainloader +1

    and got grub's Error 12

    tried:

    title Windows Vista
    root (hd1,0)
    savedefault
    makeactive
    chainloader +1

    and got grub's Error 12

    tried:

    title Windows Vista
    root (hd0,0)
    savedefault
    makeactive
    chainloader +1

    and got grub's Error 13.

    Anyone has a clue on this?

    Thanks!

  2. #2
    Linux User
    Join Date
    May 2009
    Location
    Big River, Sask, Canada
    Posts
    342
    Here is explanation from Grub manual for stage 2 boot errors:
    13 : Invalid or unsupported executable format
    This error is returned if the kernel image being loaded is not recognized as Multiboot or one of the supported native formats (Linux zImage or bzImage, FreeBSD, or NetBSD).
    14 : Filesystem compatibility error, cannot read whole file
    In case it is earlier stage error:
    Here is link to Grub Manual
    GRUB Manual - Error messages reported by GRUB
    Registered Linux User #420832

  3. #3
    Linux Guru Jonathan183's Avatar
    Join Date
    Oct 2007
    Posts
    2,941
    You may find Vista will not boot of a logical partition. If you disconnect all other drives from the system except the one containing Vista does Vista boot?

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
...