Mailinglist Archive: opensuse (878 mails)

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

/dev/disk/by-id/ata-GB0250EAFYK_WCAT1J075574
/dev/disk/by-id/ata-ST3360320AS_6QF1N350

I have to change manually the wrong entry on device.map, 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
(hd0,0)
(hd1,0)

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

grub-install


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.
succeeded
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
Done.
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) ?


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

< Previous Next >
Follow Ups