Bug#584199: update-grub cannot find video.lst and locales

Marc Haber mh+debian-bugs at zugschlus.de
Wed Jun 2 07:32:01 UTC 2010


Package: grub-pc
Version: 1.98+20100527-2
Severity: normal

Hi,

sudo grub-mkconfig -o /boot/grub/grub.cfg
head: cannot open `/boot/grub/video.lst' for reading: No such file or directory
Generating grub.cfg ...
/usr/sbin/grub-probe: error: cannot stat `/boot/grub/locale'.
No path or device is specified.
Try `/usr/sbin/grub-probe --help' for more information.

an grub-install seems to have fixed the issue, but I generally expect
that a package doesn't break on update unless a manual action is done.

Greetings
Marc

-- Package-specific info:

*********************** WARNING grub-setup left core.img in filesystem

*********************** BEGIN /proc/mounts
/dev/mapper/feather-root / ext3 rw,relatime,errors=remount-ro,data=writeback 0 0
/dev/mapper/feather-boot /boot ext3 rw,relatime,errors=continue,data=writeback 0 0
/dev/mapper/feather-home /home ext3 rw,relatime,errors=continue,data=writeback 0 0
/dev/mapper/feather-usr /usr ext3 rw,relatime,errors=continue,data=writeback 0 0
/dev/mapper/feather-var /var ext3 rw,relatime,errors=continue,data=writeback 0 0
*********************** END /proc/mounts

*********************** BEGIN /boot/grub/device.map
(fd0)	/dev/fd0
(hd0)	/dev/sda
(hd1)	/dev/sdb
*********************** 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
}
### 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.34-zgws1' --class debian --class gnu-linux --class gnu --class os {

	echo	'Loading Linux 2.6.34-zgws1 ...'
	linux	/vmlinuz-2.6.34-zgws1 root=/dev/mapper/feather-root ro  quiet video=i915:modeset=1
	echo	'Loading initial ramdisk ...'
	initrd	/initrd.img-2.6.34-zgws1
}
menuentry 'Debian GNU/Linux, with Linux 2.6.34-zgws1 (recovery mode)' --class debian --class gnu-linux --class gnu --class os {

	echo	'Loading Linux 2.6.34-zgws1 ...'
	linux	/vmlinuz-2.6.34-zgws1 root=/dev/mapper/feather-root ro single 
	echo	'Loading initial ramdisk ...'
	initrd	/initrd.img-2.6.34-zgws1
}
menuentry 'Debian GNU/Linux, with Linux 2.6.33.3-zgws1' --class debian --class gnu-linux --class gnu --class os {

	echo	'Loading Linux 2.6.33.3-zgws1 ...'
	linux	/vmlinuz-2.6.33.3-zgws1 root=/dev/mapper/feather-root ro  quiet video=i915:modeset=1
	echo	'Loading initial ramdisk ...'
	initrd	/initrd.img-2.6.33.3-zgws1
}
menuentry 'Debian GNU/Linux, with Linux 2.6.33.3-zgws1 (recovery mode)' --class debian --class gnu-linux --class gnu --class os {

	echo	'Loading Linux 2.6.33.3-zgws1 ...'
	linux	/vmlinuz-2.6.33.3-zgws1 root=/dev/mapper/feather-root ro single 
	echo	'Loading initial ramdisk ...'
	initrd	/initrd.img-2.6.33.3-zgws1
}
menuentry 'Debian GNU/Linux, with Linux 2.6.32-5-686' --class debian --class gnu-linux --class gnu --class os {

	echo	'Loading Linux 2.6.32-5-686 ...'
	linux	/vmlinuz-2.6.32-5-686 root=/dev/mapper/feather-root ro  quiet video=i915:modeset=1
	echo	'Loading initial ramdisk ...'
	initrd	/initrd.img-2.6.32-5-686
}
menuentry 'Debian GNU/Linux, with Linux 2.6.32-5-686 (recovery mode)' --class debian --class gnu-linux --class gnu --class os {

	echo	'Loading Linux 2.6.32-5-686 ...'
	linux	/vmlinuz-2.6.32-5-686 root=/dev/mapper/feather-root ro single 
	echo	'Loading initial ramdisk ...'
	initrd	/initrd.img-2.6.32-5-686
}
### END /etc/grub.d/10_linux ###

### BEGIN /etc/grub.d/30_os-prober ###
menuentry "Microsoft Windows XP Home Edition (on /dev/sda1)" {
	insmod msdos
	insmod ntfs
	set root='(hd0,1)'
	search --no-floppy --fs-uuid --set 66ecd516ecd4e17b
	drivemap -s (hd0) ${root}
	chainloader +1
}
menuentry "Debian GNU/Linux, kernel 2.6.32.8-zgws1 (on /dev/mapper/feather-feather--st)" {
	insmod msdos
	insmod ext2
	set root='(hd0,2)'
	search --no-floppy --fs-uuid --set fabe338d-0eba-4cd0-be81-40a5739817fe
	linux /vmlinuz-2.6.32.8-zgws1 root=/dev/mapper/feather-feather--st ro vga=0x0318 resume=/dev/mapper/feather-swap--cl usbcore.autosuspend=1 quiet splash
	initrd /initrd.img-2.6.32.8-zgws1
}
menuentry "Debian GNU/Linux, kernel 2.6.32.8-zgws1 (single-user mode) (on /dev/mapper/feather-feather--st)" {
	insmod msdos
	insmod ext2
	set root='(hd0,2)'
	search --no-floppy --fs-uuid --set fabe338d-0eba-4cd0-be81-40a5739817fe
	linux /vmlinuz-2.6.32.8-zgws1 root=/dev/mapper/feather-feather--st ro single
	initrd /initrd.img-2.6.32.8-zgws1
}
menuentry "Debian GNU/Linux, kernel 2.6.32.3-zgws1 (on /dev/mapper/feather-feather--st)" {
	insmod msdos
	insmod ext2
	set root='(hd0,2)'
	search --no-floppy --fs-uuid --set fabe338d-0eba-4cd0-be81-40a5739817fe
	linux /vmlinuz-2.6.32.3-zgws1 root=/dev/mapper/feather-feather--st ro vga=0x0318 resume=/dev/mapper/feather-swap--cl usbcore.autosuspend=1 quiet splash
	initrd /initrd.img-2.6.32.3-zgws1
}
menuentry "Debian GNU/Linux, kernel 2.6.32.3-zgws1 (single-user mode) (on /dev/mapper/feather-feather--st)" {
	insmod msdos
	insmod ext2
	set root='(hd0,2)'
	search --no-floppy --fs-uuid --set fabe338d-0eba-4cd0-be81-40a5739817fe
	linux /vmlinuz-2.6.32.3-zgws1 root=/dev/mapper/feather-feather--st ro single
	initrd /initrd.img-2.6.32.3-zgws1
}
menuentry "Debian GNU/Linux, kernel 2.6.26-2-686 (on /dev/mapper/feather-feather--st)" {
	insmod msdos
	insmod ext2
	set root='(hd0,2)'
	search --no-floppy --fs-uuid --set fabe338d-0eba-4cd0-be81-40a5739817fe
	linux /vmlinuz-2.6.26-2-686 root=/dev/mapper/feather-feather--st ro vga=0x0318 resume=/dev/mapper/feather-swap--cl usbcore.autosuspend=1 quiet splash
	initrd /initrd.img-2.6.26-2-686
}
menuentry "Debian GNU/Linux, kernel 2.6.26-2-686 (single-user mode) (on /dev/mapper/feather-feather--st)" {
	insmod msdos
	insmod ext2
	set root='(hd0,2)'
	search --no-floppy --fs-uuid --set fabe338d-0eba-4cd0-be81-40a5739817fe
	linux /vmlinuz-2.6.26-2-686 root=/dev/mapper/feather-feather--st ro single
	initrd /initrd.img-2.6.26-2-686
}
menuentry "Debian GNU/Linux, kernel memtest86 (on /dev/mapper/feather-feather--st)" {
	insmod msdos
	insmod ext2
	set root='(hd0,2)'
	search --no-floppy --fs-uuid --set fabe338d-0eba-4cd0-be81-40a5739817fe
	linux /memtest86.bin 
}
menuentry "Debian GNU/Linux, kernel memtest86+ (on /dev/mapper/feather-feather--st)" {
	insmod msdos
	insmod ext2
	set root='(hd0,2)'
	search --no-floppy --fs-uuid --set fabe338d-0eba-4cd0-be81-40a5739817fe
	linux /memtest86+.bin 
}
### 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 ###

### BEGIN /etc/grub.d/50_grml ###
# 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.
menuentry "grml" {
  linux (hd0,4)/grml/linux26 quiet vga=791 lang=de boot=live localtime noeject noprompt keyboard=de findiso=/grml/grml.iso toram=grml-small-daily-sid.squashfs
  initrd (hd0,4)/grml/initrd.gz
}
### END /etc/grub.d/50_grml ###
*********************** END /boot/grub/grub.cfg

-- System Information:
Debian Release: squeeze/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing')
Architecture: i386 (i686)

Kernel: Linux 2.6.34-zgws1 (SMP w/2 CPU cores; PREEMPT)
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.32          Debian configuration management sy
ii  grub-common              1.98+20100527-2 GRand Unified Bootloader, version 
ii  libc6                    2.11.1-2        Embedded GNU C Library: Shared lib
ii  libdevmapper1.02.1       2:1.02.47-1     The Linux Kernel Device Mapper use
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:
  grub2/kfreebsd_cmdline:
* grub2/linux_cmdline:
  grub-pc/chainload_from_menu.lst: true
  grub-pc/kopt_extracted: false
* grub-pc/install_devices:
  grub-pc/postrm_purge_boot_grub: false
  grub2/kfreebsd_cmdline_default: quiet
* grub2/linux_cmdline_default: quiet video=i915:modeset=1





More information about the Pkg-grub-devel mailing list