Grub2, chroot on mdadm RAID 1
Posted: Thu Feb 02, 2017 9:06 pm
Trying to install GRUB on 2TB harddisks, GPT with software RAID 1...
grub-install in chroot of mounted md127 throws error:
Next error:
Returned:
Had to add "--recheck". Then it worked:
Uncomfortable.
Links:
grub-install in chroot of mounted md127 throws error:
I had to install "mdadm" on the target (chroot) system.grub-install /dev/sda
/usr/sbin/grub-probe: error: no such disk.
Auto-detection of a filesystem of /dev/md127 failed.
Next error:
Code: Select all
$ grub-probe -d /dev/md127
Changed to metadata version of the mdadm RAID to 0.90.grub-probe: error: no such disk.
Had to add "--recheck". Then it worked:
Code: Select all
$ grub-install --recheck /dev/sda"
Links:
- Grub install failed on disks with software RAID
- GRUB 2 Reparatur (Ubuntuusers.de)
- (Debian Bug #743512) grub-pc: grub-probe fails to locate md device (no such disk) when grub-installing
- Can you change the metadata version on an existing array? (serverfault.com)
- Debian Bug 567618
- Debian Squeeze RAID1 and GRUB2