Bug#840204: grub-pc: "GRUB! error: unknown filesystem" on ext4 with filesystem-level encryption
Luca Boncompagni
lbonco at gmail.com
Sun Oct 9 14:53:14 UTC 2016
Package: grub-pc
Version: 2.02~beta2-36
Severity: normal
Tags: upstream
Dear Maintainer,
I enabled ext4 filesystem-level encryption with:
tune2fs -O encrypt /dev/sda1
On the next reboot I get "unknown filesystem".
If I try to run grub-probe I get the same error-message.
# grub-probe -d /dev/sda1
grub-probe: error: unknown filesystem.
Luca
-- Package-specific info:
*********************** BEGIN /proc/mounts
/dev/sda1 / ext4 rw,noatime,nodiratime,errors=remount-ro,data=ordered 0 0
*********************** END /proc/mounts
*********************** 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
set have_grubenv=true
load_env
fi
if [ "${next_entry}" ] ; then
set default="${next_entry}"
set next_entry=
save_env next_entry
set boot_once=true
else
set default="0"
fi
if [ x"${feature_menuentry_id}" = xy ]; then
menuentry_id_option="--id"
else
menuentry_id_option=""
fi
export menuentry_id_option
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 {
if [ x$feature_all_video_module = xy ]; then
insmod all_video
else
insmod efi_gop
insmod efi_uga
insmod ieee1275_fb
insmod vbe
insmod vga
insmod video_bochs
insmod video_cirrus
fi
}
if loadfont unicode ; then
set gfxmode=auto
load_video
insmod gfxterm
set locale_dir=$prefix/locale
set lang=it_IT
insmod gettext
fi
terminal_output gfxterm
if [ "${recordfail}" = 1 ] ; then
set timeout=30
else
if [ x$feature_timeout_style = xy ] ; then
set timeout_style=menu
set timeout=5
# Fallback normal timeout code in case the timeout_style feature is
# unavailable.
else
set timeout=5
fi
fi
### END /etc/grub.d/00_header ###
### BEGIN /etc/grub.d/05_debian_theme ###
insmod part_msdos
set root='hd0,msdos1'
insmod png
if background_image /boot/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 ###
function gfxmode {
set gfxpayload="${1}"
}
set linux_gfx_mode=
export linux_gfx_mode
menuentry 'Debian GNU/Linux' --class debian --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-simple-/dev/sda1' {
load_video
insmod gzio
if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
insmod part_msdos
echo 'Caricamento Linux 4.7.0-1-amd64...'
linux /boot/vmlinuz-4.7.0-1-amd64 root=/dev/sda1 ro quiet
echo 'Caricamento ramdisk iniziale...'
initrd /boot/initrd.img-4.7.0-1-amd64
}
submenu 'Opzioni avanzate per Debian GNU/Linux' $menuentry_id_option 'gnulinux-advanced-/dev/sda1' {
menuentry 'Debian GNU/Linux, con Linux 4.7.0-1-amd64' --class debian --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.7.0-1-amd64-advanced-/dev/sda1' {
load_video
insmod gzio
if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
insmod part_msdos
echo 'Caricamento Linux 4.7.0-1-amd64...'
linux /boot/vmlinuz-4.7.0-1-amd64 root=/dev/sda1 ro quiet
echo 'Caricamento ramdisk iniziale...'
initrd /boot/initrd.img-4.7.0-1-amd64
}
menuentry 'Debian GNU/Linux, with Linux 4.7.0-1-amd64 (recovery mode)' --class debian --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.7.0-1-amd64-recovery-/dev/sda1' {
load_video
insmod gzio
if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
insmod part_msdos
echo 'Caricamento Linux 4.7.0-1-amd64...'
linux /boot/vmlinuz-4.7.0-1-amd64 root=/dev/sda1 ro single
echo 'Caricamento ramdisk iniziale...'
initrd /boot/initrd.img-4.7.0-1-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/30_os-prober ###
### END /etc/grub.d/30_os-prober ###
### BEGIN /etc/grub.d/30_uefi-firmware ###
### END /etc/grub.d/30_uefi-firmware ###
### 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 ${config_directory}/custom.cfg ]; then
source ${config_directory}/custom.cfg
elif [ -z "${config_directory}" -a -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 Oct 7 21:31 ata-INTEL_SSDSC2BF180A4L_CVDA412403GC1802GN -> ../../sda
lrwxrwxrwx 1 root root 10 Oct 7 21:31 ata-INTEL_SSDSC2BF180A4L_CVDA412403GC1802GN-part1 -> ../../sda1
lrwxrwxrwx 1 root root 10 Oct 7 21:31 ata-INTEL_SSDSC2BF180A4L_CVDA412403GC1802GN-part2 -> ../../sda2
lrwxrwxrwx 1 root root 9 Oct 7 21:31 wwn-0x55cd2e404b9afeb0 -> ../../sda
lrwxrwxrwx 1 root root 10 Oct 7 21:31 wwn-0x55cd2e404b9afeb0-part1 -> ../../sda1
lrwxrwxrwx 1 root root 10 Oct 7 21:31 wwn-0x55cd2e404b9afeb0-part2 -> ../../sda2
*********************** END /dev/disk/by-id
*********************** BEGIN /dev/disk/by-uuid
total 0
lrwxrwxrwx 1 root root 10 Oct 7 21:31 07294130-aba6-4690-90ed-af534a3961f0 -> ../../sda1
lrwxrwxrwx 1 root root 10 Oct 7 21:31 7d078d76-5551-4fdf-a149-2ae1483b76ed -> ../../sda2
*********************** END /dev/disk/by-uuid
-- System Information:
Debian Release: stretch/sid
APT prefers testing
APT policy: (900, 'testing'), (800, 'unstable')
Architecture: amd64 (x86_64)
Kernel: Linux 4.7.0-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=it_IT.UTF-8, LC_CTYPE=it_IT.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
Versions of packages grub-pc depends on:
ii debconf [debconf-2.0] 1.5.59
ii dpkg 1.18.10
ii grub-common 2.02~beta2-36
ii grub-pc-bin 2.02~beta2-36
ii grub2-common 2.02~beta2-36
ii ucf 3.0036
grub-pc recommends no packages.
grub-pc suggests no packages.
-- debconf-show failed
More information about the Pkg-grub-devel
mailing list