OpenSUSE 12.2 yast2 bootloader

Just to be sure:

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.

For example my partitions are:

sda1 - NTFS - (Windows C:, system, boot)
sda2 - NTFS - (Windows E:)
sda3 - Extended
sda5 - Ext4 - (/ root)
sda6 - Ext4 - (/home)
sda7 - Swap

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.

Thanks in advance!

12.2 is NOT a supported release yet.

This will be moved to the Pre-release/Beta forum. Please do not post here until moved!

Moved, open again.

Thank you and sorry about that!

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.

You can’t directly boot from sda5.

The two ways of doing what you want are:

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

I didn’t try the flag option on the yast2 bootloader, maybe that may have worked… but in the end I re-installed grub2 using a live cd (12.2 KDE Live).

Thank you guys!