Bug#637879: [grub-pc] error when loading config file from disk
Francesco Muzio
muziofg at gmail.com
Mon Aug 15 12:46:27 UTC 2011
Package: grub-pc
Version: 1.99-11
Severity: important
When I start my machine sometimes, but not always, I see the mini-shell
of grub instead of the menu
I have tryed to load manually the grub.cfg and when I press the TAB key
I find the error: the name of the file is corrupted and the dirty
characters added at the end of the name changes every push of the TAB
key. See the attached photo for understand the problem.
If I type configfile /boot/grub/grub.cfg and press enter key repeatedly
I can finally to load the boot menu after 4 , 5 attempts.
After the boot the Operating System (Debian testing) works without any
error on the disk
I have tryed to check the filesystem with reiserfsck on a sysrescuecd
live cd without found errors.
/boot/grub.cfg is on sdc1 who is a reiser filesystem
smartctl -a /dev/sdc reports no error
My system lives in this filesystem without problem from late 2004 and
this problem appears for the first time in the month of june of this year
this is the "dmesg | grep REISER"
REISERFS (device sdc1): found reiserfs format "3.6" with standard journal
REISERFS (device sdc1): using ordered data mode
REISERFS (device sdc1): journal params: device sdc1, size 8192, journal
first block 18, max trans len 1024, max batch 900, max commit age 30,
max trans age 30
REISERFS (device sdc1): checking transaction log (sdc1)
REISERFS (device sdc1): Using r5 hash to sort names
--- System information. ---
Architecture: i386
Kernel: Linux 3.0.0
Debian Release: wheezy/sid
500 testing ftp.it.debian.org
--- Package information. ---
Depends (Version) | Installed
============================-+-============
debconf (>= 0.5) | 1.5.40
OR debconf-2.0 |
grub-common | 1.99-11
grub2-common (= 1.99-11) | 1.99-11
grub-pc-bin (= 1.99-11) | 1.99-11
ucf | 3.0025+nmu2
Package's Recommends field is empty.
Package's Suggests field is empty.
--- Output from package bug script ---
*********************** BEGIN /proc/mounts
/dev/disk/by-uuid/5d4c58c4-d772-4ea2-92bb-c72949c35731 / reiserfs
rw,relatime,notail,attrs 0 0
*********************** END /proc/mounts
*********************** BEGIN /boot/grub/device.map
(hd0) /dev/disk/by-id/ata-Maxtor_6Y080M0_Y23H0B7E
(hd1) /dev/disk/by-id/ata-ST3320620AS_9QF8VEEB
(hd2) /dev/disk/by-id/ata-MAXTOR_STM3250310AS_6RY24NY2
*********************** 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 /grubenv ]; then
load_env
fi
set default="0"
if [ "" ]; then
set saved_entry=""
save_env saved_entry
set prev_saved_entry=
save_env prev_saved_entry
set boot_once=true
fi
function savedefault {
if [ -z "" ]; then
saved_entry=""
save_env saved_entry
fi
}
function load_video {
insmod vbe
insmod vga
insmod video_bochs
insmod video_cirrus
}
insmod part_msdos
insmod reiserfs
set root='(hd2,msdos1)'
search --no-floppy --fs-uuid --set=root
5d4c58c4-d772-4ea2-92bb-c72949c35731
if loadfont /usr/share/grub/unicode.pf2 ; then
set gfxmode=640x480
load_video
insmod gfxterm
insmod part_msdos
insmod reiserfs
set root='(hd2,msdos1)'
search --no-floppy --fs-uuid --set=root
5d4c58c4-d772-4ea2-92bb-c72949c35731
set locale_dir=()/boot/grub/locale
set lang=it_IT
insmod gettext
fi
terminal_output gfxterm
set timeout=5
### END /etc/grub.d/00_header ###
### BEGIN /etc/grub.d/05_debian_theme ###
insmod part_msdos
insmod reiserfs
set root='(hd2,msdos1)'
search --no-floppy --fs-uuid --set=root
5d4c58c4-d772-4ea2-92bb-c72949c35731
insmod png
if background_image
/usr/share/images/desktop-base/moreblue-orbit-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_linux ###
menuentry 'Debian GNU/Linux, con Linux 3.0.0' --class debian --class
gnu-linux --class gnu --class os {
insmod gzio
insmod part_msdos
insmod reiserfs
set root='(hd2,msdos1)'
search --no-floppy --fs-uuid --set=root
5d4c58c4-d772-4ea2-92bb-c72949c35731
echo 'Caricamento Linux 3.0.0...'
linux /boot/vmlinuz-3.0.0 root=UUID=5d4c58c4-d772-4ea2-92bb-c72949c35731
ro bttv.automute=0
echo 'Caricamento ramdisk iniziale...'
initrd /boot/initrd.img-3.0.0
}
menuentry 'Debian GNU/Linux, con Linux 3.0.0 (modalit?? ripristino)'
--class debian --class gnu-linux --class gnu --class os {
insmod gzio
insmod part_msdos
insmod reiserfs
set root='(hd2,msdos1)'
search --no-floppy --fs-uuid --set=root
5d4c58c4-d772-4ea2-92bb-c72949c35731
echo 'Caricamento Linux 3.0.0...'
linux /boot/vmlinuz-3.0.0 root=UUID=5d4c58c4-d772-4ea2-92bb-c72949c35731
ro single bttv.automute=0
echo 'Caricamento ramdisk iniziale...'
initrd /boot/initrd.img-3.0.0
}
### 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 ###
menuentry "Windows 7 (loader) (on /dev/sda1)" --class windows --class os {
insmod part_msdos
insmod ntfs
set root='(hd0,msdos1)'
search --no-floppy --fs-uuid --set=root 1EFAE082FAE05793
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 ###
### BEGIN /etc/grub.d/41_custom ###
if [ -f /custom.cfg ]; then
source /custom.cfg;
fi
### END /etc/grub.d/41_custom ###
*********************** END /boot/grub/grub.cfg
*********************** BEGIN /proc/mdstat
cat: /proc/mdstat: File o directory non esistente
*********************** END /proc/mdstat
More information about the Pkg-grub-devel
mailing list