I installed Opensuse 11.3 on a separate partition to vista on my Acer 5115. It runs fine but the GRUB boot loader failed to show the Vista OS. I tried to add it by editing menu.lst so it contained:
title Windows Vista
root (hd0,x)
savedefault
makeactive
chainloader +1
With x changed from 0 to 4 (although it should be 4).
I ran a boot_info_script to see what was going on, the results were:
Boot Info Script 0.55 dated February 15th, 2010
============================= Boot Info Summary: ==============================
=> Grub 0.97 is installed in the MBR of /dev/sda and looks on the same drive
in partition #4 for /boot/grub/stage2 and /boot/grub/menu.lst.
sda1: _________________________________________________________________________
File system: ntfs
Boot sector type: Windows Vista/7
Boot sector info: No errors found in the Boot Parameter Block.
Operating System:
Boot files/dirs: /bootmgr /Boot/BCD /ntldr /ntdetect.com
sda2: _________________________________________________________________________
File system: Extended Partition
Boot sector type: Windows Vista/7
Boot sector info:
sda5: _________________________________________________________________________
File system: ntfs
Boot sector type: Windows Vista/7
Boot sector info: According to the info in the boot sector, sda5 starts
at sector 63.
Operating System: Windows Vista
Boot files/dirs: /Windows/System32/winload.exe
sda3: _________________________________________________________________________
File system: swap
Boot sector type: -
Boot sector info:
sda4: _________________________________________________________________________
File system: ext4
Boot sector type: Grub
Boot sector info: Grub 0.97 is installed in the boot sector of sda4 and
looks at sector 245776496 of the same hard drive for
the stage2 file. A stage2 file is at this location on
/dev/sda. Stage2 looks on partition #4 for
/boot/grub/menu.lst.
Operating System: Welcome to openSUSE 11.3 "Teal"
- Kernel ().
Boot files/dirs: /boot/grub/menu.lst /etc/fstab
=========================== Drive/Partition Info: =============================
Drive: sda ___________________ _____________________________________________________
Disk /dev/sda: 160.0 GB, 160041885696 bytes
255 heads, 63 sectors/track, 19457 cylinders, total 312581808 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
Partition Boot Start End Size Id System
/dev/sda1 63 18,426,554 18,426,492 27 Hidden HPFS/NTFS
/dev/sda2 18,426,555 165,806,864 147,380,310 f W95 Ext d (LBA)
/dev/sda5 18,426,618 165,806,864 147,380,247 7 HPFS/NTFS
/dev/sda3 165,808,128 170,016,767 4,208,640 82 Linux swap / Solaris
/dev/sda4 * 170,016,768 312,561,663 142,544,896 83 Linux
blkid -c /dev/null: ____________________________________________________________
Device UUID TYPE LABEL
/dev/sda1 147C11B916D9B5D2 ntfs PQSERVICE
/dev/sda2: PTTYPE="dos"
/dev/sda3 c30956a0-f20b-4d43-b2d7-d0d7e6da1849 swap
/dev/sda4 2c497a66-eb96-42b3-a4f4-e150ab759575 ext4
/dev/sda5 16C0B0EBC0B0D1EB ntfs
/dev/sda: PTTYPE="dos"
============================ "mount | grep ^/dev output: ===========================
Device Mount_Point Type Options
/dev/sda4 / ext4 (rw,acl,user_xattr)
/dev/sda5 /windows/C fuseblk (rw,noexec,nosuid,nodev,allow_other,blksize=4096,default_permissions)
=========================== sda4/boot/grub/menu.lst: ===========================
# Modified by YaST2. Last modification on Sat Jan 22 01:46:03 GMT 2011
# THIS FILE WILL BE PARTIALLY OVERWRITTEN by perl-Bootloader
# Configure custom boot parameters for updated kernels in /etc/sysconfig/bootloader
default 0
timeout 8
gfxmenu (hd0,3)/boot/message
##YaST - activate
title Windows Vista
root (hd0,4)
savedefault
makeactive
chainloader +1
###Don't change this comment - YaST2 identifier: Original name: linux###
title openSUSE 11.3
root (hd0,3)
kernel /boot/vmlinuz-2.6.34-12-desktop root=/dev/disk/by-id/ata-WDC_WD1600BEVS-22RST0_WD-WXE207A82624-part4 resume=/dev/disk/by-id/ata-WDC_WD1600BEVS-22RST0_WD-WXE207A82624-part3 splash=silent quiet showopts vga=0x317
initrd /boot/initrd-2.6.34-12-desktop
###Don't change this comment - YaST2 identifier: Original name: failsafe###
title Failsafe -- openSUSE 11.3
root (hd0,3)
kernel /boot/vmlinuz-2.6.34-12-desktop root=/dev/disk/by-id/ata-WDC_WD1600BEVS-22RST0_WD-WXE207A82624-part4 showopts apm=off noresume nosmp maxcpus=0 edd=off powersaved=off nohz=off highres=off processor.max_cstate=1 nomodeset x11failsafe vga=0x317
initrd /boot/initrd-2.6.34-12-desktop
###Don't change this comment - YaST2 identifier: Original name: linux###
title Kernel-2.6.34-12-desktop
root (hd0,3)
kernel /boot/vmlinuz-2.6.34-12-desktop root=/dev/disk/by-id/ata-WDC_WD1600BEVS-22RST0_WD-WXE207A82624-part4 resume=/dev/disk/by-id/ata-WDC_WD1600BEVS-22RST0_WD-WXE207A82624-part3 splash=silent quiet showopts vga=0x317
initrd /boot/initrd-2.6.34-12-desktop
=============================== sda4/etc/fstab: ===============================
/dev/disk/by-id/ata-WDC_WD1600BEVS-22RST0_WD-WXE207A82624-part3 swap swap defaults 0 0
/dev/disk/by-id/ata-WDC_WD1600BEVS-22RST0_WD-WXE207A82624-part4 / ext4 acl,user_xattr 1 1
/dev/disk/by-id/ata-WDC_WD1600BEVS-22RST0_WD-WXE207A82624-part5 /windows/C ntfs-3g users,gid=users,fmask=133,dmask=022,locale=en_GB.UTF-8 0 0
proc /proc proc defaults 0 0
sysfs /sys sysfs noauto 0 0
debugfs /sys/kernel/debug debugfs noauto 0 0
usbfs /proc/bus/usb usbfs noauto 0 0
devpts /dev/pts devpts mode=0620,gid=5 0 0
=================== sda4: Location of files loaded by Grub: ===================
115.1GB: boot/grub/menu.lst
125.8GB: boot/grub/stage2
87.3GB: boot/initrd
87.3GB: boot/initrd-2.6.34-12-desktop
125.8GB: boot/vmlinuz
125.8GB: boot/vmlinuz-2.6.34-12-desktop
=============================== StdErr Messages: ===============================
No volume groups found
mdadm: No arrays found in config file or automatically
As far as I can see (and I don’t have much experience with these things) the Vista OS is there, on sda5, but doesn’t boot correctly because the winload.exe is in the wrong directory. Why the sdax numbers are all rearranged is a mystery too, but I have reinstalled vista several times so that could be why.
I don’t have a vista recovery cd (wasn’t given one), is there any way to fix this within opensuse (which works fine)?
Thanks