unarchive 651720 reopen 651720 tags 651720 d-i User: debian-...@lists.debian.org Usertags: kfreebsd zfs thanks
Running the most recent Wheezy d-i installer on kfreebsd fails, when /boot is configured as a separate UFS partition, and / is on ZFS. The installation fails with: Nov 9 00:07:55 grub-installer: info: Installing grub on '/dev/ada0' Nov 9 00:07:55 grub-installer: info: grub-install supports --no-floppy Nov 9 00:07:55 grub-installer: info: Running chroot /target grub-install --no-floppy --force "/dev/ada0" Nov 9 00:07:56 grub-installer: Installation finished. No error reported. Nov 9 00:07:56 grub-installer: info: grub-install ran successfully Nov 9 00:07:56 /bin/in-target: warning: /target/etc/mtab won't be updated since it is a symlink. Nov 9 00:07:59 grub-installer: error: Running 'update-grub' failed. Nov 9 00:08:56 main-menu[106]: (process:33085): Error: Nov 9 00:08:56 main-menu[106]: (process:33085): Could not stat device /dev/disc - No such file or directory. Nov 9 00:08:56 main-menu[106]: (process:33085): Warning: Nov 9 00:08:56 main-menu[106]: (process:33085): Could not get identity of device /dev/ada0 - Inappropriate ioctl for device Nov 9 00:08:56 main-menu[106]: WARNING **: Configuring 'grub-installer' failed with error code 1 Nov 9 00:08:56 main-menu[106]: WARNING **: Menu item 'grub-installer' failed. If I chroot into /target at this stage, and run "update-grub" manually, I get: Generating grub.cfg ... Found kernel of FreeBSD: /boot/kfreebsd-9.0-2-amd64.gz Found kernel module directory: /lib/modules/9.0-2-amd64 ls: cannot access /boot/zfs/zpool.cache: No such file or directory Creating the zpool.cache file manually ("local" is my ZFS pool) in a chroot to /target with zpool set cachefile=/boot/zfs/zpool.cache local both, update-grub called manually within the /target chroot, and from the d-i menu it runs through. The resulting system boots correctly then. Note: This issues does *NOT* happen when /boot is no separate partition, but a ZFS volume as well. -- with kind regards, Arno Töll IRC: daemonkeeper on Freenode/OFTC GnuPG Key-ID: 0x9D80F36D
signature.asc
Description: OpenPGP digital signature