image-bootstrap icon indicating copy to clipboard operation
image-bootstrap copied to clipboard

Seen failing to install Grub on with DRBD device on Debian jessie

Open hartwork opened this issue 10 years ago • 1 comments

..
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.
..

hartwork avatar Aug 17 '15 16:08 hartwork

Note on a workaround:

dmsetup create ............... --table "0 $(blockdev --getsz /dev/drbd8) linear /dev/drbd8 0"

hartwork avatar Aug 17 '15 16:08 hartwork