Tagged with grub

update-grub2 error: "no such disk"

If you run /usr/sbin/update-grub2 and it fails with the very useful error

/usr/sbin/grub-probe: error: no such disk.

remove the device.map file from /boot/grub/ and re-run update-grub2.

Tagged ,

Xen and GRUB2 on Debian

GRUB2 on Debian is configured in /etc/defaults/grub. To get the correct boot parameters for the hypervisor I use the following lines:

#for normal use:
# for rescue mode:

To pass options to Xen kernels I use GRUB_CMDLINE_LINUX_XEN_REPLACE="xen-pciback.permissive xen-pciback.passthrough=1 xen-pciback.hide=(00:01.b)(00:02.0)". See Debian bug 617538 and Debian bug 617538 for more info. You will need grub-pc from Debian Wheezy (1.99-14 or up)!

Tagged , , , ,