bug-grub  

cant install grub

A B
Wed, 09 Apr 2008 02:02:58 -0700

here is  my current setup.
/dev/sda2 is / partition (contains boot directory) and grub is
installed to that drive

/dev/sdb1 is / partition (contains boot directyory) and I cant install
grub to that drive.

sda2 is ordinary ext3 filessystem and sdb1 is ext3 but with raid-1.
The plan is to install grub into the sdb disc, then wipe sda and sync
sda with sdb so I run two discs in the raid-1 setup, and after that,
also install grub into the sda disc so if one of them fails, I can
still boot.

It seems to me that do install grub into sdb1 I should do (accoring to
some docs I've found)

#grub --no-floppy
device (hd0) /dev/sdb
root (hd0,0)
setup (hd0)

but this gives me the following:

root (hd0,0)
 Filesystem type is ext2fs, partition type 0xfd

grub> setup (hd0)
 Checking if "/boot/grub/stage1" exists... no
 Checking if "/grub/stage1" exists... no

Error 2: Bad file or directory type




In grub
find /boot/grub/stage1
tells me there is only
 (hd0,1)
and not
 (hd1,0)
but trust me, the files are there!

Any ideas on how to make grub work?


_______________________________________________
Bug-grub mailing list
Bug-grub@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-grub