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

grub-install fails an RAID1



Hi,

I've done a safe-upgrade today which upgraded grub:

    upgrade grub-pc 1.98+20100804-14 1.98+20100804-14+squeeze1

The same for grub-common.

A dialog appeared which asked me to run grub-install. But that
failed. So i told the dialog to skip that part. Now I've tried
grub-install manually.

    # grub-install /dev/sda
    /usr/sbin/grub-setup: warn: This msdos-style partition label has no post-MBR gap; embedding won't be possible!.
    /usr/sbin/grub-setup: error: embedding is not possible, but this is required when the root device is on a RAID array or LVM volume.

My google fu is not very good on this issue.

    # parted -l
    Model: ATA WDC WD6400AACS-0 (scsi)
    Disk /dev/sda: 640GB
    Sector size (logical/physical): 512B/512B
    Partition Table: msdos

    Number  Start   End     Size    Type     File system     Flags
     1      512B    100MB   100MB   primary  ext2            raid
     2      100MB   1124MB  1024MB  primary  linux-swap(v1)
     3      1124MB  610GB   609GB   primary  ext3            raid


    Model: ATA WDC WD6400AACS-0 (scsi)
    Disk /dev/sdb: 640GB
    Sector size (logical/physical): 512B/512B
    Partition Table: msdos

    Number  Start   End     Size    Type     File system     Flags
     1      512B    100MB   100MB   primary  ext2            raid
     2      100MB   1124MB  1024MB  primary  linux-swap(v1)
     3      1124MB  610GB   609GB   primary  ext3            raid


    Model: Linux Software RAID Array (md)
    Disk /dev/md0: 99.9MB
    Sector size (logical/physical): 512B/512B
    Partition Table: loop

    Number  Start  End     Size    File system  Flags
     1      0.00B  99.9MB  99.9MB  ext2


    Model: Linux Software RAID Array (md)
    Disk /dev/md1: 609GB
    Sector size (logical/physical): 512B/512B
    Partition Table: loop

    Number  Start  End    Size   File system  Flags
     1      0.00B  609GB  609GB  ext3


Any hints?

Kurt


Reply to: