-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

> I will try it out and let you know the results.
>
> will this set of commands install the bootloader to both /dev/hda1 and
> /dev/hdb1
> so that if one of the devices fail it will still boot?
> Yoshinori K. Okuji writes:
>
>>  At Thu, 30 May 2002 19:42:42 -0700,
>>  brian wrote:
>>>  What commands do I need to issue to properly configure grub to 
>>> properly
>>>  load the raid?
>>  echo '(hd0) /dev/md0' > /boot/grub/device.map
>>  grub-install '(hd0)'
>>  Doesn't that work?
>>  Okuji

I am having similar problems to Brian (Brand new install of RH 7.3 on a 
P3, with a matched pair of Western Digital 120GB drives in RAID 1).

The upgraded the grub rpm from the default 0.91 that ships with RedHat 
7.3 to the latest rpm I found on rpmfind.net, version 0.92-4.

/boot is a 128MB raid1 parition, /dev/md9. The physical partitions that 
make up this device are /dev/hda1 and /dev/hdc1, and are both the first 
primary partitions of their respective drives.

I tried the above, and get the following:

[root@XXXXX]# echo '(hd0) /dev/md9' /boot/grub/device.map
[root@XXXXX]# grub-install '(hd0)'
expr: non-numeric argument
The file /boot/grub/stage1 not read correctly.

I have been tinkering with this a lot trying to get it to work, so it 
wouldn't surprise me if I had klobbered something along the line. I am 
willing to re-install the whole thing from scratch, but as it didn't 
work right out of the box the first time, I would want to know the 
exact steps to from a default RedHat install to a working bootable 
software RAID1.

Any thoughts, comments, and suggestions appreciated.

  - Jason A. Lunn

- -----BEGIN PGP PUBLIC KEY BLOCK-----
Version: GnuPG v1.0.6 (Darwin)
Comment: For info see http://www.gnupg.org

mQCNAzWb0d8AAAEEAKsZKAPbxEbj45UtyqlswBnk4kgWl1+o56BnW0IMn8SjBwxk
O+vRQpUgmMSbf9i3k8fjYooFXGB3bIJGXmreIXD6Pb0RDx7FtMzm/hc6mR1sj7Sk
R1e5WQA1ci3YlyUfjSojssWrX5N5v41q01PWNTNv8rUUKTy+20WMQGysAONZAAUR
tCxKYXNvbiBBcmFnb3JuIFRvYmlhcyBMdW5uIDxnYWxhY3R1c0BtYWMuY29tPokA
lQMFEzzHoZ1FjEBsrADjWQEByzMD+gJ38BrEEC+jM8tnmcKfLwhxId+K+GLJb2Sa
1MhuyN14ux735+yluK1ZaYzpveRuRN4u0IT8psUhk8nGSOiZ+KD6RGku5lR47eXd
vKZz7supObX5H75clllgEuIEZVe1usIP/tmoXquEeBOQHeSEygM9Gx/VlC/vTrtw
OPkJ5n3LtCpKYXNvbiBBcmFnb3JuIFRvYmlhcyBMdW5uIDxqbHVubkBtYmhzLmVk
dT6JAJUDBRM8x6KbRYxAbKwA41kBAXiWBACX1bPmwmIu5jqqHaG+S66xflxQygfT
a4b+LC7YwziK+vfaRAp3zTMVJG06+9sITGZx5RjKMnfBg8hGDk7K24R86J8hXDTp
c4gAjRgSruUWIJq6+GrlRRiY1lnjcr5iWugq2Pl/Id2PwhsrHaVymCi8BOjKb4aB
X8yoJ6xnIymk5A==
=uRd7
- -----END PGP PUBLIC KEY BLOCK-----
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7 (Darwin)

iQCVAwUBPYl4VEWMQGysAONZAQJOOQP/cls5zP8LxYlzCJwSFjjmxCvV4qRWUj7o
5y8K11fU8VnluCZo0vnpSMaENFg7LONEkDpRVL/nfkgQGi15dKRzFzx7DeN+GGU/
kPUGBIkbbLAqzbY9CxL1vVJP3lGCekUAnD9QlEIs36Y1Ti9HAmvq/Yt/h29fP8uq
ljI5tFFQRdw=
=oTWj
-----END PGP SIGNATURE-----



_______________________________________________
Bug-grub mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/bug-grub

Reply via email to