Package: grub-pc Version: 1.99-27+deb7u1 Severity: normal Dear Maintainer,
I use zfsonlinux using the repository from http://zfsonlinux.org/debian.html and ZFS itself is contained in a LUKS volume, so it is a somewhat unusual setup. There is an unencrypted /boot partition (ext4) that I use so that the kernel and initramfs can be loaded simply and I unlock the disk at the startup time. Basically the layout of the disk is (gdisk -l): Number Start (sector) End (sector) Size Code Name 1 2048 312371200 148.9 GiB BF01 zfs 2 312371202 312581774 102.8 MiB 8300 boot 9 34 2047 1007.0 KiB EF02 BIOS boot partition GRUB, in Debian at least, is not able to automatically create a configuration for my setup, mainly because there is no / device listed in /etc/fstab (ZFS on root, it manages the mountpoints itself). This results in grub-probe erroring out, and it causes the package to be marked as being in an unconfigured state, resulting in this: root@philipjfry:~# dpkg --configure grub-pc Setting up grub-pc (1.99-27+deb7u1) ... grub-probe: error: cannot find a device for / (is /dev mounted?). Installation finished. No error reported. /usr/sbin/grub-probe: error: cannot find a device for / (is /dev mounted?). dpkg: error processing grub-pc (--configure): subprocess installed post-installation script returned error exit status 1 Errors were encountered while processing: grub-pc GRUB still works fine writing the grub.cfg by hand (it's not that hard), and using grub-install afterwards. It's still annoying to have this package remain in an "unconfigured" state! -- Package-specific info: *********************** BEGIN /proc/mounts /dev/sda2 /boot ext4 rw,sync,nosuid,nodev,relatime,user_xattr,barrier=1 0 0 *********************** END /proc/mounts *********************** BEGIN /boot/grub/device.map (hd0) /dev/disk/by-id/ata-Hitachi_HTS541616J9SA00_SB2404SJJT818E *********************** END /boot/grub/device.map *********************** BEGIN /boot/grub/grub.cfg # # DO NOT EDIT THIS FILE # # It is automatically generated by grub-mkconfig using templates # from /etc/grub.d and settings from /etc/default/grub # ### BEGIN /etc/grub.d/00_header ### if [ -s $prefix/grubenv ]; then load_env fi set default="0" if [ "${prev_saved_entry}" ]; then set saved_entry="${prev_saved_entry}" save_env saved_entry set prev_saved_entry= save_env prev_saved_entry set boot_once=true fi function savedefault { if [ -z "${boot_once}" ]; then saved_entry="${chosen}" save_env saved_entry fi } function load_video { insmod vbe insmod vga insmod video_bochs insmod video_cirrus } insmod part_gpt insmod ext2 set root='(hd0,gpt2)' search --no-floppy --fs-uuid --set=root e8cf781f-b835-422d-b500-77da7fbc83d6 if loadfont /grub/unicode.pf2 ; then set gfxmode=640x480 load_video insmod gfxterm insmod part_gpt insmod ext2 set root='(hd0,gpt2)' search --no-floppy --fs-uuid --set=root e8cf781f-b835-422d-b500-77da7fbc83d6 set locale_dir=($root)/grub/locale set lang=en_US insmod gettext fi terminal_output gfxterm set timeout=5 ### END /etc/grub.d/00_header ### ### BEGIN /etc/grub.d/05_debian_theme ### insmod part_gpt insmod ext2 set root='(hd0,gpt2)' search --no-floppy --fs-uuid --set=root e8cf781f-b835-422d-b500-77da7fbc83d6 insmod png if background_image /grub/.background_cache.png; then set color_normal=white/black set color_highlight=black/white else set menu_color_normal=cyan/blue set menu_color_highlight=white/blue fi ### END /etc/grub.d/05_debian_theme ### ### BEGIN /etc/grub.d/10_linux ### menuentry 'Debian GNU/Linux, with Linux 3.2.0-4-amd64' --class debian --class gnu-linux --class gnu --class os { load_video insmod gzio insmod part_gpt insmod ext2 set root='(hd0,gpt2)' search --no-floppy --fs-uuid --set=root e8cf781f-b835-422d-b500-77da7fbc83d6 echo 'Loading Linux 3.2.0-4-amd64 ...' linux /vmlinuz-3.2.0-4-amd64 ro boot=zfs rpool=philipjfry quiet splash cryptopts=target=philipjfry,source=/dev/sda1 echo 'Loading initial ramdisk ...' initrd /initrd.img-3.2.0-4-amd64 } menuentry 'Debian GNU/Linux, with Linux 3.2.0-4-amd64 (recovery mode)' --class debian --class gnu-linux --class gnu --class os { load_video insmod gzio insmod part_gpt insmod ext2 set root='(hd0,gpt2)' search --no-floppy --fs-uuid --set=root e8cf781f-b835-422d-b500-77da7fbc83d6 echo 'Loading Linux 3.2.0-4-amd64 ...' linux /vmlinuz-3.2.0-4-amd64 ro boot=zfs rpool=philipjfry quiet splash cryptopts=target=philipjfry,source=/dev/sda1 echo 'Loading initial ramdisk ...' initrd /initrd.img-3.2.0-4-amd64 } ### END /etc/grub.d/10_linux ### ### BEGIN /etc/grub.d/20_linux_xen ### ### END /etc/grub.d/20_linux_xen ### ### BEGIN /etc/grub.d/20_memtest86+ ### menuentry "Memory test (memtest86+)" { insmod part_gpt insmod ext2 set root='(hd0,gpt2)' search --no-floppy --fs-uuid --set=root e8cf781f-b835-422d-b500-77da7fbc83d6 linux16 /memtest86+.bin } menuentry "Memory test (memtest86+, serial console 115200)" { insmod part_gpt insmod ext2 set root='(hd0,gpt2)' search --no-floppy --fs-uuid --set=root e8cf781f-b835-422d-b500-77da7fbc83d6 linux16 /memtest86+.bin console=ttyS0,115200n8 } menuentry "Memory test (memtest86+, experimental multiboot)" { insmod part_gpt insmod ext2 set root='(hd0,gpt2)' search --no-floppy --fs-uuid --set=root e8cf781f-b835-422d-b500-77da7fbc83d6 multiboot /memtest86+_multiboot.bin } menuentry "Memory test (memtest86+, serial console 115200, experimental multiboot)" { insmod part_gpt insmod ext2 set root='(hd0,gpt2)' search --no-floppy --fs-uuid --set=root e8cf781f-b835-422d-b500-77da7fbc83d6 multiboot /memtest86+_multiboot.bin console=ttyS0,115200n8 } ### END /etc/grub.d/20_memtest86+ ### ### BEGIN /etc/grub.d/30_os-prober ### ### END /etc/grub.d/30_os-prober ### ### BEGIN /etc/grub.d/40_custom ### # This file provides an easy way to add custom menu entries. Simply type the # menu entries you want to add after this comment. Be careful not to change # the 'exec tail' line above. ### END /etc/grub.d/40_custom ### ### BEGIN /etc/grub.d/41_custom ### if [ -f $prefix/custom.cfg ]; then source $prefix/custom.cfg; fi ### END /etc/grub.d/41_custom ### *********************** END /boot/grub/grub.cfg *********************** BEGIN /proc/mdstat cat: /proc/mdstat: No such file or directory *********************** END /proc/mdstat *********************** BEGIN LVM *********************** END LVM *********************** BEGIN /dev/disk/by-id total 0 lrwxrwxrwx 1 root root 9 Apr 29 14:44 ata-Hitachi_HTS541616J9SA00_SB2404SJJT818E -> ../../sda lrwxrwxrwx 1 root root 10 Apr 29 14:18 ata-Hitachi_HTS541616J9SA00_SB2404SJJT818E-part1 -> ../../sda1 lrwxrwxrwx 1 root root 10 Apr 29 14:18 ata-Hitachi_HTS541616J9SA00_SB2404SJJT818E-part2 -> ../../sda2 lrwxrwxrwx 1 root root 10 Apr 29 14:18 ata-Hitachi_HTS541616J9SA00_SB2404SJJT818E-part9 -> ../../sda9 lrwxrwxrwx 1 root root 9 Apr 29 14:18 ata-Optiarc_DVD_RW_AD-7563A_30650010_1014851Q111 -> ../../sr0 lrwxrwxrwx 1 root root 10 Apr 29 14:18 dm-name-philipjfry -> ../../dm-0 lrwxrwxrwx 1 root root 10 Apr 29 14:18 dm-uuid-CRYPT-LUKS1-df5177c304e748c1b04264c81002e82f-philipjfry -> ../../dm-0 lrwxrwxrwx 1 root root 9 Apr 29 14:44 scsi-SATA_Hitachi_HTS5416_SB2404SJJT818E -> ../../sda lrwxrwxrwx 1 root root 10 Apr 29 14:18 scsi-SATA_Hitachi_HTS5416_SB2404SJJT818E-part1 -> ../../sda1 lrwxrwxrwx 1 root root 10 Apr 29 14:18 scsi-SATA_Hitachi_HTS5416_SB2404SJJT818E-part2 -> ../../sda2 lrwxrwxrwx 1 root root 10 Apr 29 14:18 scsi-SATA_Hitachi_HTS5416_SB2404SJJT818E-part9 -> ../../sda9 lrwxrwxrwx 1 root root 9 Apr 29 14:50 usb-Generic-_Multi-Card_20060413092100000-0:0 -> ../../sdb lrwxrwxrwx 1 root root 9 Apr 29 14:44 wwn-0x5000cca51fe73619 -> ../../sda lrwxrwxrwx 1 root root 10 Apr 29 14:18 wwn-0x5000cca51fe73619-part1 -> ../../sda1 lrwxrwxrwx 1 root root 10 Apr 29 14:18 wwn-0x5000cca51fe73619-part2 -> ../../sda2 lrwxrwxrwx 1 root root 10 Apr 29 14:18 wwn-0x5000cca51fe73619-part9 -> ../../sda9 *********************** END /dev/disk/by-id *********************** BEGIN /dev/disk/by-uuid total 0 lrwxrwxrwx 1 root root 9 Apr 29 14:18 d6443f5a-e5a6-4194-b27c-9bae74251462 -> ../../zd0 lrwxrwxrwx 1 root root 10 Apr 29 14:18 df5177c3-04e7-48c1-b042-64c81002e82f -> ../../sda1 lrwxrwxrwx 1 root root 10 Apr 29 14:18 e8cf781f-b835-422d-b500-77da7fbc83d6 -> ../../sda2 *********************** END /dev/disk/by-uuid -- System Information: Debian Release: 7.0 APT prefers testing-updates APT policy: (500, 'testing-updates'), (500, 'testing'), (1, 'experimental') Architecture: amd64 (x86_64) Foreign Architectures: i386 Kernel: Linux 3.2.0-4-amd64 (SMP w/2 CPU cores) Locale: LANG=en_US.utf8, LC_CTYPE=en_US.utf8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Versions of packages grub-pc depends on: ii debconf [debconf-2.0] 1.5.49 ii grub-common 1.99-27+deb7u1 ii grub-pc-bin 1.99-27+deb7u1 ii grub2-common 1.99-27+deb7u1 ii ucf 3.0025+nmu3 grub-pc recommends no packages. grub-pc suggests no packages. -- debconf information: grub-pc/kopt_extracted: false grub2/kfreebsd_cmdline: grub2/device_map_regenerated: * grub-pc/install_devices: /dev/disk/by-id/ata-Hitachi_HTS541616J9SA00_SB2404SJJT818E grub-pc/postrm_purge_boot_grub: false grub-pc/install_devices_failed_upgrade: true grub-pc/disk_description: * grub2/linux_cmdline: * grub-pc/install_devices_empty: true grub2/kfreebsd_cmdline_default: quiet grub-pc/partition_description: grub-pc/install_devices_failed: false grub-pc/install_devices_disks_changed: * grub2/linux_cmdline_default: splash quiet grub-pc/chainload_from_menu.lst: true grub-pc/mixed_legacy_and_grub2: true -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org