Bug#500112: grub-pc: grub is failing to start at boot (go to rescue mode immediately) when using jfs.mod (prefix issue)
Benoit Hamet
benoit.hamet at laposte.net
Thu Sep 25 08:21:25 UTC 2008
Package: grub-pc
Version: 1.96+20080724-10
Severity: normal
Hi all,
This was already discussed and solved upstream some time ago. In short :
when using grub-pc with the jfs file system, grub fails when starting and fallback in the rescue mode. This is due to a bug (AFAIK) in the jfs way of treating trailing /
A possible workaround is to remove the ending / in the grub-install script, when building the command line of grub-mkpackage --prefix=...'
IIRC the experimental package solve this problem (20080831).
Regards,
Benoit.
-- Package-specific info:
*********************** BEGIN /proc/mounts
/dev/hda1 / jfs rw 0 0
*********************** END /proc/mounts
*********************** BEGIN /boot/grub/device.map
(hd0) /dev/hda
*********************** END /boot/grub/device.map
*********************** BEGIN /boot/grub/grub.cfg
#
# DO NOT EDIT THIS FILE
#
# It is automatically generated by /usr/sbin/update-grub using templates
# from /etc/grub.d and settings from /etc/default/grub
#
### BEGIN /etc/grub.d/00_header ###
set default=0
set timeout=5
serial -s 57600
terminal serial
### 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_hurd ###
### END /etc/grub.d/10_hurd ###
### BEGIN /etc/grub.d/10_linux ###
set root=(hd0,1)
menuentry "Debian GNU/Linux, linux 2.6.26-1-486" {
linux /boot/vmlinuz-2.6.26-1-486 root=/dev/hda1 ro novga nofb console=ttyS0,57600n8,nomonitor acpi=off
initrd /boot/initrd.img-2.6.26-1-486
}
menuentry "Debian GNU/Linux, linux 2.6.26-1-486 (single-user mode)" {
linux /boot/vmlinuz-2.6.26-1-486 root=/dev/hda1 ro single novga nofb console=ttyS0,57600n8,nomonitor acpi=off
initrd /boot/initrd.img-2.6.26-1-486
}
### END /etc/grub.d/10_linux ###
### BEGIN /etc/grub.d/30_os-prober ###
### END /etc/grub.d/30_os-prober ###
### BEGIN /etc/grub.d/40_custom ###
# This file is an example on how to add custom entries
### END /etc/grub.d/40_custom ###
*********************** END /boot/grub/grub.cfg
-- System Information:
Debian Release: lenny/sid
APT prefers testing
APT policy: (500, 'testing')
Architecture: i386 (i586)
Kernel: Linux 2.6.26-1-486
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.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.22 Debian configuration management sy
ii grub-common 1.96+20080724-10 GRand Unified Bootloader, version
ii libc6 2.7-13 GNU C Library: Shared libraries
ii liblzo2-2 2.03-1 data compression library
ii libncurses5 5.6+20080830-1 shared libraries for terminal hand
grub-pc recommends no packages.
Versions of packages grub-pc suggests:
pn desktop-base <none> (no description available)
pn os-prober <none> (no description available)
-- debconf information:
* grub-pc/chainload_from_menu.lst: true
grub-pc/linux_cmdline:
More information about the Pkg-grub-devel
mailing list