Results 1 to 6 of 6

Thread: Installing GRUB fails

  1. #1
    Join Date
    May 2009
    Location
    The Netherlands
    Posts
    8

    Default Installing GRUB fails

    Hi,

    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?

  2. #2
    Join Date
    May 2009
    Location
    The Netherlands
    Posts
    8

    Default Re: Installing GRUB fails

    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?

  3. #3
    Join Date
    May 2009
    Location
    The Netherlands
    Posts
    8

    Default Re: Installing GRUB fails

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

  4. #4
    Join Date
    Sep 2008
    Location
    Dubai
    Posts
    1,770

    Default Re: Installing GRUB fails

    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?
    openSUSE 12.3 (x86_64) with Kernel 3.7.10-1.16-desktop and KDE 4.11.2 on MacBook Pro
    Latest MS Windows version used: Win95

  5. #5
    Join Date
    May 2009
    Location
    The Netherlands
    Posts
    8

    Default Re: Installing GRUB fails

    Quote Originally Posted by syampillai View Post
    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.

  6. #6
    Join Date
    Sep 2008
    Location
    Dubai
    Posts
    1,770

    Default Re: Installing GRUB fails

    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).
    Code:
    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
    openSUSE 12.3 (x86_64) with Kernel 3.7.10-1.16-desktop and KDE 4.11.2 on MacBook Pro
    Latest MS Windows version used: Win95

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •