zfsonlinux / grub

GRUB enhancements for ZFS on Linux
16 stars 18 forks source link

grub tools (update-grub, grub-mkconfig) are way off the mark #17

Open nwf opened 10 years ago

nwf commented 10 years ago

I had to comment out the calls to grub-probe for creating of GRUB_DEVICE_UUID and GRUB_DEVICE_BOOT_UUID in /usr/sbin/grub-mkconfig (P.S. the GRUB_DEVICE_BOOT lacks the "|tail -n1" of GRUB_DEVICE) as well as GRUB_FS (overriding it to be the constant "zfs") in /usr/lib/grub/grub-mkconfig_lib. I am aware that this is a hack-and-slash kind of fix to the problem (thus why I am not attaching a diff) but I felt you should be aware of the steps necessary to get my machine booting.

These calls all fail on a fresh Debian 7.5.0 system installed with raidz2 on GPT partitions following https://github.com/zfsonlinux/pkg-zfs/wiki/HOWTO-install-Debian-GNU-Linux-to-a-Native-ZFS-Root-Filesystem . Once those changes were made, grub-update ran and seems to have produced a sensible grub.cfg file.