Installing GRUB fails


I have installed OpenSUSE. Only, the GRUB bootloader wouldn’t install.

I think it’s because I have a software RAID.

There was an error, something about where it wanted to install GRUB was out of the accepted cylinder region.

I also have a dual-boot with Windows and a RAID-0 configuration already set-up, in the BIOS.

Can anyone say for sure how I would go about installing GRUB?

Hm, I read something in this page: How to install openSUSE on software RAID - openSUSE

It says:

Naturally, the boot loader must be placed outside of any raid partition, preferably into MBR of a disk. Even Raid 1 setups require this. Raid 0 setups might also require the /boot partition to be outside of any raid partition, or modify initrd to include raid modules on boot.

But I only have a RAID setting. Only partitions in the RAID.

So I can’t install GRUB?

Could I install GRUB onto a USB stick or CD, that will boot the Linux partition on my RAID-0 drive?

If you are setting up RAID in the BIOS, that will not be considered as RAID by the OS. To the OS, it will look like a normal disk only.

Did you try to install Grub into the MBR?

The OpenSUSE installer did see it as one disk. It supports software RAID (well, partially, it can’t install GRUB).

Only, GRUB can’t be installed. And it automatically tries to install in the MBR.

Can you boot in repair mode from the DVD and do the following?
You have to login as root and press Enter when it ask for password.
Substitute the correct value for /dev/sda1 if that is not the disk device where you have installed root of the openSUSE. (You can see it by typing
“fdisk -l”). Also, see that the reference to harddisk in the /etc/grub.conf is (hd0,0).

mount /dev/sda1 /mnt
mount -t proc none /mnt/proc
mount -o bind /dev /mnt/dev
chroot /mnt /bin/bash
grub --batch < /etc/grub.conf
init 6