Windows 7 and OpenSUSE 11.4 Dual-boot issues

This may be here already, if it is, forgive me. I am trying to Dual-boot Windows & and OpenSUSE 11.4, and have run into walls all over the place. Here is what I did:

  1. Windows 7 was already installed. (Don’t like it, freezes all the time)
  2. Installed OpenSUSE using default partition options.
  3. Booted into OpenSUSE with no problem
  4. Tried booting into Windows, no joy.
  5. Got that figured out, now I can get into Windows.
  6. GRUB is gone, so now I can’t get back into OpenSUSE.

What do I do?

:beat-up: :beat-up: :beat-up: :beat-up:

Firstly try to repair your grub using your installation DVD.

If installation DVD fails
try to boot and when it will show your boot menu.

http://www.benkevan.com/gallery/albums/userpics/10001/lost_root.jpg
Press ESC button and it will show you that message

You are leaving the graphical boot menu
  and starting the text mode interface.

            OK       Cancel

Press OK and it will show you this menu

Use the arrows keys to select an OS 
'e' to edit 
'c' to command line

Press “c” button
and it will show you that

grub>

Then you must write that

find /boot/grub/menu.lst

Your pc will write you something like that

(hd0,4)

Then you will write that

root (hd0,4)

Your pc will write something like that

Filesystem type is ext2fs, partition type 0x83

Then You must write that

kernel /boot/vmlinuz

Your pc will write something like that

[Linux-bzImage, setup=0x000, size=0x25e910]

Then You must write that

initrd /boot/initrd

Your pc will write something like that

[Linux-initrd @ 0x37a9c000, 0x5534f3 bytes]

Then you must write that

boot

And that’s all.

If installation DVD fails
try to boot and when it will show your boot menu.

http://www.benkevan.com/gallery/albums/userpics/10001/lost_root.jpg
Press ESC button and it will show you that message

You are leaving the graphical boot menu
  and starting the text mode interface.

            OK       Cancel

Press OK and it will show you this menu

Use the arrows keys to select an OS 
'e' to edit 
'c' to command line

Press “c” button
and it will show you that

grub>

Then you must write that

find /boot/grub/menu.lst

Your pc will write you something like that

(hd0,4)

Then you will write that

root (hd0,4)

Your pc will write something like that

Filesystem type is ext2fs, partition type 0x83

Then You must write that

kernel /boot/vmlinuz

Your pc will write something like that

[Linux-bzImage, setup=0x000, size=0x25e910]

Then You must write that

initrd /boot/initrd

Your pc will write something like that

[Linux-initrd @ 0x37a9c000, 0x5534f3 bytes]

Then you must write that

boot

And that’s all.

Thanks, got it working.

You’re welcome.:slight_smile:

I have similar problem, after i booted to windows, i can not boot the OpenSUSE.
The Grub menu is gone. All i can do is boot from DVD. Choose Installation or Rescue.
What should i do?, so I can come back using OpenSUSE and Windows 7.

Regards

Try to repair your grub through installation DVD

You can repair using the installation DVD and just making boot from the DVD. Following the path following repairs: New Installation -> Update -> Repair Installed System

Choose repair and next to Repair Method. Select Expert tools. You will be presented (so it is best to express it) with Repair Tool Box screen. Choose to boot-break down (Boot installed system). If more than one plant in our hard disk will display a list of all the partition you have to choose where to boot-virtue, otherwise it will start automatically.

You might want to have a look at this post: Windows and openSuse 11.4 dual boot problem and try that first. I actually wonder if it works (don’t have Windows myself). You NEED to know which of the 4 partitions has Grub before doing that. If you activate the wong one, neither Windows nor Linux will boot. However this is easy to fix with fdisk on a Linux live system, as explained here Windows and openSuse 11.4 dual boot problem (of course the partition number may be different for you).

  • The two links refer to the same thread but to different posts.

Note some antivirus programs try to encrypt the MBR. This can mess up the Grub MBR boot code. I say this because you said it happened after booting in to Windows.