Bug#562921: grub-pc: First kfreebsd entries do not work

Patrick Matthäi pmatthaei at debian.org
Tue Dec 29 09:56:48 UTC 2009


Package: grub-pc
Version: 1.98~20091222-1
Severity: important

Hello,

if I execute a update-grub on my kfreebsd-amd64 virtual machine, I get two entrys in grub:
	1) Debian gnu/kfreebsd, kfreebsd <version>
	2) Debian gnu/kfreebsd, with kfreebsd <version>

The first entry uses "freebsd" to specify the kernel, the second one "kfreebsd" - which is correct.
On booting the entrys with "freebsd" I just get a grub error: unknown command freebsd.

-- Package-specific info:

*********************** BEGIN /proc/mounts
/dev/disk/by-uuid/8ce883ce-13bc-4d1e-aff8-d5efc1e40077 / ext3 rw,noatime,nodiratime,errors=remount-ro,data=ordered 0 0
/dev/sda1 /boot ext3 rw,noatime,nodiratime,errors=continue,data=ordered 0 0
/dev/sda3 /tmp ext3 rw,nosuid,nodev,noatime,nodiratime,errors=continue,data=ordered 0 0
/dev/sdc1 /home/me/Movie/Serien ext3 rw,nosuid,nodev,noatime,nodiratime,errors=continue,data=ordered 0 0
*********************** END /proc/mounts

*********************** BEGIN /boot/grub/device.map
(hd0)	/dev/sda
(hd1)	/dev/sdb
(hd2)	/dev/sdc
*********************** END /boot/grub/device.map

*********************** BEGIN /boot/grub/grub.cfg
#
# DO NOT EDIT THIS FILE
#
# It is automatically generated by /usr/sbin/grub-mkconfig using templates
# from /etc/grub.d and settings from /etc/default/grub
#

### BEGIN /etc/grub.d/00_header ###
set default=0
insmod ext2
set root=(hd0,4)
search --no-floppy --fs-uuid --set 8ce883ce-13bc-4d1e-aff8-d5efc1e40077
if loadfont /usr/share/grub/unicode.pf2 ; then
  set gfxmode=640x480
  insmod gfxterm
  insmod vbe
  if terminal_output gfxterm ; then true ; else
    # For backward compatibility with versions of terminal.mod that don't
    # understand terminal_output
    terminal gfxterm
  fi
fi
set locale_dir=/boot/grub/locale
set lang=de
insmod gettext 
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_linux ###
menuentry "Debian GNU/Linux, with Linux 2.6.32-trunk-amd64" {
	insmod ext2
	set root=(hd0,1)
	search --no-floppy --fs-uuid --set 42bf30c6-9452-407a-a6bf-e3ccec303974
	linux	//vmlinuz-2.6.32-trunk-amd64 root=UUID=8ce883ce-13bc-4d1e-aff8-d5efc1e40077 ro  quiet
	initrd	//initrd.img-2.6.32-trunk-amd64
}
menuentry "Debian GNU/Linux, with Linux 2.6.32-trunk-amd64 (recovery mode)" {
	insmod ext2
	set root=(hd0,1)
	search --no-floppy --fs-uuid --set 42bf30c6-9452-407a-a6bf-e3ccec303974
	linux	//vmlinuz-2.6.32-trunk-amd64 root=UUID=8ce883ce-13bc-4d1e-aff8-d5efc1e40077 ro single 
	initrd	//initrd.img-2.6.32-trunk-amd64
}
menuentry "Debian GNU/Linux, with Linux 2.6.31-1-amd64" {
	insmod ext2
	set root=(hd0,1)
	search --no-floppy --fs-uuid --set 42bf30c6-9452-407a-a6bf-e3ccec303974
	linux	//vmlinuz-2.6.31-1-amd64 root=UUID=8ce883ce-13bc-4d1e-aff8-d5efc1e40077 ro  quiet
	initrd	//initrd.img-2.6.31-1-amd64
}
menuentry "Debian GNU/Linux, with Linux 2.6.31-1-amd64 (recovery mode)" {
	insmod ext2
	set root=(hd0,1)
	search --no-floppy --fs-uuid --set 42bf30c6-9452-407a-a6bf-e3ccec303974
	linux	//vmlinuz-2.6.31-1-amd64 root=UUID=8ce883ce-13bc-4d1e-aff8-d5efc1e40077 ro single 
	initrd	//initrd.img-2.6.31-1-amd64
}
### END /etc/grub.d/10_linux ###

### BEGIN /etc/grub.d/30_os-prober ###
menuentry "Microsoft Windows XP Professional (on /dev/sdb1)" {
	insmod ntfs
	set root=(hd1,1)
	search --no-floppy --fs-uuid --set c6a8c807a8c7f3c9
	drivemap -s (hd0) ${root}
	chainloader +1
}
### 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 ###
*********************** END /boot/grub/grub.cfg

-- System Information:
Debian Release: squeeze/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (200, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.32-trunk-amd64 (SMP w/2 CPU cores)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages grub-pc depends on:
ii  debconf [debconf-2.0]    1.5.28          Debian configuration management sy
ii  grub-common              1.98~20091222-1 GRand Unified Bootloader, version 
ii  libc6                    2.10.2-2        GNU C Library: Shared libraries
ii  ucf                      3.0025          Update Configuration File: preserv

grub-pc recommends no packages.

Versions of packages grub-pc suggests:
pn  desktop-base                  <none>     (no description available)

-- debconf information excluded





More information about the Pkg-grub-devel mailing list