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@mediaservice.net> пишет:
/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) ?
Ok i have find i think the right solution, from this thread: http://forums.opensuse.org/english/get-technical-help-here/install-boot-logi... 1) Find the the stage 1 file: grub> find /boot/grub/stage1 (hd0,0) (hd1,0) grub> The output could be different, depending on the partition where /boot is located. 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? Cordially, Claudio. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org