Bug#721504: booting from zfs fails with "checksum verification failed"
Christoph Egger
christoph at debian.org
Sun Sep 1 11:40:29 UTC 2013
Package: grub-pc
Version: 2.00-18
Severity: grave
Upgrading grub from -15 to -18 causes a immediate boot failure. Grub gets
into rescue mode with "checksum verification failed" and `insmod normal`
fails with the same message. Booting into a live system the zfs imports
just fine and after downgrading grub everything's back to normal.
Christoph
-- Package-specific info:
*********************** BEGIN /proc/mounts
/dev/da0s1 /mnt/passport ext2fs rw 0 0
*********************** END /proc/mounts
*********************** BEGIN /boot/grub/device.map
*********************** 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 [ 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 [ x$feature_default_font_path = xy ] ; then
font=unicode
else
insmod part_msdos
insmod zfs
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root d610af6cf49f9371
else
search --no-floppy --fs-uuid --set=root d610af6cf49f9371
fi
font="/root/@/usr/share/grub/unicode.pf2"
fi
if loadfont $font ; then
set gfxmode=auto
load_video
insmod gfxterm
set locale_dir=$prefix/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 ###
set menu_color_normal=cyan/blue
set menu_color_highlight=white/blue
### END /etc/grub.d/05_debian_theme ###
### BEGIN /etc/grub.d/10_kfreebsd ###
menuentry 'Debian GNU/kFreeBSD' --class debian --class gnu-kfreebsd --class gnu --class os $menuentry_id_option 'kfreebsd-simple-d610af6cf49f9371' {
insmod part_msdos
insmod zfs
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root d610af6cf49f9371
else
search --no-floppy --fs-uuid --set=root d610af6cf49f9371
fi
echo 'Loading kernel of FreeBSD 10.0-0-amd64 ...'
kfreebsd /root/@/boot/kfreebsd-10.0-0-amd64.gz
kfreebsd_loadenv /root/@/boot/device.hints
insmod part_msdos
insmod zfs
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root d610af6cf49f9371
else
search --no-floppy --fs-uuid --set=root d610af6cf49f9371
fi
kfreebsd_module_elf /root/@/lib/modules/10.0-0-amd64/opensolaris.ko
insmod part_msdos
insmod zfs
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root d610af6cf49f9371
else
search --no-floppy --fs-uuid --set=root d610af6cf49f9371
fi
kfreebsd_module /root/@/boot/zfs/zpool.cache type=/boot/zfs/zpool.cache
insmod part_msdos
insmod zfs
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root d610af6cf49f9371
else
search --no-floppy --fs-uuid --set=root d610af6cf49f9371
fi
kfreebsd_module_elf /root/@/lib/modules/10.0-0-amd64/zfs.ko
set kFreeBSD.vfs.root.mountfrom=zfs:base/root
set kFreeBSD.vfs.root.mountfrom.options=rw
set kFreeBSD.vfs.zfs.trim_disable=0
set kFreeBSD.kern.hz=100
set kFreeBSD.hint.atrtc.0.clock=0
set kFreeBSD.hint.p4tcc.0.disabled=1
set kFreeBSD.hint.acpi_throttle.0.disabled=1
set kFreeBSD.hint.apic.0.clock=0
}
submenu 'Advanced options for Debian GNU/kFreeBSD' $menuentry_id_option 'kfreebsd-advanced-d610af6cf49f9371' {
menuentry 'Debian GNU/kFreeBSD, with kFreeBSD 10.0-0-amd64' --class debian --class gnu-kfreebsd --class gnu --class os $menuentry_id_option 'kfreebsd-10.0-0-amd64-advanced-d610af6cf49f9371' {
insmod part_msdos
insmod zfs
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root d610af6cf49f9371
else
search --no-floppy --fs-uuid --set=root d610af6cf49f9371
fi
echo 'Loading kernel of FreeBSD 10.0-0-amd64 ...'
kfreebsd /root/@/boot/kfreebsd-10.0-0-amd64.gz
kfreebsd_loadenv /root/@/boot/device.hints
insmod part_msdos
insmod zfs
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root d610af6cf49f9371
else
search --no-floppy --fs-uuid --set=root d610af6cf49f9371
fi
kfreebsd_module_elf /root/@/lib/modules/10.0-0-amd64/opensolaris.ko
insmod part_msdos
insmod zfs
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root d610af6cf49f9371
else
search --no-floppy --fs-uuid --set=root d610af6cf49f9371
fi
kfreebsd_module /root/@/boot/zfs/zpool.cache type=/boot/zfs/zpool.cache
insmod part_msdos
insmod zfs
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root d610af6cf49f9371
else
search --no-floppy --fs-uuid --set=root d610af6cf49f9371
fi
kfreebsd_module_elf /root/@/lib/modules/10.0-0-amd64/zfs.ko
set kFreeBSD.vfs.root.mountfrom=zfs:base/root
set kFreeBSD.vfs.root.mountfrom.options=rw
set kFreeBSD.vfs.zfs.trim_disable=0
set kFreeBSD.kern.hz=100
set kFreeBSD.hint.atrtc.0.clock=0
set kFreeBSD.hint.p4tcc.0.disabled=1
set kFreeBSD.hint.acpi_throttle.0.disabled=1
set kFreeBSD.hint.apic.0.clock=0
}
menuentry 'Debian GNU/kFreeBSD, with kFreeBSD 10.0-0-amd64 (recovery mode)' --class debian --class gnu-kfreebsd --class gnu --class os $menuentry_id_option 'kfreebsd-10.0-0-amd64-recovery-d610af6cf49f9371' {
insmod part_msdos
insmod zfs
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root d610af6cf49f9371
else
search --no-floppy --fs-uuid --set=root d610af6cf49f9371
fi
echo 'Loading kernel of FreeBSD 10.0-0-amd64 ...'
kfreebsd /root/@/boot/kfreebsd-10.0-0-amd64.gz -s
kfreebsd_loadenv /root/@/boot/device.hints
insmod part_msdos
insmod zfs
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root d610af6cf49f9371
else
search --no-floppy --fs-uuid --set=root d610af6cf49f9371
fi
kfreebsd_module_elf /root/@/lib/modules/10.0-0-amd64/opensolaris.ko
insmod part_msdos
insmod zfs
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root d610af6cf49f9371
else
search --no-floppy --fs-uuid --set=root d610af6cf49f9371
fi
kfreebsd_module /root/@/boot/zfs/zpool.cache type=/boot/zfs/zpool.cache
insmod part_msdos
insmod zfs
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root d610af6cf49f9371
else
search --no-floppy --fs-uuid --set=root d610af6cf49f9371
fi
kfreebsd_module_elf /root/@/lib/modules/10.0-0-amd64/zfs.ko
set kFreeBSD.vfs.root.mountfrom=zfs:base/root
set kFreeBSD.vfs.root.mountfrom.options=rw
set kFreeBSD.vfs.zfs.trim_disable=0
set kFreeBSD.kern.hz=100
set kFreeBSD.hint.atrtc.0.clock=0
set kFreeBSD.hint.p4tcc.0.disabled=1
set kFreeBSD.hint.acpi_throttle.0.disabled=1
set kFreeBSD.hint.apic.0.clock=0
}
menuentry 'Debian GNU/kFreeBSD, with kFreeBSD 10.0-CURRENT' --class debian --class gnu-kfreebsd --class gnu --class os $menuentry_id_option 'kfreebsd-10.0-CURRENT-advanced-d610af6cf49f9371' {
insmod part_msdos
insmod zfs
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root d610af6cf49f9371
else
search --no-floppy --fs-uuid --set=root d610af6cf49f9371
fi
echo 'Loading kernel of FreeBSD 10.0-CURRENT ...'
kfreebsd /root/@/boot/kfreebsd-10.0-CURRENT.gz
kfreebsd_loadenv /root/@/boot/device.hints
insmod part_msdos
insmod zfs
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root d610af6cf49f9371
else
search --no-floppy --fs-uuid --set=root d610af6cf49f9371
fi
kfreebsd_module_elf /root/@/lib/modules/10.0-CURRENT/opensolaris.ko
insmod part_msdos
insmod zfs
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root d610af6cf49f9371
else
search --no-floppy --fs-uuid --set=root d610af6cf49f9371
fi
kfreebsd_module /root/@/boot/zfs/zpool.cache type=/boot/zfs/zpool.cache
insmod part_msdos
insmod zfs
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root d610af6cf49f9371
else
search --no-floppy --fs-uuid --set=root d610af6cf49f9371
fi
kfreebsd_module_elf /root/@/lib/modules/10.0-CURRENT/zfs.ko
set kFreeBSD.vfs.root.mountfrom=zfs:base/root
set kFreeBSD.vfs.root.mountfrom.options=rw
set kFreeBSD.vfs.zfs.trim_disable=0
set kFreeBSD.kern.hz=100
set kFreeBSD.hint.atrtc.0.clock=0
set kFreeBSD.hint.p4tcc.0.disabled=1
set kFreeBSD.hint.acpi_throttle.0.disabled=1
set kFreeBSD.hint.apic.0.clock=0
}
menuentry 'Debian GNU/kFreeBSD, with kFreeBSD 10.0-CURRENT (recovery mode)' --class debian --class gnu-kfreebsd --class gnu --class os $menuentry_id_option 'kfreebsd-10.0-CURRENT-recovery-d610af6cf49f9371' {
insmod part_msdos
insmod zfs
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root d610af6cf49f9371
else
search --no-floppy --fs-uuid --set=root d610af6cf49f9371
fi
echo 'Loading kernel of FreeBSD 10.0-CURRENT ...'
kfreebsd /root/@/boot/kfreebsd-10.0-CURRENT.gz -s
kfreebsd_loadenv /root/@/boot/device.hints
insmod part_msdos
insmod zfs
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root d610af6cf49f9371
else
search --no-floppy --fs-uuid --set=root d610af6cf49f9371
fi
kfreebsd_module_elf /root/@/lib/modules/10.0-CURRENT/opensolaris.ko
insmod part_msdos
insmod zfs
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root d610af6cf49f9371
else
search --no-floppy --fs-uuid --set=root d610af6cf49f9371
fi
kfreebsd_module /root/@/boot/zfs/zpool.cache type=/boot/zfs/zpool.cache
insmod part_msdos
insmod zfs
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root d610af6cf49f9371
else
search --no-floppy --fs-uuid --set=root d610af6cf49f9371
fi
kfreebsd_module_elf /root/@/lib/modules/10.0-CURRENT/zfs.ko
set kFreeBSD.vfs.root.mountfrom=zfs:base/root
set kFreeBSD.vfs.root.mountfrom.options=rw
set kFreeBSD.vfs.zfs.trim_disable=0
set kFreeBSD.kern.hz=100
set kFreeBSD.hint.atrtc.0.clock=0
set kFreeBSD.hint.p4tcc.0.disabled=1
set kFreeBSD.hint.acpi_throttle.0.disabled=1
set kFreeBSD.hint.apic.0.clock=0
}
menuentry 'Debian GNU/kFreeBSD, with kFreeBSD 9.2-RC2' --class debian --class gnu-kfreebsd --class gnu --class os $menuentry_id_option 'kfreebsd-9.2-RC2-advanced-d610af6cf49f9371' {
insmod part_msdos
insmod zfs
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root d610af6cf49f9371
else
search --no-floppy --fs-uuid --set=root d610af6cf49f9371
fi
echo 'Loading kernel of FreeBSD 9.2-RC2 ...'
kfreebsd /root/@/boot/kfreebsd-9.2-RC2.gz
kfreebsd_loadenv /root/@/boot/device.hints
insmod part_msdos
insmod zfs
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root d610af6cf49f9371
else
search --no-floppy --fs-uuid --set=root d610af6cf49f9371
fi
kfreebsd_module_elf /root/@/lib/modules/9.2-RC2/opensolaris.ko
insmod part_msdos
insmod zfs
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root d610af6cf49f9371
else
search --no-floppy --fs-uuid --set=root d610af6cf49f9371
fi
kfreebsd_module /root/@/boot/zfs/zpool.cache type=/boot/zfs/zpool.cache
insmod part_msdos
insmod zfs
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root d610af6cf49f9371
else
search --no-floppy --fs-uuid --set=root d610af6cf49f9371
fi
kfreebsd_module_elf /root/@/lib/modules/9.2-RC2/zfs.ko
set kFreeBSD.vfs.root.mountfrom=zfs:base/root
set kFreeBSD.vfs.root.mountfrom.options=rw
set kFreeBSD.vfs.zfs.trim_disable=0
set kFreeBSD.kern.hz=100
set kFreeBSD.hint.atrtc.0.clock=0
set kFreeBSD.hint.p4tcc.0.disabled=1
set kFreeBSD.hint.acpi_throttle.0.disabled=1
set kFreeBSD.hint.apic.0.clock=0
}
menuentry 'Debian GNU/kFreeBSD, with kFreeBSD 9.2-RC2 (recovery mode)' --class debian --class gnu-kfreebsd --class gnu --class os $menuentry_id_option 'kfreebsd-9.2-RC2-recovery-d610af6cf49f9371' {
insmod part_msdos
insmod zfs
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root d610af6cf49f9371
else
search --no-floppy --fs-uuid --set=root d610af6cf49f9371
fi
echo 'Loading kernel of FreeBSD 9.2-RC2 ...'
kfreebsd /root/@/boot/kfreebsd-9.2-RC2.gz -s
kfreebsd_loadenv /root/@/boot/device.hints
insmod part_msdos
insmod zfs
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root d610af6cf49f9371
else
search --no-floppy --fs-uuid --set=root d610af6cf49f9371
fi
kfreebsd_module_elf /root/@/lib/modules/9.2-RC2/opensolaris.ko
insmod part_msdos
insmod zfs
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root d610af6cf49f9371
else
search --no-floppy --fs-uuid --set=root d610af6cf49f9371
fi
kfreebsd_module /root/@/boot/zfs/zpool.cache type=/boot/zfs/zpool.cache
insmod part_msdos
insmod zfs
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root d610af6cf49f9371
else
search --no-floppy --fs-uuid --set=root d610af6cf49f9371
fi
kfreebsd_module_elf /root/@/lib/modules/9.2-RC2/zfs.ko
set kFreeBSD.vfs.root.mountfrom=zfs:base/root
set kFreeBSD.vfs.root.mountfrom.options=rw
set kFreeBSD.vfs.zfs.trim_disable=0
set kFreeBSD.kern.hz=100
set kFreeBSD.hint.atrtc.0.clock=0
set kFreeBSD.hint.p4tcc.0.disabled=1
set kFreeBSD.hint.acpi_throttle.0.disabled=1
set kFreeBSD.hint.apic.0.clock=0
}
menuentry 'Debian GNU/kFreeBSD, with kFreeBSD 9.1-1-amd64' --class debian --class gnu-kfreebsd --class gnu --class os $menuentry_id_option 'kfreebsd-9.1-1-amd64-advanced-d610af6cf49f9371' {
insmod part_msdos
insmod zfs
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root d610af6cf49f9371
else
search --no-floppy --fs-uuid --set=root d610af6cf49f9371
fi
echo 'Loading kernel of FreeBSD 9.1-1-amd64 ...'
kfreebsd /root/@/boot/kfreebsd-9.1-1-amd64.gz
kfreebsd_loadenv /root/@/boot/device.hints
insmod part_msdos
insmod zfs
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root d610af6cf49f9371
else
search --no-floppy --fs-uuid --set=root d610af6cf49f9371
fi
kfreebsd_module_elf /root/@/lib/modules/9.1-1-amd64/opensolaris.ko
insmod part_msdos
insmod zfs
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root d610af6cf49f9371
else
search --no-floppy --fs-uuid --set=root d610af6cf49f9371
fi
kfreebsd_module /root/@/boot/zfs/zpool.cache type=/boot/zfs/zpool.cache
insmod part_msdos
insmod zfs
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root d610af6cf49f9371
else
search --no-floppy --fs-uuid --set=root d610af6cf49f9371
fi
kfreebsd_module_elf /root/@/lib/modules/9.1-1-amd64/zfs.ko
set kFreeBSD.vfs.root.mountfrom=zfs:base/root
set kFreeBSD.vfs.root.mountfrom.options=rw
set kFreeBSD.vfs.zfs.trim_disable=0
set kFreeBSD.kern.hz=100
set kFreeBSD.hint.atrtc.0.clock=0
set kFreeBSD.hint.p4tcc.0.disabled=1
set kFreeBSD.hint.acpi_throttle.0.disabled=1
set kFreeBSD.hint.apic.0.clock=0
}
menuentry 'Debian GNU/kFreeBSD, with kFreeBSD 9.1-1-amd64 (recovery mode)' --class debian --class gnu-kfreebsd --class gnu --class os $menuentry_id_option 'kfreebsd-9.1-1-amd64-recovery-d610af6cf49f9371' {
insmod part_msdos
insmod zfs
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root d610af6cf49f9371
else
search --no-floppy --fs-uuid --set=root d610af6cf49f9371
fi
echo 'Loading kernel of FreeBSD 9.1-1-amd64 ...'
kfreebsd /root/@/boot/kfreebsd-9.1-1-amd64.gz -s
kfreebsd_loadenv /root/@/boot/device.hints
insmod part_msdos
insmod zfs
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root d610af6cf49f9371
else
search --no-floppy --fs-uuid --set=root d610af6cf49f9371
fi
kfreebsd_module_elf /root/@/lib/modules/9.1-1-amd64/opensolaris.ko
insmod part_msdos
insmod zfs
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root d610af6cf49f9371
else
search --no-floppy --fs-uuid --set=root d610af6cf49f9371
fi
kfreebsd_module /root/@/boot/zfs/zpool.cache type=/boot/zfs/zpool.cache
insmod part_msdos
insmod zfs
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root d610af6cf49f9371
else
search --no-floppy --fs-uuid --set=root d610af6cf49f9371
fi
kfreebsd_module_elf /root/@/lib/modules/9.1-1-amd64/zfs.ko
set kFreeBSD.vfs.root.mountfrom=zfs:base/root
set kFreeBSD.vfs.root.mountfrom.options=rw
set kFreeBSD.vfs.zfs.trim_disable=0
set kFreeBSD.kern.hz=100
set kFreeBSD.hint.atrtc.0.clock=0
set kFreeBSD.hint.p4tcc.0.disabled=1
set kFreeBSD.hint.acpi_throttle.0.disabled=1
set kFreeBSD.hint.apic.0.clock=0
}
menuentry 'Debian GNU/kFreeBSD, with kFreeBSD 9.0-2-amd64' --class debian --class gnu-kfreebsd --class gnu --class os $menuentry_id_option 'kfreebsd-9.0-2-amd64-advanced-d610af6cf49f9371' {
insmod part_msdos
insmod zfs
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root d610af6cf49f9371
else
search --no-floppy --fs-uuid --set=root d610af6cf49f9371
fi
echo 'Loading kernel of FreeBSD 9.0-2-amd64 ...'
kfreebsd /root/@/boot/kfreebsd-9.0-2-amd64.gz
kfreebsd_loadenv /root/@/boot/device.hints
insmod part_msdos
insmod zfs
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root d610af6cf49f9371
else
search --no-floppy --fs-uuid --set=root d610af6cf49f9371
fi
kfreebsd_module_elf /root/@/lib/modules/9.0-2-amd64/opensolaris.ko
insmod part_msdos
insmod zfs
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root d610af6cf49f9371
else
search --no-floppy --fs-uuid --set=root d610af6cf49f9371
fi
kfreebsd_module /root/@/boot/zfs/zpool.cache type=/boot/zfs/zpool.cache
insmod part_msdos
insmod zfs
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root d610af6cf49f9371
else
search --no-floppy --fs-uuid --set=root d610af6cf49f9371
fi
kfreebsd_module_elf /root/@/lib/modules/9.0-2-amd64/zfs.ko
set kFreeBSD.vfs.root.mountfrom=zfs:base/root
set kFreeBSD.vfs.root.mountfrom.options=rw
set kFreeBSD.vfs.zfs.trim_disable=0
set kFreeBSD.kern.hz=100
set kFreeBSD.hint.atrtc.0.clock=0
set kFreeBSD.hint.p4tcc.0.disabled=1
set kFreeBSD.hint.acpi_throttle.0.disabled=1
set kFreeBSD.hint.apic.0.clock=0
}
menuentry 'Debian GNU/kFreeBSD, with kFreeBSD 9.0-2-amd64 (recovery mode)' --class debian --class gnu-kfreebsd --class gnu --class os $menuentry_id_option 'kfreebsd-9.0-2-amd64-recovery-d610af6cf49f9371' {
insmod part_msdos
insmod zfs
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root d610af6cf49f9371
else
search --no-floppy --fs-uuid --set=root d610af6cf49f9371
fi
echo 'Loading kernel of FreeBSD 9.0-2-amd64 ...'
kfreebsd /root/@/boot/kfreebsd-9.0-2-amd64.gz -s
kfreebsd_loadenv /root/@/boot/device.hints
insmod part_msdos
insmod zfs
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root d610af6cf49f9371
else
search --no-floppy --fs-uuid --set=root d610af6cf49f9371
fi
kfreebsd_module_elf /root/@/lib/modules/9.0-2-amd64/opensolaris.ko
insmod part_msdos
insmod zfs
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root d610af6cf49f9371
else
search --no-floppy --fs-uuid --set=root d610af6cf49f9371
fi
kfreebsd_module /root/@/boot/zfs/zpool.cache type=/boot/zfs/zpool.cache
insmod part_msdos
insmod zfs
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root d610af6cf49f9371
else
search --no-floppy --fs-uuid --set=root d610af6cf49f9371
fi
kfreebsd_module_elf /root/@/lib/modules/9.0-2-amd64/zfs.ko
set kFreeBSD.vfs.root.mountfrom=zfs:base/root
set kFreeBSD.vfs.root.mountfrom.options=rw
set kFreeBSD.vfs.zfs.trim_disable=0
set kFreeBSD.kern.hz=100
set kFreeBSD.hint.atrtc.0.clock=0
set kFreeBSD.hint.p4tcc.0.disabled=1
set kFreeBSD.hint.acpi_throttle.0.disabled=1
set kFreeBSD.hint.apic.0.clock=0
}
menuentry 'Debian GNU/kFreeBSD, with kFreeBSD 9.0-1-amd64' --class debian --class gnu-kfreebsd --class gnu --class os $menuentry_id_option 'kfreebsd-9.0-1-amd64-advanced-d610af6cf49f9371' {
insmod part_msdos
insmod zfs
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root d610af6cf49f9371
else
search --no-floppy --fs-uuid --set=root d610af6cf49f9371
fi
echo 'Loading kernel of FreeBSD 9.0-1-amd64 ...'
kfreebsd /root/@/boot/kfreebsd-9.0-1-amd64.gz
kfreebsd_loadenv /root/@/boot/device.hints
insmod part_msdos
insmod zfs
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root d610af6cf49f9371
else
search --no-floppy --fs-uuid --set=root d610af6cf49f9371
fi
kfreebsd_module_elf /root/@/lib/modules/9.0-1-amd64/opensolaris.ko
insmod part_msdos
insmod zfs
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root d610af6cf49f9371
else
search --no-floppy --fs-uuid --set=root d610af6cf49f9371
fi
kfreebsd_module /root/@/boot/zfs/zpool.cache type=/boot/zfs/zpool.cache
insmod part_msdos
insmod zfs
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root d610af6cf49f9371
else
search --no-floppy --fs-uuid --set=root d610af6cf49f9371
fi
kfreebsd_module_elf /root/@/lib/modules/9.0-1-amd64/zfs.ko
set kFreeBSD.vfs.root.mountfrom=zfs:base/root
set kFreeBSD.vfs.root.mountfrom.options=rw
set kFreeBSD.vfs.zfs.trim_disable=0
set kFreeBSD.kern.hz=100
set kFreeBSD.hint.atrtc.0.clock=0
set kFreeBSD.hint.p4tcc.0.disabled=1
set kFreeBSD.hint.acpi_throttle.0.disabled=1
set kFreeBSD.hint.apic.0.clock=0
}
menuentry 'Debian GNU/kFreeBSD, with kFreeBSD 9.0-1-amd64 (recovery mode)' --class debian --class gnu-kfreebsd --class gnu --class os $menuentry_id_option 'kfreebsd-9.0-1-amd64-recovery-d610af6cf49f9371' {
insmod part_msdos
insmod zfs
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root d610af6cf49f9371
else
search --no-floppy --fs-uuid --set=root d610af6cf49f9371
fi
echo 'Loading kernel of FreeBSD 9.0-1-amd64 ...'
kfreebsd /root/@/boot/kfreebsd-9.0-1-amd64.gz -s
kfreebsd_loadenv /root/@/boot/device.hints
insmod part_msdos
insmod zfs
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root d610af6cf49f9371
else
search --no-floppy --fs-uuid --set=root d610af6cf49f9371
fi
kfreebsd_module_elf /root/@/lib/modules/9.0-1-amd64/opensolaris.ko
insmod part_msdos
insmod zfs
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root d610af6cf49f9371
else
search --no-floppy --fs-uuid --set=root d610af6cf49f9371
fi
kfreebsd_module /root/@/boot/zfs/zpool.cache type=/boot/zfs/zpool.cache
insmod part_msdos
insmod zfs
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root d610af6cf49f9371
else
search --no-floppy --fs-uuid --set=root d610af6cf49f9371
fi
kfreebsd_module_elf /root/@/lib/modules/9.0-1-amd64/zfs.ko
set kFreeBSD.vfs.root.mountfrom=zfs:base/root
set kFreeBSD.vfs.root.mountfrom.options=rw
set kFreeBSD.vfs.zfs.trim_disable=0
set kFreeBSD.kern.hz=100
set kFreeBSD.hint.atrtc.0.clock=0
set kFreeBSD.hint.p4tcc.0.disabled=1
set kFreeBSD.hint.acpi_throttle.0.disabled=1
set kFreeBSD.hint.apic.0.clock=0
}
menuentry 'Debian GNU/kFreeBSD, with kFreeBSD 9.0-0-amd64' --class debian --class gnu-kfreebsd --class gnu --class os $menuentry_id_option 'kfreebsd-9.0-0-amd64-advanced-d610af6cf49f9371' {
insmod part_msdos
insmod zfs
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root d610af6cf49f9371
else
search --no-floppy --fs-uuid --set=root d610af6cf49f9371
fi
echo 'Loading kernel of FreeBSD 9.0-0-amd64 ...'
kfreebsd /root/@/boot/kfreebsd-9.0-0-amd64.gz
kfreebsd_loadenv /root/@/boot/device.hints
insmod part_msdos
insmod zfs
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root d610af6cf49f9371
else
search --no-floppy --fs-uuid --set=root d610af6cf49f9371
fi
kfreebsd_module_elf /root/@/lib/modules/9.0-0-amd64/opensolaris.ko
insmod part_msdos
insmod zfs
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root d610af6cf49f9371
else
search --no-floppy --fs-uuid --set=root d610af6cf49f9371
fi
kfreebsd_module /root/@/boot/zfs/zpool.cache type=/boot/zfs/zpool.cache
insmod part_msdos
insmod zfs
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root d610af6cf49f9371
else
search --no-floppy --fs-uuid --set=root d610af6cf49f9371
fi
kfreebsd_module_elf /root/@/lib/modules/9.0-0-amd64/zfs.ko
set kFreeBSD.vfs.root.mountfrom=zfs:base/root
set kFreeBSD.vfs.root.mountfrom.options=rw
set kFreeBSD.vfs.zfs.trim_disable=0
set kFreeBSD.kern.hz=100
set kFreeBSD.hint.atrtc.0.clock=0
set kFreeBSD.hint.p4tcc.0.disabled=1
set kFreeBSD.hint.acpi_throttle.0.disabled=1
set kFreeBSD.hint.apic.0.clock=0
}
menuentry 'Debian GNU/kFreeBSD, with kFreeBSD 9.0-0-amd64 (recovery mode)' --class debian --class gnu-kfreebsd --class gnu --class os $menuentry_id_option 'kfreebsd-9.0-0-amd64-recovery-d610af6cf49f9371' {
insmod part_msdos
insmod zfs
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root d610af6cf49f9371
else
search --no-floppy --fs-uuid --set=root d610af6cf49f9371
fi
echo 'Loading kernel of FreeBSD 9.0-0-amd64 ...'
kfreebsd /root/@/boot/kfreebsd-9.0-0-amd64.gz -s
kfreebsd_loadenv /root/@/boot/device.hints
insmod part_msdos
insmod zfs
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root d610af6cf49f9371
else
search --no-floppy --fs-uuid --set=root d610af6cf49f9371
fi
kfreebsd_module_elf /root/@/lib/modules/9.0-0-amd64/opensolaris.ko
insmod part_msdos
insmod zfs
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root d610af6cf49f9371
else
search --no-floppy --fs-uuid --set=root d610af6cf49f9371
fi
kfreebsd_module /root/@/boot/zfs/zpool.cache type=/boot/zfs/zpool.cache
insmod part_msdos
insmod zfs
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root d610af6cf49f9371
else
search --no-floppy --fs-uuid --set=root d610af6cf49f9371
fi
kfreebsd_module_elf /root/@/lib/modules/9.0-0-amd64/zfs.ko
set kFreeBSD.vfs.root.mountfrom=zfs:base/root
set kFreeBSD.vfs.root.mountfrom.options=rw
set kFreeBSD.vfs.zfs.trim_disable=0
set kFreeBSD.kern.hz=100
set kFreeBSD.hint.atrtc.0.clock=0
set kFreeBSD.hint.p4tcc.0.disabled=1
set kFreeBSD.hint.acpi_throttle.0.disabled=1
set kFreeBSD.hint.apic.0.clock=0
}
menuentry 'Debian GNU/kFreeBSD, with kFreeBSD 8.3-1-amd64' --class debian --class gnu-kfreebsd --class gnu --class os $menuentry_id_option 'kfreebsd-8.3-1-amd64-advanced-d610af6cf49f9371' {
insmod part_msdos
insmod zfs
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root d610af6cf49f9371
else
search --no-floppy --fs-uuid --set=root d610af6cf49f9371
fi
echo 'Loading kernel of FreeBSD 8.3-1-amd64 ...'
kfreebsd /root/@/boot/kfreebsd-8.3-1-amd64.gz
kfreebsd_loadenv /root/@/boot/device.hints
insmod part_msdos
insmod zfs
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root d610af6cf49f9371
else
search --no-floppy --fs-uuid --set=root d610af6cf49f9371
fi
kfreebsd_module_elf /root/@/lib/modules/8.3-1-amd64/opensolaris.ko
insmod part_msdos
insmod zfs
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root d610af6cf49f9371
else
search --no-floppy --fs-uuid --set=root d610af6cf49f9371
fi
kfreebsd_module /root/@/boot/zfs/zpool.cache type=/boot/zfs/zpool.cache
insmod part_msdos
insmod zfs
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root d610af6cf49f9371
else
search --no-floppy --fs-uuid --set=root d610af6cf49f9371
fi
kfreebsd_module_elf /root/@/lib/modules/8.3-1-amd64/zfs.ko
set kFreeBSD.vfs.root.mountfrom=zfs:base/root
set kFreeBSD.vfs.root.mountfrom.options=rw
set kFreeBSD.vfs.zfs.trim_disable=0
set kFreeBSD.kern.hz=100
set kFreeBSD.hint.atrtc.0.clock=0
set kFreeBSD.hint.p4tcc.0.disabled=1
set kFreeBSD.hint.acpi_throttle.0.disabled=1
set kFreeBSD.hint.apic.0.clock=0
}
menuentry 'Debian GNU/kFreeBSD, with kFreeBSD 8.3-1-amd64 (recovery mode)' --class debian --class gnu-kfreebsd --class gnu --class os $menuentry_id_option 'kfreebsd-8.3-1-amd64-recovery-d610af6cf49f9371' {
insmod part_msdos
insmod zfs
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root d610af6cf49f9371
else
search --no-floppy --fs-uuid --set=root d610af6cf49f9371
fi
echo 'Loading kernel of FreeBSD 8.3-1-amd64 ...'
kfreebsd /root/@/boot/kfreebsd-8.3-1-amd64.gz -s
kfreebsd_loadenv /root/@/boot/device.hints
insmod part_msdos
insmod zfs
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root d610af6cf49f9371
else
search --no-floppy --fs-uuid --set=root d610af6cf49f9371
fi
kfreebsd_module_elf /root/@/lib/modules/8.3-1-amd64/opensolaris.ko
insmod part_msdos
insmod zfs
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root d610af6cf49f9371
else
search --no-floppy --fs-uuid --set=root d610af6cf49f9371
fi
kfreebsd_module /root/@/boot/zfs/zpool.cache type=/boot/zfs/zpool.cache
insmod part_msdos
insmod zfs
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root d610af6cf49f9371
else
search --no-floppy --fs-uuid --set=root d610af6cf49f9371
fi
kfreebsd_module_elf /root/@/lib/modules/8.3-1-amd64/zfs.ko
set kFreeBSD.vfs.root.mountfrom=zfs:base/root
set kFreeBSD.vfs.root.mountfrom.options=rw
set kFreeBSD.vfs.zfs.trim_disable=0
set kFreeBSD.kern.hz=100
set kFreeBSD.hint.atrtc.0.clock=0
set kFreeBSD.hint.p4tcc.0.disabled=1
set kFreeBSD.hint.acpi_throttle.0.disabled=1
set kFreeBSD.hint.apic.0.clock=0
}
menuentry 'Debian GNU/kFreeBSD, with kFreeBSD 8.3-0-amd64' --class debian --class gnu-kfreebsd --class gnu --class os $menuentry_id_option 'kfreebsd-8.3-0-amd64-advanced-d610af6cf49f9371' {
insmod part_msdos
insmod zfs
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root d610af6cf49f9371
else
search --no-floppy --fs-uuid --set=root d610af6cf49f9371
fi
echo 'Loading kernel of FreeBSD 8.3-0-amd64 ...'
kfreebsd /root/@/boot/kfreebsd-8.3-0-amd64.gz
kfreebsd_loadenv /root/@/boot/device.hints
insmod part_msdos
insmod zfs
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root d610af6cf49f9371
else
search --no-floppy --fs-uuid --set=root d610af6cf49f9371
fi
kfreebsd_module_elf /root/@/lib/modules/8.3-0-amd64/opensolaris.ko
insmod part_msdos
insmod zfs
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root d610af6cf49f9371
else
search --no-floppy --fs-uuid --set=root d610af6cf49f9371
fi
kfreebsd_module /root/@/boot/zfs/zpool.cache type=/boot/zfs/zpool.cache
insmod part_msdos
insmod zfs
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root d610af6cf49f9371
else
search --no-floppy --fs-uuid --set=root d610af6cf49f9371
fi
kfreebsd_module_elf /root/@/lib/modules/8.3-0-amd64/zfs.ko
set kFreeBSD.vfs.root.mountfrom=zfs:base/root
set kFreeBSD.vfs.root.mountfrom.options=rw
set kFreeBSD.vfs.zfs.trim_disable=0
set kFreeBSD.kern.hz=100
set kFreeBSD.hint.atrtc.0.clock=0
set kFreeBSD.hint.p4tcc.0.disabled=1
set kFreeBSD.hint.acpi_throttle.0.disabled=1
set kFreeBSD.hint.apic.0.clock=0
}
menuentry 'Debian GNU/kFreeBSD, with kFreeBSD 8.3-0-amd64 (recovery mode)' --class debian --class gnu-kfreebsd --class gnu --class os $menuentry_id_option 'kfreebsd-8.3-0-amd64-recovery-d610af6cf49f9371' {
insmod part_msdos
insmod zfs
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root d610af6cf49f9371
else
search --no-floppy --fs-uuid --set=root d610af6cf49f9371
fi
echo 'Loading kernel of FreeBSD 8.3-0-amd64 ...'
kfreebsd /root/@/boot/kfreebsd-8.3-0-amd64.gz -s
kfreebsd_loadenv /root/@/boot/device.hints
insmod part_msdos
insmod zfs
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root d610af6cf49f9371
else
search --no-floppy --fs-uuid --set=root d610af6cf49f9371
fi
kfreebsd_module_elf /root/@/lib/modules/8.3-0-amd64/opensolaris.ko
insmod part_msdos
insmod zfs
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root d610af6cf49f9371
else
search --no-floppy --fs-uuid --set=root d610af6cf49f9371
fi
kfreebsd_module /root/@/boot/zfs/zpool.cache type=/boot/zfs/zpool.cache
insmod part_msdos
insmod zfs
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root d610af6cf49f9371
else
search --no-floppy --fs-uuid --set=root d610af6cf49f9371
fi
kfreebsd_module_elf /root/@/lib/modules/8.3-0-amd64/zfs.ko
set kFreeBSD.vfs.root.mountfrom=zfs:base/root
set kFreeBSD.vfs.root.mountfrom.options=rw
set kFreeBSD.vfs.zfs.trim_disable=0
set kFreeBSD.kern.hz=100
set kFreeBSD.hint.atrtc.0.clock=0
set kFreeBSD.hint.p4tcc.0.disabled=1
set kFreeBSD.hint.acpi_throttle.0.disabled=1
set kFreeBSD.hint.apic.0.clock=0
}
}
### END /etc/grub.d/10_kfreebsd ###
### 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 /dev/disk/by-id
ls: cannot access /dev/disk/by-id: No such file or directory
*********************** END /dev/disk/by-id
*********************** BEGIN /dev/disk/by-uuid
ls: cannot access /dev/disk/by-uuid: No such file or directory
*********************** END /dev/disk/by-uuid
-- System Information:
Debian Release: jessie/sid
APT prefers testing
APT policy: (990, 'testing'), (500, 'unstable'), (500, 'stable'), (1, 'experimental')
Architecture: kfreebsd-amd64 (x86_64)
Kernel: kFreeBSD 10.0-0-amd64
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages grub-pc depends on:
ii debconf [debconf-2.0] 1.5.50
ii freebsd-utils 9.1-4+b1
ii grub-common 2.00-15
ii grub-pc-bin 2.00-15
ii grub2-common 2.00-15
ii ucf 3.0027+nmu1
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/ad4
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: false
grub2/kfreebsd_cmdline_default: quiet
grub-pc/partition_description:
* grub-pc/install_devices_failed: true
grub-pc/install_devices_disks_changed:
grub2/linux_cmdline_default: quiet
grub-pc/chainload_from_menu.lst: true
grub-pc/mixed_legacy_and_grub2: true
More information about the Pkg-grub-devel
mailing list