Bug#781112: grub-common: grub-probe fails with 'Unknown filesystem' for JFS2
Christian Franke
nobody-debian at nowhere.ws
Tue Mar 24 16:42:52 UTC 2015
Package: grub-common
Version: 2.02~beta2-21
Severity: important
Dear Maintainer,
I just tried to install Debian Jessie using the current debian-installer for Jessie.
I went through the installation and created a partition layout like this:
/dev/vda1 2GiB Swap
/dev/vda2 40GiB JFS2
I have other installations with Debian Wheezy that work fine with this and installation
progressed normally. However, finishing up the installation and trying to install grub
to /dev/vda, I got a fatal error "unknown filesystem".
Entering the newly installed system from the chroot, the issue seems to be that update-grub
fails because the call 'grub-probe --target=fs -d /dev/vda2' fails with 'Unknown filesystem'
instead of returning the correct value.
# file -Ls /dev/vda2
/dev/vda2: JFS2 filesystem image, 79713504 blocks, blocksize 4096
# grub-probe --target=fs -d /dev/vda2
grub-probe: error: unknown filesystem.
I would have expected to be able to just install grub with the JFS as root device, as it did
quite a few times before.
-- Package-specific info:
*********************** BEGIN /proc/mounts
/dev/vda2 / jfs rw,noatime 0 0
/dev/vda2 /dev/.static/dev jfs rw,noatime 0 0
/dev/sr0 /cdrom iso9660 ro,relatime 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
fi
terminal_output gfxterm
if [ "${recordfail}" = 1 ] ; then
set timeout=-1
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 ###
set menu_color_normal=cyan/blue
set menu_color_highlight=white/blue
### 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/vda2' {
load_video
insmod gzio
if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
insmod part_msdos
echo 'Loading Linux 3.16.0-4-amd64 ...'
linux /boot/vmlinuz-3.16.0-4-amd64 root=/dev/vda2 ro quiet
echo 'Loading initial ramdisk ...'
initrd /boot/initrd.img-3.16.0-4-amd64
}
submenu 'Advanced options for Debian GNU/Linux' $menuentry_id_option 'gnulinux-advanced-/dev/vda2' {
menuentry 'Debian GNU/Linux, with Linux 3.16.0-4-amd64' --class debian --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-3.16.0-4-amd64-advanced-/dev/vda2' {
load_video
insmod gzio
if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
insmod part_msdos
echo 'Loading Linux 3.16.0-4-amd64 ...'
linux /boot/vmlinuz-3.16.0-4-amd64 root=/dev/vda2 ro quiet
echo 'Loading initial ramdisk ...'
initrd /boot/initrd.img-3.16.0-4-amd64
}
menuentry 'Debian GNU/Linux, with Linux 3.16.0-4-amd64 (recovery mode)' --class debian --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-3.16.0-4-amd64-recovery-/dev/vda2' {
load_video
insmod gzio
if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
insmod part_msdos
echo 'Loading Linux 3.16.0-4-amd64 ...'
linux /boot/vmlinuz-3.16.0-4-amd64 root=/dev/vda2 ro single
echo 'Loading initial ramdisk ...'
initrd /boot/initrd.img-3.16.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/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
Personalities :
unused devices: <none>
*********************** END /proc/mdstat
*********************** BEGIN /dev/disk/by-id
total 0
lrwxrwxrwx 1 root root 9 Mar 24 15:52 ata-QEMU_DVD-ROM_QM00001 -> ../../sr0
*********************** END /dev/disk/by-id
*********************** BEGIN /dev/disk/by-uuid
total 0
lrwxrwxrwx 1 root root 9 Mar 24 15:52 2015-01-09-01-06-21-00 -> ../../sr0
lrwxrwxrwx 1 root root 10 Mar 24 16:09 2a7064f7-ed68-43f0-b3e5-e5fab535dde5 -> ../../vda2
lrwxrwxrwx 1 root root 10 Mar 24 16:09 5a75b81b-2903-467f-ab3c-c1b098152463 -> ../../vda1
*********************** END /dev/disk/by-uuid
-- System Information:
Debian Release: 8.0
APT prefers testing
APT policy: (500, 'testing')
Architecture: amd64 (x86_64)
Kernel: Linux 3.16.0-4-amd64 (SMP w/2 CPU cores)
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)
Shell: /bin/sh linked to /bin/dash
Init: unable to detect
Versions of packages grub-common depends on:
ii gettext-base 0.19.3-2
ii libc6 2.19-15
ii libdevmapper1.02.1 2:1.02.90-2.1
ii libfreetype6 2.5.2-3
ii libfuse2 2.9.3-15+b1
ii liblzma5 5.1.1alpha+20120614-2+b3
ii libpng12-0 1.2.50-2+b2
ii zlib1g 1:1.2.8.dfsg-2+b1
Versions of packages grub-common recommends:
ii os-prober 1.65
Versions of packages grub-common suggests:
ii console-setup 1.119
pn desktop-base <none>
pn grub-emu <none>
pn multiboot-doc <none>
pn xorriso <none>
-- no debconf information
More information about the Pkg-grub-devel
mailing list