Is the Yast2 bootloader manager actually working on OpenSUSE 12.2 KDE Live RC2??
I ask because I’m trying to recover my grub2 re-installing it on my root partition with no success.
In this way I should just install grub2 back again on my sda5 partitions isn’t it? I have tried with the bootloader yast2 module but Windows 7 keeps booting.
Have you changed the active boot partition to sda5 ?
There is an option in the ‘Boot loader options’ submenu by the name ‘Set active Flag in Partition Table for Boot partition’ - you need to check that.
If a hard drive has a partition with the ‘Active Flag’ - BIOS tries to boot it, if not - the MBR code is booted. Since sda1 seems to have the ‘Active Flag’ currently, you always see the Windows Boot loader being launched on bootup.
1: Setup the Windows boot manager.
2: Boot from the extended partition (sda3 in your case).
For the latter, copy the boot sector to a file. Then write it to sda3
dd if=/dev/sda5 of=bootsect.sda5 count=1
## that copies the boot sector to file "bootsect.sda5"
dd if=bootsect.sda5 of=/dev/sda3 bs=440 count=1
## that copies the first 440 bytes of boot sector to the extended partition
Then use “fdisk /dev/sda” and make sda3 the active partition.
If you prefer to setup the Windows boot manager, then follow the first step above. Then copy the file “bootsect.sda5” to the root directory of your Windows drive. You can mount, then copy. Or you can copy to a USB drive, then boot Windows and copy from the USB to C:. Then follow the directions in Using the Windows boot manager