image-bootstrap
image-bootstrap copied to clipboard
Seen failing to install Grub on with DRBD device on Debian jessie
..
Installing bootloader to device "/dev/drbd8" (approach "chroot-grub2-drive")...
# chroot /mnt/tmp96s8Lu grub-install \(hd9999\)
/usr/sbin/grub-probe: error: cannot find a GRUB drive for /dev/mapper/drbd8p1. Check your device.map.
Auto-detection of a filesystem of /dev/mapper/drbd8p1 failed.
Try with --recheck.
..
Note on a workaround:
dmsetup create ............... --table "0 $(blockdev --getsz /dev/drbd8) linear /dev/drbd8 0"