Worked out a postinst script that 1) detects if the root device and the grub-pc install device is mismatched; 2) if so, re-sets the grub-pc device and then installs grub to the device in question. The changes should be safe, but I want a through to be safe.
Worked out a postinst script that 1) detects if the root device and the grub-pc install device is mismatched; 2) if so, re-sets the grub-pc device and then installs grub to the device in question. The changes should be safe, but I want a through to be safe.