Yet another vista/grub problem

Hello

I read in a Linux special magazine that dual booting vista/opensuse was an easy task if you installed vista first then suse, but it looks like i’m not the lucky one.

In the grub menu I have Suse,failsafe,windows 1, windows 2, etc etc
none of the windows will let me boot vista, and the fields next to windows are totally blank, i’m not sure if there should be any commands here or not. The only ones that have commands is the suse and failsafe one.

Both the systems is installed on 2 hdds in raid0 (kudos to opensuse to make it very easy to install on raid0)

The disk has 6 partitions now i think, 1 for windows install, 1 for other stuff in windows, and 4 to root/swap/home/boot.

Any help is welcome, thank you.

works for me, but I don’t have raid.

Post the full contents of your file:
/boot/grub/menu.lst

oh, and post the full version/edition of Vista that you have.

Modified by YaST2. Last modification on Wed Aug 13 22:53:14 UTC 2008

default 0
timeout 8
gfxmenu (hd0,4)/message

###Don’t change this comment - YaST2 identifier: Original name: linux###
title openSUSE 11.0 - 2.6.25.5-1.1
root (hd0,4)
kernel /vmlinuz-2.6.25.5-1.1-pae root=/dev/mapper/sil_aiaibjabfhah_part7 resume=/dev/mapper/sil_aiaibjabfhah_part6 splash=silent showopts vga=0x317
initrd /initrd-2.6.25.5-1.1-pae

###Don’t change this comment - YaST2 identifier: Original name: failsafe###
title Failsafe – openSUSE 11.0 - 2.6.25.5-1.1
root (hd0,4)
kernel /vmlinuz-2.6.25.5-1.1-pae root=/dev/mapper/sil_aiaibjabfhah_part7 showopts ide=nodma apm=off acpi=off noresume nosmp noapic maxcpus=0 edd=off x11failsafe vga=0x317
initrd /initrd-2.6.25.5-1.1-pae

###Don’t change this comment - YaST2 identifier: Original name: windows 1###
title windows 1
rootnoverify (hd0,4)
chainloader (hd0,1)+1

###Don’t change this comment - YaST2 identifier: Original name: windows 2###
title windows 2
rootnoverify (hd0,4)
chainloader (hd0,2)+1

###Don’t change this comment - YaST2 identifier: Original name: Linux other###
title Linux other
rootnoverify (hd0,4)
chainloader (hd0,0)+1

###Don’t change this comment - YaST2 identifier: Original name: floppy###
title Floppy
rootnoverify (hd0,4)
chainloader (fd0)+1

And fdisk -l

Warning: ignoring extra data in partition table 6
Warning: ignoring extra data in partition table 6
Warning: ignoring extra data in partition table 6
Warning: invalid flag 0xae6d of partition table 6 will be corrected by w(rite)

Disk /dev/sda: 74.3 GB, 74355769344 bytes
255 heads, 63 sectors/track, 9039 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x06c763ae

Device Boot Start End Blocks Id System
/dev/sda1 1 1529 12281661 f W95 Ext’d (LBA)
/dev/sda2 1530 13004 92160000 7 HPFS/NTFS
/dev/sda3 * 13004 18080 40772608 7 HPFS/NTFS
/dev/sda5 1 9 72229+ 83 Linux
/dev/sda6 ? 118170 164477 371959223 3f Unknown

Disk /dev/sdb: 74.3 GB, 74355769344 bytes
255 heads, 63 sectors/track, 9039 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x00000000

Disk /dev/sdb doesn’t contain a valid partition table

Disk /dev/dm-0: 148.7 GB, 148707999744 bytes
255 heads, 63 sectors/track, 18079 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x06c763ae

 Device Boot      Start         End      Blocks   Id  System

/dev/dm-0p1 1 1529 12281661 f W95 Ext’d (LBA)
/dev/dm-0p2 1530 13004 92160000 7 HPFS/NTFS
/dev/dm-0p3 * 13004 18080 40772608 7 HPFS/NTFS
/dev/dm-0p5 1 9 72229+ 83 Linux
/dev/dm-0p6 10 271 2104483+ 82 Linux swap / Solaris
/dev/dm-0p7 272 924 5245191 83 Linux
/dev/dm-0p8 925 1529 4859631 83 Linux
omitting empty partition (6)

Disk /dev/dm-1: 12.5 GB, 12576420864 bytes
255 heads, 63 sectors/track, 1528 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x00000000

 Device Boot      Start         End      Blocks   Id  System

/dev/dm-1p1 1 9 72229+ 83 Linux
/dev/dm-1p2 9 271 2104515 5 Extended
/dev/dm-1p5 10 271 2104483+ 82 Linux swap / Solaris

Disk /dev/dm-2: 94.3 GB, 94371840000 bytes
255 heads, 63 sectors/track, 11473 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x2052474d

This doesn’t look like a partition table
Probably you selected the wrong device.

 Device Boot      Start         End      Blocks   Id  System

/dev/dm-2p1 ? 410 119791 958924038+ 70 DiskSecure Multi-Boot
Partition 1 does not end on cylinder boundary.
/dev/dm-2p2 ? 121585 234786 909287957+ 43 Unknown
Partition 2 does not end on cylinder boundary.
/dev/dm-2p3 ? 14052 14052 5 72 Unknown
Partition 3 does not end on cylinder boundary.
/dev/dm-2p4 164483 164486 25945 0 Empty
Partition 4 does not end on cylinder boundary.

Partition table entries are not in disk order

Disk /dev/dm-3: 41.7 GB, 41751150592 bytes
255 heads, 63 sectors/track, 5075 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x2052474d

This doesn’t look like a partition table
Probably you selected the wrong device.

 Device Boot      Start         End      Blocks   Id  System

/dev/dm-3p1 ? 410 119791 958924038+ 70 DiskSecure Multi-Boot
Partition 1 does not end on cylinder boundary.
/dev/dm-3p2 ? 121585 234786 909287957+ 43 Unknown
Partition 2 does not end on cylinder boundary.
/dev/dm-3p3 ? 14052 14052 5 72 Unknown
Partition 3 does not end on cylinder boundary.
/dev/dm-3p4 164483 164486 25945 0 Empty
Partition 4 does not end on cylinder boundary.

Partition table entries are not in disk order

Disk /dev/dm-4: 73 MB, 73963008 bytes
255 heads, 63 sectors/track, 8 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x00000000

Disk /dev/dm-4 doesn’t contain a valid partition table

Disk /dev/dm-5: 2154 MB, 2154991104 bytes
255 heads, 63 sectors/track, 261 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x00000000

Disk /dev/dm-5 doesn’t contain a valid partition table

Disk /dev/dm-6: 5371 MB, 5371075584 bytes
255 heads, 63 sectors/track, 652 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x00000000

Disk /dev/dm-6 doesn’t contain a valid partition table

Disk /dev/dm-7: 4976 MB, 4976262144 bytes
255 heads, 63 sectors/track, 604 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x00000000

Disk /dev/dm-7 doesn’t contain a valid partition table

And i use vista ultimate x64, with sp1

It’s the windows 1
change this:

rootnoverify (hd0,4)
chainloader (hd0,1)+1

to this:

rootnoverify (hd0,1)
chainloader (hd0,1)+1

and try that – but the existence of an extended partition sda1 from the get go holding every partition as logical partitions, even the vista ones, is puzzling. See how it goes.

Correction – can you think of any reason why the second NTFS partition is the active partition, which ios most unusual – which NTFS partition contains the original vista installation?

Device Boot Start End Blocks Id System
/dev/sda1 1 1529 12281661 f W95 Ext’d (LBA) Linux install
/dev/sda2 1530 13004 92160000 7 HPFS/NTFS Free space
/dev/sda3 * 13004 18080 40772608 7 HPFS/NTFS Vista install
/dev/sda5 1 9 72229+ 83 Linux
/dev/sda6 ? 118170 164477 371959223 3f Unknown

At first i had 3 partitions 40gb 90gb and 12gb, the 12 one for linux install, but i think that one got changed to 4,5,2gb and 80mb after format

I got the “BOOTMGR missing” after

rootnoverify (hd0,1)
chainloader (hd0,1)+1

There’s a clue in the asterisk and your statement that vista was installed on sda3 – I wrongly assumed it was on sda2: so now change the second one (which is for sda3) to this:

###Don’t change this comment - YaST2 identifier: Original name: windows 2###
title windows 2
rootnoverify (hd0,2)
chainloader (hd0,2)+1

Because “bootmgr” is put on the vista install partition.

Hey it worked, thanks alot for the help.

One more thing tho, you think i can change /boot/grub/menu.lst to look like this?

Modified by YaST2. Last modification on Wed Aug 13 22:53:14 UTC 2008

default 0
timeout 8
gfxmenu (hd0,4)/message

###Don’t change this comment - YaST2 identifier: Original name: linux###
title openSUSE 11.0
root (hd0,4)
kernel /vmlinuz-2.6.25.5-1.1-pae root=/dev/mapper/sil_aiaibjabfhah_part7 resume=/dev/mapper/sil_aiaibjabfhah_part6 splash=silent showopts vga=0x317
initrd /initrd-2.6.25.5-1.1-pae

###Don’t change this comment - YaST2 identifier: Original name: failsafe###
title Failsafe – openSUSE 11.0
root (hd0,4)
kernel /vmlinuz-2.6.25.5-1.1-pae root=/dev/mapper/sil_aiaibjabfhah_part7 showopts ide=nodma apm=off acpi=off noresume nosmp noapic maxcpus=0 edd=off x11failsafe vga=0x317
initrd /initrd-2.6.25.5-1.1-pae

###Don’t change this comment - YaST2 identifier: Original name: windows 2###
title Windows Vista
rootnoverify (hd0,2)
chainloader (hd0,2)+1

Of course you can – but this is better

Modified by YaST2. Last modification on Wed Aug 13 22:53:14 UTC 2008

default 0
timeout 8
gfxmenu (hd0,4)/message

###Don’t change this comment - YaST2 identifier: Original name: linux###
title openSUSE 11.0
root (hd0,4)
kernel /vmlinuz-2.6.25.5-1.1-pae root=/dev/mapper/sil_aiaibjabfhah_part7 resume=/dev/mapper/sil_aiaibjabfhah_part6 splash=silent showopts vga=0x317
initrd /initrd-2.6.25.5-1.1-pae

###Don’t change this comment - YaST2 identifier: Original name: failsafe###
title Failsafe – openSUSE 11.0
root (hd0,4)
kernel /vmlinuz-2.6.25.5-1.1-pae root=/dev/mapper/sil_aiaibjabfhah_part7 showopts ide=nodma apm=off acpi=off noresume nosmp noapic maxcpus=0 edd=off x11failsafe vga=0x317
initrd /initrd-2.6.25.5-1.1-pae

###Don’t change this comment - YaST2 identifier: Original name: windows 2###
title Temporary Abberation rotfl!
rootnoverify (hd0,2)
chainloader (hd0,2)+1

Will we be creating a comedian’s sub-forum? lol!

hahahahah I will actually keep that one=)

Now my next project will be to get destop effects/compiz to work. Seem to be alot of problems tho, but maybe I get lucky this time hehe.

Thanks again for the help.