Bug#606035: grub-pc: grub-install /dev/md0 fails (RAID-1)

Vladimir 'φ-coder/phcoder' Serbinenko phcoder at gmail.com
Sat Dec 25 18:09:08 UTC 2010


On 12/05/2010 08:37 PM, David Pravec wrote:
> When installing fresh squeeze using fai i came to a problem with Raid-1  again.
> grub-pc  version: 1.98+20100804-8
>
> FAI failed  to install on /dev/md0 device (raid-1 on /dev/sda1 and /dev/sdb1)
> Here is error i saw when ri was unning grub chrooted to new system on /target
> manually:
> --beg---
> grub-install --no-floppy --modules="lvm raid" "/dev/md0"
> /usr/sbin/grub-setup: error: can't open /dev/md/0: No such file or directory.
>   

Please test the attached patch.

-- 
Regards
Vladimir 'φ-coder/phcoder' Serbinenko

-------------- next part --------------
A non-text attachment was scrubbed...
Name: mdadm_old.diff
Type: text/x-diff
Size: 624 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-grub-devel/attachments/20101225/ee28260a/attachment.diff>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 294 bytes
Desc: OpenPGP digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-grub-devel/attachments/20101225/ee28260a/attachment.pgp>


More information about the Pkg-grub-devel mailing list