Hi Otavio, 2010/9/5, Otavio Salvador <[email protected]>: > I didn't get the reason why you created grub_probe. Why grub-common > wasn't available in our target?
IIUC grub-common isn't yet installed the first time findfs() is used. Alternatively, one could just apt-install grub-common and then use $chroot $ROOT grub-probe directly. Is this better? I assumed redundant apt-install calls are cheap. > You are copying a file from /boot from d-i environment, it looks > better if you queue up the package that provides it to be installed in > target to avoid this. > > Is it possible? No. /boot/zfs/zpool.cache is dynamically generated. It's some sort of index of existing ZFS filesystems (think of it like fstab). GRUB itself doesn't need it, but kFreeBSD does, so GRUB loads it at boot time and needs to know about it when generating grub.cfg. -- Robert Millan -- To UNSUBSCRIBE, email to [email protected] with a subject of "unsubscribe". Trouble? Contact [email protected] Archive: http://lists.debian.org/[email protected]

