Lost Windows Boot After Repairing OpenSuSe

Hi I Installed Windows 7 and ended up losing OpenSuSe BootLoader…

So I used the Repair System option on OpenSuSe 11.1 Installation Disk, which bought back the Boot Loader but With No Windows on it?? How do I Access Windows Now??

I just Hope It has not done anything to the Windows Partition coz when i used Automatic Repair it asked if i wanted to use the swap file which i have not got a clue about i clicked yess anyways LOL

Hello Rudurk, welcome to the forum. There is some interesting reading about dual boot with vista here: Fixing vista multiboot with openSUSE - openSUSE Forums.
I have not yet tried the upgrade to “W7” and it might be different.

For the time please show what’s in /boot/grub/menu.lst and the result of fdisk -l (run as root). Chances are that you have to tweak menu.lst manually to get it running again.

Rudurk, i guess this is the first of MANY Win7 and openSUSE conflicts…

we went through the same kind of thing when Vista came
out…apparently M$ had accidentally [wink wink] done something that
made it real difficult to dual boot *

until someone who has done it (dual booted openSUSE and Win7) answers
i’d suggest you sit on your hands (or risk destroying your M$ install)…

except, do this as i guess the real guru will need to see it: from
openSUSE, open a terminal and type/paste this:

sudo cat /boot/grub/menu.lst

(that is a lower case L in .lst) and then paste the results back to
here…)


palladium
*

There it is…

sudo cat /boot/grub/menu.lst

Rudu@linux-m08o:~> sudo cat /boot/grub/menu.lst
root’s password:

Modified by YaST2. Last modification on Mon Oct 26 08:09:21 GMT 2009

default 0
timeout 8
gfxmenu (hd0,5)/boot/message
##YaST - activate

###Don’t change this comment - YaST2 identifier: Original name: linux###
title SUSE LINUX
root (hd0,5)
kernel /boot/vmlinuz root=/dev/disk/by-id/ata-WDC_WD3200BEVT-75ZCT1_WD-WXH308920927-part6 repair=1 resume=/dev/disk/by-id/ata-WDC_WD3200BEVT-75ZCT1_WD-WXH308920927-part5 splash=silent showopts vga=0x317
initrd /boot/initrd

###Don’t change this comment - YaST2 identifier: Original name: failsafe###
title Failsafe – SUSE LINUX
root (hd0,5)
kernel /boot/vmlinuz root=/dev/disk/by-id/ata-WDC_WD3200BEVT-75ZCT1_WD-WXH308920927-part6 showopts ide=nodma apm=off noresume nosmp maxcpus=0 edd=off powersaved=off nohz=off highres=off processor.max_cstate=1 x11failsafe vga=0x317
initrd /boot/initrd
Rudu@linux-m08o:~>

**** Microsoft Bleh… Good thing I guess I got 2 days to finish my coursework on linux ajax LOL I guess having no windows at all willl make me do non stop work LOL

Here it is

fdisk -l

linux-m08o:/home/Rudu # fdisk -l

Disk /dev/sda: 320.0 GB, 320072933376 bytes
255 heads, 63 sectors/track, 38913 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0xe8000000

Device Boot Start End Blocks Id System
/dev/sda1 1 22 176683+ de Dell Utility
/dev/sda2 23 1327 10481975+ 7 HPFS/NTFS
/dev/sda3 1328 29766 228431459 7 HPFS/NTFS
/dev/sda4 * 29767 38913 73473277+ f W95 Ext’d (LBA)
/dev/sda5 29767 30028 2104483+ 82 Linux swap / Solaris
/dev/sda6 30029 32639 20972826 83 Linux
/dev/sda7 32640 38913 50395873+ 83 Linux
linux-m08o:/home/Rudu #

I’m not sure whether the bootloader lodged in sda1 or sda2 so the windows entry will be either like this:


###Don't change this comment - YaST2 identifier: Original name: Windows 7###
title Windows 7
rootnoverify (hd0,1)
chainloader (hd0,1)+1 

or like this:


###Don't change this comment - YaST2 identifier: Original name: Windows 7###
title Windows 7
rootnoverify (hd0,0)
chainloader (hd0,0)+1 

So edit in the first, see if it works, if not, change it to the second.
one of them should work.

To edit the file, open it with this in KDE:

kdesu kwrite /boot/grub/menu.lst

or this in Gnome:

gnomesu gedit /boot/grub/menu.lst

Just in case you’re wondering where:

# Modified by YaST2. Last modification on Mon Oct 26 08:09:21 GMT 2009
default 0
timeout 8
gfxmenu (hd0,5)/boot/message
##YaST - activate

###Don't change this comment - YaST2 identifier: Original name: linux###
title SUSE LINUX
root (hd0,5)
kernel /boot/vmlinuz root=/dev/disk/by-id/ata-WDC_WD3200BEVT-75ZCT1_WD-WXH308920927-part6 repair=1 resume=/dev/disk/by-id/ata-WDC_WD3200BEVT-75ZCT1_WD-WXH308920927-part5 splash=silent showopts vga=0x317
initrd /boot/initrd

###Don't change this comment - YaST2 identifier: Original name: Windows 7###
title Windows 7
rootnoverify (hd0,1)
chainloader (hd0,1)+1

###Don't change this comment - YaST2 identifier: Original name: failsafe###
title Failsafe -- SUSE LINUX
root (hd0,5)
kernel /boot/vmlinuz root=/dev/disk/by-id/ata-WDC_WD3200BEVT-75ZCT1_WD-WXH308920927-part6 showopts ide=nodma apm=off noresume nosmp maxcpus=0 edd=off powersaved=off nohz=off highres=off processor.max_cstate=1 x11failsafe vga=0x317
initrd /boot/initrd

Right This is What I tried

Gnome:

gnomesu gedit /boot/grub/menu.lst

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

The other ones don’t work the thing above takes me to Dells System Test Not Windows hmmm… Maybe its on sda3? This is a Dell Laptop… So it could be different I dunno I dun wanna try any stuff on my own unless someone tells me LOL am scared I might lose my other Coursework on Windows

Tried This:

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

Well its working now posting this message from Windows 7… Thank You very for all your help.

Well done – I assumed sda3 was a data partition, silly me

> posting this message from Windows 7

my condolences…but, happy you got it ‘fixed’!

you may send Redmond a thank you for their attempted interference…


palladium