On Tue, Jul 6, 2010 at 8:15 PM, Miles Fidelman
<mfidel...@meetinghouse.net> wrote:

> shell> grub-install hd0
> shell> grub-install hd1

With these grub-install invocations, you will not be able to boot in
degraded mode.

You have to set both sda and sdb to hd0 but you cannot do that in
device.map. You have to use the grub shell:

root# grub
grub> device (hd0) /dev/sda
grub> root (hd0,0)
grub> setup (hd0)
grub> device (hd0) /dev/sdb
grub> root (hd0,0)
grub> setup (hd0)
grub> quit
root#

PS: Maybe you can do the following
root# vi /boot/grub/device.map
root# cat /boot/grub/device.map
(hd0) /dev/sda
root# grub-install hd0
root# vi /boot/grub/device.map
root# cat /boot/grub/device.map
(hd0) /dev/sdb
root# grub-install hd0
root# rm /boot/grub/device.map
but I've never tried it.


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/aanlktikxdd6xpckrkoi8_avqhmecgw01rd1h72h-b...@mail.gmail.com

Reply via email to