help-grub
[Top][All Lists]
Advanced

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

RE: grub2/grub-pc install not possible on mdadm


From: Leslie Rhorer
Subject: RE: grub2/grub-pc install not possible on mdadm
Date: Tue, 28 Feb 2012 10:32:30 -0600


> -----Original Message-----
> From: address@hidden [mailto:help-grub-
> address@hidden On Behalf Of Stefan Priebe -
> Profihost AG
> Sent: Tuesday, February 28, 2012 5:10 AM
> To: address@hidden
> Subject: grub2/grub-pc install not possible on mdadm
> 
> Hi list,
> 
> i've configured a raid1 and i'm trying to install grub on it. But it
> doesn't work.
> 
> ~# grub-mkdevicemap -n
> ~# cat /boot/grub/device.map
> (hd0)   /dev/disk/by-id/ata-INTEL_SSDSA2CW160G3_CVPR14530C6J160DGN
> (hd1)   /dev/disk/by-id/ata-INTEL_SSDSA2CW160G3_CVPR145101F9160DGN
> 
> ~# grub-install /dev/md127
> error: found two disks with the index 0 for RAID md/raidone.
> error: superfluous RAID member (2 found).
> error: found two disks with the index 0 for RAID md/raidone.
> error: superfluous RAID member (2 found).
> error: found two disks with the index 0 for RAID md/raidone.
> error: superfluous RAID member (2 found).
> error: found two disks with the index 0 for RAID md/raidone.
> error: superfluous RAID member (2 found).
> error: found two disks with the index 0 for RAID md/raidone.
> error: superfluous RAID member (2 found).
> /usr/sbin/grub-install: line 661: 20158 Segmentation fault
> "$grub_setup" ${allow_floppy} ${setup_verbose} ${setup_force}
> --directory="${grubdir}" --device-map="${device_map}" "${install_device}"
> 
> When i then add /dev/md127 to my device.map i got this:
> 
> ~# grub-install /dev/md127
> error: found two disks with the index 0 for RAID md/raidone.
> error: superfluous RAID member (2 found).
> error: found two disks with the index 0 for RAID md/raidone.
> error: superfluous RAID member (2 found).
> error: found two disks with the index 0 for RAID md/raidone.
> error: superfluous RAID member (2 found).
> error: found two disks with the index 0 for RAID md/raidone.
> error: superfluous RAID member (2 found).
> error: found two disks with the index 0 for RAID md/raidone.
> error: superfluous RAID member (2 found).
> error: found two disks with the index 0 for RAID md/raidone.
> error: superfluous RAID member (2 found).
> Installation finished. No error reported.
> 
> But the device still does not boot. Installing grub to sda / sdb does
> not work either as they do not contain any partition table. What's wrong
> here?
> 
> Greets
> Stefan
> 
> Raid details:
> ~# parted
> Model: Linux Software RAID Array (md)
> Disk /dev/md127: 160GB
> Sector size (logical/physical): 512B/512B
> Partition Table: gpt
> 
> Number  Start   End     Size    File system     Name       Flags
>  1      1049kB  2097kB  1049kB                  GRUB_BOOT  bios_grub
>  2      2097kB  99,6MB  97,5MB  ext2            BOOT
>  3      99,6MB  157GB   157GB   xfs             ROOT
>  4      157GB   160GB   3056MB  linux-swap(v1)  SWAP
> 
> ~# mdadm -E /dev/md127
> /dev/md127:
>    MBR Magic : aa55
> Partition[0] :    312579615 sectors at            1 (type ee)
> 
> ~# mdadm -D /dev/md127
> /dev/md127:
>         Version : 1.2

        GRUB2 can only boot arrays with 0.90 version superblocks.




reply via email to

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