Mailinglist Archive: opensuse (878 mails)

< Previous Next >
Re: [opensuse] Strangeness with OpenSuse RAID 1 Grub system
Il 06/09/2013 10:26, Claudio ML ha scritto:
Il 06/09/2013 10:17, Andrey Borzenkov ha scritto:
В Fri, 06 Sep 2013 10:12:20 +0200
Claudio ML <claudioml@xxxxxxxxxxxxxxxx> пишет:


I have to change manually the wrong entry on, or there is a
method more "SuSE like" to do that?
Unfortunately, I could not find any way to do it using yast (I had
chance to play after replacing dying hard drive). I think there was
bug report for this but I cannot find it right now ... or may be I
just intended to file one but got distracted.

So you will need to change it manually.
Ok, after manually editing the file, now the find of grub finds all the
two disks:

grub> find /boot/grub/stage1

But, if i do a grub-install, it is installed only into 1 disk:


GNU GRUB version 0.97 (640K lower / 3072K upper memory)

[ Minimal BASH-like line editing is supported. For the first word, TAB
lists possible command completions. Anywhere else TAB lists the possible
completions of a device/filename. ]
grub> setup --stage2=/boot/grub/stage2 --force-lba (hd0) (hd0,0)
Checking if "/boot/grub/stage1" exists... yes
Checking if "/boot/grub/stage2" exists... yes
Checking if "/boot/grub/e2fs_stage1_5" exists... yes
Running "embed /boot/grub/e2fs_stage1_5 (hd0)"... 17 sectors are embedded.
Running "install --force-lba --stage2=/boot/grub/stage2
/boot/grub/stage1 (hd0) (hd0)1+17 p (hd0,0)/boot/grub/stage2
/boot/grub/menu.lst"... succeeded
grub> quit

How to make it installed into the two disks? Manually from grub with
setup --stage2=/boot/grub/stage2 --force-lba (hd1) (hd1,0) ?

Ok i have find i think the right solution, from this thread:

1) Find the the stage 1 file:

grub> find /boot/grub/stage1

The output could be different, depending on the partition where /boot is

2) Asumming your disks are /dev/sda (hd0) and /dev/sdb (hd1) and you
have grub installed in the MBR of /dev/sda, do the following to install
grub into /dev/sdb MBR:

device (hd0) /dev/sdb
root (hd0,0)
setup (hd0)

Anyone can confirm me that is the right procedure to install grub on the
secondary disk?



To unsubscribe, e-mail: opensuse+unsubscribe@xxxxxxxxxxxx
To contact the owner, e-mail: opensuse+owner@xxxxxxxxxxxx

< Previous Next >
Follow Ups