Bug#612696: grub-pc: Auto-detection of a filesystem of /dev/ad0s1a failed.
Axel Beckert
abe at debian.org
Thu Feb 10 00:51:34 UTC 2011
Package: grub-pc
Version: 1.99~rc1-2
Severity: normal
User: debian-bsd at lists.debian.org
Usertags: kfreebsd
Upgrading from 1.98+20100804-14 to 1.99~rc1-2 failed with the following
output:
/usr/sbin/grub-probe: error: cannot find a GRUB drive for /dev/ad0s1a. Check your device.map.
Auto-detection of a filesystem of /dev/ad0s1a failed.
Please report this together with the output of "/usr/sbin/grub-probe --device-map="/boot/grub/device.map" --target=fs -v /boot/grub" to <bug-grub at gnu.org>
The requested output:
!530 Z19 ?130 L1 root at metisse:ttyp1 (-zsh) 1:41:47 [/boot/grub] # /usr/sbin/grub-probe --device-map="/boot/grub/device.map" --target=fs -v /boot/grub
/usr/sbin/grub-probe: info: the size of hd0 is 312581808.
/usr/sbin/grub-probe: info: the size of hd0 is 312581808.
/usr/sbin/grub-probe: info: the size of hd0 is 312581808.
/usr/sbin/grub-probe: info: the size of hd0 is 312581808.
/usr/sbin/grub-probe: info: the size of hd0 is 312581808.
/usr/sbin/grub-probe: info: the size of hd0 is 312581808.
/usr/sbin/grub-probe: info: the size of hd0 is 312581808.
/usr/sbin/grub-probe: info: the size of hd0 is 312581808.
/usr/sbin/grub-probe: info: the size of hd0 is 312581808.
/usr/sbin/grub-probe: info: the size of hd0 is 312581808.
/usr/sbin/grub-probe: info: the size of hd0 is 312581808.
/usr/sbin/grub-probe: info: the size of hd0 is 312581808.
/usr/sbin/grub-probe: info: changing current directory to /dev.
/usr/sbin/grub-probe: info: changing current directory to fd.
/usr/sbin/grub-probe: info: changing current directory to usb.
/usr/sbin/grub-probe: info: opening hd0,1,1.
/usr/sbin/grub-probe: info: the size of hd0 is 312581808.
ufs2
!531 Z20 ?0 L1 root at metisse:ttyp1 (-zsh) 1:43:50 [/boot/grub] #
Running grub-mkdevicemap didn't help btw.
Downgrading to 1.98+20100804-14 from Squeeze helped, i.e. it seems to be
a regression which had been introduced after 1.98+20100804-14.
I suspect a kfreebsd-only issue, user-tagging it accordingly.
-- Package-specific info:
<#part type="text/plain" disposition=attachment description="Bug script output">
*********************** BEGIN /proc/mounts
/dev/ad0s1a / ufs rw 0 0
*********************** END /proc/mounts
*********************** BEGIN /boot/grub/device.map
(hd0) /dev/ad0
*********************** 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_bsd
insmod part_msdos
insmod ufs2
set root='(hd0,1,1)'
search --no-floppy --fs-uuid --set 49c265649d15ddd7
if loadfont /usr/share/grub/unicode.pf2 ; then
set gfxmode=640x480
load_video
insmod gfxterm
fi
terminal_output gfxterm
insmod part_bsd
insmod part_msdos
insmod ufs2
set root='(hd0,1,1)'
search --no-floppy --fs-uuid --set 49c265649d15ddd7
set locale_dir=($root)/boot/grub/locale
set lang=en
insmod gettext
set timeout=5
### END /etc/grub.d/00_header ###
### BEGIN /etc/grub.d/05_debian_theme ###
insmod part_bsd
insmod part_msdos
insmod ufs2
set root='(hd0,1,1)'
search --no-floppy --fs-uuid --set 49c265649d15ddd7
insmod png
if background_image /usr/share/images/desktop-base/spacefun-grub.png; then
set color_normal=light-gray/black
set color_highlight=white/black
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_kfreebsd ###
menuentry 'Debian GNU/kFreeBSD, with kFreeBSD 8.1-1-686-smp' --class debian --class gnu-kfreebsd --class gnu --class os {
insmod part_bsd
insmod part_msdos
insmod ufs2
set root='(hd0,1,1)'
search --no-floppy --fs-uuid --set 49c265649d15ddd7
echo 'Loading kernel of FreeBSD 8.1-1-686-smp ...'
kfreebsd /boot/kfreebsd-8.1-1-686-smp.gz
set kFreeBSD.vfs.root.mountfrom=ufs:/dev/ad0s1a
set kFreeBSD.vfs.root.mountfrom.options=rw
}
menuentry 'Debian GNU/kFreeBSD, with kFreeBSD 8.0-1-686-smp' --class debian --class gnu-kfreebsd --class gnu --class os {
insmod part_bsd
insmod part_msdos
insmod ufs2
set root='(hd0,1,1)'
search --no-floppy --fs-uuid --set 49c265649d15ddd7
echo 'Loading kernel of FreeBSD 8.0-1-686-smp ...'
kfreebsd /boot/kfreebsd-8.0-1-686-smp.gz
set kFreeBSD.vfs.root.mountfrom=ufs:/dev/ad0s1a
set kFreeBSD.vfs.root.mountfrom.options=rw
}
menuentry 'Debian GNU/kFreeBSD, with kFreeBSD 7.3-1-686-smp' --class debian --class gnu-kfreebsd --class gnu --class os {
insmod part_bsd
insmod part_msdos
insmod ufs2
set root='(hd0,1,1)'
search --no-floppy --fs-uuid --set 49c265649d15ddd7
echo 'Loading kernel of FreeBSD 7.3-1-686-smp ...'
kfreebsd /boot/kfreebsd-7.3-1-686-smp.gz
insmod part_bs;
fi
### END /etc/grub.d/41_custom ###
*********************** END /boot/grub/grub.cfg
<#/part>
-- System Information:
Debian Release: wheezy/sid
APT prefers unstable
APT policy: (990, 'unstable'), (600, 'testing'), (110, 'experimental')
Architecture: kfreebsd-i386 (i686)
Kernel: kFreeBSD 8.1-1-686-smp
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages grub-pc depends on:
ii cdebconf [debconf-2.0] 0.153 Debian Configuration Management Sy
ii debconf [debconf-2.0] 1.5.38 Debian configuration management sy
ii grub-common 1.99~rc1-2 GRand Unified Bootloader, version
ii libc0.1 2.11.2-11 Embedded GNU C Library: Shared lib
ii libnvpair0 8.1-4 OpenSolaris name-value pair librar
ii libzfs0 8.1-4 FreeBSD ZFS library
ii ucf 3.0025+nmu1 Update Configuration File: preserv
grub-pc recommends no packages.
Versions of packages grub-pc suggests:
ii desktop-base 6.0.5 common files for the Debian Deskto
-- Configuration Files:
/etc/default/grub changed:
GRUB_DEFAULT=0
GRUB_TIMEOUT=5
GRUB_DISTRIBUTOR=`lsb_release -i -s 2> /dev/null || echo Debian`
GRUB_CMDLINE_LINUX_DEFAULT="quiet"
GRUB_CMDLINE_LINUX=""
-- debconf information:
grub2/kfreebsd_cmdline:
grub2/device_map_regenerated:
grub-pc/linux_cmdline: fillme
* grub2/linux_cmdline:
grub-pc/install_devices_empty: false
* grub-pc/install_devices_failed: true
grub-pc/chainload_from_menu.lst: true
grub-pc/kopt_extracted: false
* grub-pc/install_devices: /dev/ad0
grub-pc/postrm_purge_boot_grub: false
grub-pc/install_devices_failed_upgrade: true
grub-pc/disk_description:
grub2/kfreebsd_cmdline_default: quiet
grub-pc/partition_description:
grub-pc/install_devices_disks_changed:
* grub2/linux_cmdline_default: quiet
grub-pc/mixed_legacy_and_grub2: true
More information about the Pkg-grub-devel
mailing list