My Windows Partition is no longer in the bootlader

Need help adding my Windows vista partition back to the grub bootleader.
My upgrade to opensuse 11.1 seemed to work without a problem.
It was to good to be true.
After a reboot i could not longer boot anything.
did a repair with the install disk.
after repair Linux worked again.
It removed windows vista from the boot loader.
Although Windows partition still seems to be mounted.
need help adding it back to grub boot loader.
using kde 4.1

help appreciated,

Bill>:(

bperrotta wrote:

>
> Need help adding my Windows vista partition back to the grub
> bootleader.
> My upgrade to opensuse 11.1 seemed to work without a problem.
> It was to good to be true.
> After a reboot i could not longer boot anything.
> did a repair with the install disk.
> after repair Linux worked again.
> It removed windows vista from the boot loader.
> Although Windows partition still seems to be mounted.
> need help adding it back to grub boot loader.
> using kde 4.1

I had similar problems some versions ago (the disks would be map differently in the bios than in grub).
In any case this is quite handy and got me out of trouble in a couple of occasions:

http://www.supergrubdisk.org/

Can you see a partition called “windows 1” that is unable to boot?If you get an error message like “Bootmgr missing; Ctrl+Alt+Canc to reboot” when you choose the “windows 1” partition, it’s quite easy to solve. Is this your case?

Alexius

I did originally. but now i don’t now because i booted the disk and picked repair. Wish i didn’t, hope I’m not hosed.
but the partitions is still there it it mounted under windows in linux. But now windows isn’t in the boot loader at all.

I think you should repair the windows boot by using supergrub disk (in the supergrub disk menu you should choose to repair Mbr e Win); once you’re able to boot windows, use supergrub disk again and repair Grub! If you can’t see windows partiton after this attempt, you can try to repair your linux installation by using the installation DVD. I don’t know if you have just tried something similar…

Alexius

No but very busy. currently at work.
will try once i get a chance.
Just curious if that all failed.
would booting the vista disk and repaing vista bootloader
,then booting suse 11.1 disk to reinstall grub work?
But hopefully it will work need vista for very few programs but never the less some stubborn programs won’t run under vmware.

This is a command in super grub correct? “repair Mbr e Win);”

that should repair vista boot…

Well thanks at least i can boot vista.
But I am aggravated. wish i never did this upgrade 11.0
was working fine. tried to do the simple repair for grub and then i can’t boot windows when linux is bootable.
had to reverse it to keep vista bootable because both the sound and everything else work there.
it is late i am tired this upgrade is so far a waste. i lost my ability to use suse and my sound.>:(

Well it seems I can’t rely on yast.
I went into system settings bootloader
and low and behold. added hda1 device 1 as Windows Vista Manually.

C:=hda1 Well normally this is the case.
Now why in the world couldn’t yast do that itself.
set hda1 as Vista badabing badaboom my system is back.
That supergrub might come in handy though.
especially if something like this happens again
it makes a quick temporary solution when there is no time to troubleshoot. and yast isn’t smart enough to realize sda7 is my other ntfs partition it kept asking to fix it and failing.

Thanks again,lol!

I got the same problem, and I solved with elegance.

The problem is that SUSE will install the GRUB into the same partition SUSE is installed. This is too bad, 'coz GRUB then marks that particular partition as “ACTIVE”, rendering the WINDOWS partition unbootable.

The thing you should do is…

  1. Make sure only WINDOWS is bootable. I mean, you should turn on your PC and only windows must boot. No GRUB at all. You can do it with good ol’ FDISK (command: c:\fdisk /mbr), or HIREN’s boot CD. The original pre-linux Master Boot Record must be restored.

  2. Install SuSE in “expert mode” or run SUSE repair option. Put special attention in the GRUB section. Play with the tabs in the GRUB configuration page. You must uncheck the option “MARK PARTITION AS ACTIVE”, and some other that is cheked, i don’t remember wich. The point is, you must check the option that said something like “INSTALL GRUB IN THE MBR”. That must solve everything with elegance.

I hope it helps you. Greetings from Tlalnepantla, Mexico.

This is a solution I never tried before… I run both systems using Grub; the only manual work I had to do was to change a single number in file menu.lst; the problem is to know which one!!Anyway… if anyone solved his problems, that’s all right.

Alexius

You misunderstand
Supergrub already fixed the Linux partition.
I just had to manually add the Windows partition because
Yast is smart enough to do it. It works perfectly now.
If I would have let it stay after supergrub restored windows i wouldn’t have been able to boot back into linux.

  1. used supergrub to fix windows mbr.
  2. could no longer boot linux
  3. booted into supergrub picked repair grub
    4.could no longer boot windows so manually added Windows back
    from system settings bootloader as hda1 device 1
  4. added Windows Vista as Name
  5. Works perfectly.

Conclusion Why is Yast to stupid to do this?
It was fine in open suse 11.0. Are we going backward?