bug-grub
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

cant install grub


From: A B
Subject: cant install grub
Date: Wed, 9 Apr 2008 11:02:35 +0200

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?




reply via email to

[Prev in Thread] Current Thread [Next in Thread]