Bug#785433: grub2-common: Boot failure if GRUB_SERIAL_COMMAND includes --speed=0
Jan Ceuleers
jan.ceuleers at computer.org
Sat May 16 08:20:50 UTC 2015
Package: grub2-common
Version: 2.02~beta2-22
Severity: minor
Dear Maintainer,
After upgrading a Wheezy system to Jessie it fails to boot. Symptom is that
as soon as the BIOS hands over control to the boot loader it restarts without
screen output that I can see.
Eyeballing /etc/default/grub revealed that the GRUB_SERIAL_COMMAND line included
--speed=0, which is an error, but which worked OK with the Wheezy version of
grub (at least in that it did not prevent the boot).
So I would understand if you decide not to fix this, in which case the added
value of this report is that it will hopefully help others to fix their
systems if they happen to run into this as well.
So the fix I applied was to change the --speed parameter to 9600 and now the
system boots.
-- Package-specific info:
*********************** BEGIN /proc/mounts
/dev/sda1 / ext4 rw,noatime,nodiratime,errors=remount-ro,data=ordered 0 0
*********************** END /proc/mounts
*********************** BEGIN /boot/grub/device.map
(hd0) /dev/disk/by-id/ata-QEMU_HARDDISK_QM00001
*********************** 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
set have_grubenv=true
load_env
fi
if [ "${next_entry}" ] ; then
set default="${next_entry}"
set next_entry=
save_env next_entry
set boot_once=true
else
set default="0"
fi
if [ x"${feature_menuentry_id}" = xy ]; then
menuentry_id_option="--id"
else
menuentry_id_option=""
fi
export menuentry_id_option
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 {
if [ x$feature_all_video_module = xy ]; then
insmod all_video
else
insmod efi_gop
insmod efi_uga
insmod ieee1275_fb
insmod vbe
insmod vga
insmod video_bochs
insmod video_cirrus
fi
}
serial --unit=0 --speed=9600 --word=8 --parity=no --stop=1
terminal_input serial
terminal_output serial
if [ "${recordfail}" = 1 ] ; then
set timeout=-1
else
if [ x$feature_timeout_style = xy ] ; then
set timeout_style=menu
set timeout=5
# Fallback normal timeout code in case the timeout_style feature is
# unavailable.
else
set timeout=5
fi
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 ###
function gfxmode {
set gfxpayload="${1}"
}
set linux_gfx_mode=
export linux_gfx_mode
menuentry 'Debian GNU/Linux' --class debian --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-simple-1ce6e006-e67c-4b1e-89e7-a0885d16b2a2' {
load_video
insmod gzio
if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
insmod part_msdos
insmod ext2
set root='hd0,msdos1'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1 --hint='hd0,msdos1' 1ce6e006-e67c-4b1e-89e7-a0885d16b2a2
else
search --no-floppy --fs-uuid --set=root 1ce6e006-e67c-4b1e-89e7-a0885d16b2a2
fi
echo 'Loading Linux 3.16.0-4-586 ...'
linux /boot/vmlinuz-3.16.0-4-586 root=UUID=1ce6e006-e67c-4b1e-89e7-a0885d16b2a2 ro console=ttyS0,9600n8 ipv6.disable=1 quiet
echo 'Loading initial ramdisk ...'
initrd /boot/initrd.img-3.16.0-4-586
}
submenu 'Advanced options for Debian GNU/Linux' $menuentry_id_option 'gnulinux-advanced-1ce6e006-e67c-4b1e-89e7-a0885d16b2a2' {
menuentry 'Debian GNU/Linux, with Linux 3.16.0-4-586' --class debian --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-3.16.0-4-586-advanced-1ce6e006-e67c-4b1e-89e7-a0885d16b2a2' {
load_video
insmod gzio
if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
insmod part_msdos
insmod ext2
set root='hd0,msdos1'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1 --hint='hd0,msdos1' 1ce6e006-e67c-4b1e-89e7-a0885d16b2a2
else
search --no-floppy --fs-uuid --set=root 1ce6e006-e67c-4b1e-89e7-a0885d16b2a2
fi
echo 'Loading Linux 3.16.0-4-586 ...'
linux /boot/vmlinuz-3.16.0-4-586 root=UUID=1ce6e006-e67c-4b1e-89e7-a0885d16b2a2 ro console=ttyS0,9600n8 ipv6.disable=1 quiet
echo 'Loading initial ramdisk ...'
initrd /boot/initrd.img-3.16.0-4-586
}
menuentry 'Debian GNU/Linux, with Linux 3.16.0-4-586 (sysvinit)' --class debian --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-3.16.0-4-586-init-sysvinit-1ce6e006-e67c-4b1e-89e7-a0885d16b2a2' {
load_video
insmod gzio
if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
insmod part_msdos
insmod ext2
set root='hd0,msdos1'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1 --hint='hd0,msdos1' 1ce6e006-e67c-4b1e-89e7-a0885d16b2a2
else
search --no-floppy --fs-uuid --set=root 1ce6e006-e67c-4b1e-89e7-a0885d16b2a2
fi
echo 'Loading Linux 3.16.0-4-586 ...'
linux /boot/vmlinuz-3.16.0-4-586 root=UUID=1ce6e006-e67c-4b1e-89e7-a0885d16b2a2 ro console=ttyS0,9600n8 ipv6.disable=1 quiet init=/lib/sysvinit/init
echo 'Loading initial ramdisk ...'
initrd /boot/initrd.img-3.16.0-4-586
}
menuentry 'Debian GNU/Linux, with Linux 3.16.0-4-586 (recovery mode)' --class debian --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-3.16.0-4-586-recovery-1ce6e006-e67c-4b1e-89e7-a0885d16b2a2' {
load_video
insmod gzio
if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
insmod part_msdos
insmod ext2
set root='hd0,msdos1'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1 --hint='hd0,msdos1' 1ce6e006-e67c-4b1e-89e7-a0885d16b2a2
else
search --no-floppy --fs-uuid --set=root 1ce6e006-e67c-4b1e-89e7-a0885d16b2a2
fi
echo 'Loading Linux 3.16.0-4-586 ...'
linux /boot/vmlinuz-3.16.0-4-586 root=UUID=1ce6e006-e67c-4b1e-89e7-a0885d16b2a2 ro single console=ttyS0,9600n8 ipv6.disable=1
echo 'Loading initial ramdisk ...'
initrd /boot/initrd.img-3.16.0-4-586
}
menuentry 'Debian GNU/Linux, with Linux 3.12-0.bpo.1-486' --class debian --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-3.12-0.bpo.1-486-advanced-1ce6e006-e67c-4b1e-89e7-a0885d16b2a2' {
load_video
insmod gzio
if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
insmod part_msdos
insmod ext2
set root='hd0,msdos1'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1 --hint='hd0,msdos1' 1ce6e006-e67c-4b1e-89e7-a0885d16b2a2
else
search --no-floppy --fs-uuid --set=root 1ce6e006-e67c-4b1e-89e7-a0885d16b2a2
fi
echo 'Loading Linux 3.12-0.bpo.1-486 ...'
linux /boot/vmlinuz-3.12-0.bpo.1-486 root=UUID=1ce6e006-e67c-4b1e-89e7-a0885d16b2a2 ro console=ttyS0,9600n8 ipv6.disable=1 quiet
echo 'Loading initial ramdisk ...'
initrd /boot/initrd.img-3.12-0.bpo.1-486
}
menuentry 'Debian GNU/Linux, with Linux 3.12-0.bpo.1-486 (sysvinit)' --class debian --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-3.12-0.bpo.1-486-init-sysvinit-1ce6e006-e67c-4b1e-89e7-a0885d16b2a2' {
load_video
insmod gzio
if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
insmod part_msdos
insmod ext2
set root='hd0,msdos1'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1 --hint='hd0,msdos1' 1ce6e006-e67c-4b1e-89e7-a0885d16b2a2
else
search --no-floppy --fs-uuid --set=root 1ce6e006-e67c-4b1e-89e7-a0885d16b2a2
fi
echo 'Loading Linux 3.12-0.bpo.1-486 ...'
linux /boot/vmlinuz-3.12-0.bpo.1-486 root=UUID=1ce6e006-e67c-4b1e-89e7-a0885d16b2a2 ro console=ttyS0,9600n8 ipv6.disable=1 quiet init=/lib/sysvinit/init
echo 'Loading initial ramdisk ...'
initrd /boot/initrd.img-3.12-0.bpo.1-486
}
menuentry 'Debian GNU/Linux, with Linux 3.12-0.bpo.1-486 (recovery mode)' --class debian --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-3.12-0.bpo.1-486-recovery-1ce6e006-e67c-4b1e-89e7-a0885d16b2a2' {
load_video
insmod gzio
if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
insmod part_msdos
insmod ext2
set root='hd0,msdos1'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1 --hint='hd0,msdos1' 1ce6e006-e67c-4b1e-89e7-a0885d16b2a2
else
search --no-floppy --fs-uuid --set=root 1ce6e006-e67c-4b1e-89e7-a0885d16b2a2
fi
echo 'Loading Linux 3.12-0.bpo.1-486 ...'
linux /boot/vmlinuz-3.12-0.bpo.1-486 root=UUID=1ce6e006-e67c-4b1e-89e7-a0885d16b2a2 ro single console=ttyS0,9600n8 ipv6.disable=1
echo 'Loading initial ramdisk ...'
initrd /boot/initrd.img-3.12-0.bpo.1-486
}
menuentry 'Debian GNU/Linux, with Linux 3.2.0-4-486' --class debian --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-3.2.0-4-486-advanced-1ce6e006-e67c-4b1e-89e7-a0885d16b2a2' {
load_video
insmod gzio
if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
insmod part_msdos
insmod ext2
set root='hd0,msdos1'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1 --hint='hd0,msdos1' 1ce6e006-e67c-4b1e-89e7-a0885d16b2a2
else
search --no-floppy --fs-uuid --set=root 1ce6e006-e67c-4b1e-89e7-a0885d16b2a2
fi
echo 'Loading Linux 3.2.0-4-486 ...'
linux /boot/vmlinuz-3.2.0-4-486 root=UUID=1ce6e006-e67c-4b1e-89e7-a0885d16b2a2 ro console=ttyS0,9600n8 ipv6.disable=1 quiet
echo 'Loading initial ramdisk ...'
initrd /boot/initrd.img-3.2.0-4-486
}
menuentry 'Debian GNU/Linux, with Linux 3.2.0-4-486 (sysvinit)' --class debian --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-3.2.0-4-486-init-sysvinit-1ce6e006-e67c-4b1e-89e7-a0885d16b2a2' {
load_video
insmod gzio
if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
insmod part_msdos
insmod ext2
set root='hd0,msdos1'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1 --hint='hd0,msdos1' 1ce6e006-e67c-4b1e-89e7-a0885d16b2a2
else
search --no-floppy --fs-uuid --set=root 1ce6e006-e67c-4b1e-89e7-a0885d16b2a2
fi
echo 'Loading Linux 3.2.0-4-486 ...'
linux /boot/vmlinuz-3.2.0-4-486 root=UUID=1ce6e006-e67c-4b1e-89e7-a0885d16b2a2 ro console=ttyS0,9600n8 ipv6.disable=1 quiet init=/lib/sysvinit/init
echo 'Loading initial ramdisk ...'
initrd /boot/initrd.img-3.2.0-4-486
}
menuentry 'Debian GNU/Linux, with Linux 3.2.0-4-486 (recovery mode)' --class debian --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-3.2.0-4-486-recovery-1ce6e006-e67c-4b1e-89e7-a0885d16b2a2' {
load_video
insmod gzio
if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
insmod part_msdos
insmod ext2
set root='hd0,msdos1'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1 --hint='hd0,msdos1' 1ce6e006-e67c-4b1e-89e7-a0885d16b2a2
else
search --no-floppy --fs-uuid --set=root 1ce6e006-e67c-4b1e-89e7-a0885d16b2a2
fi
echo 'Loading Linux 3.2.0-4-486 ...'
linux /boot/vmlinuz-3.2.0-4-486 root=UUID=1ce6e006-e67c-4b1e-89e7-a0885d16b2a2 ro single console=ttyS0,9600n8 ipv6.disable=1
echo 'Loading initial ramdisk ...'
initrd /boot/initrd.img-3.2.0-4-486
}
}
### 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 ###
### END /etc/grub.d/30_os-prober ###
### BEGIN /etc/grub.d/30_uefi-firmware ###
### END /etc/grub.d/30_uefi-firmware ###
### 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 ${config_directory}/custom.cfg ]; then
source ${config_directory}/custom.cfg
elif [ -z "${config_directory}" -a -f $prefix/custom.cfg ]; then
source $prefix/custom.cfg;
fi
### END /etc/grub.d/41_custom ###
*********************** END /boot/grub/grub.cfg
*********************** BEGIN /proc/mdstat
cat: /proc/mdstat: No such file or directory
*********************** END /proc/mdstat
*********************** BEGIN /dev/disk/by-id
total 0
lrwxrwxrwx 1 root root 9 May 16 09:54 ata-QEMU_DVD-ROM_QM00003 -> ../../sr0
lrwxrwxrwx 1 root root 9 May 16 09:54 ata-QEMU_HARDDISK_QM00001 -> ../../sda
lrwxrwxrwx 1 root root 10 May 16 09:54 ata-QEMU_HARDDISK_QM00001-part1 -> ../../sda1
lrwxrwxrwx 1 root root 10 May 16 09:54 ata-QEMU_HARDDISK_QM00001-part2 -> ../../sda2
*********************** END /dev/disk/by-id
*********************** BEGIN /dev/disk/by-uuid
total 0
lrwxrwxrwx 1 root root 10 May 16 09:54 1ce6e006-e67c-4b1e-89e7-a0885d16b2a2 -> ../../sda1
lrwxrwxrwx 1 root root 10 May 16 09:54 98487b8a-545d-4205-9d64-1b3ae0dd1ca0 -> ../../sda2
*********************** END /dev/disk/by-uuid
-- System Information:
Debian Release: 8.0
APT prefers stable-updates
APT policy: (500, 'stable-updates'), (500, 'stable')
Architecture: i386 (i686)
Kernel: Linux 3.16.0-4-586
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
Versions of packages grub2-common depends on:
ii dpkg 1.17.25
ii grub-common 2.02~beta2-22
ii install-info 5.2.0.dfsg.1-6
ii libc6 2.19-18
ii libdevmapper1.02.1 2:1.02.90-2.2
ii liblzma5 5.1.1alpha+20120614-2+b3
grub2-common recommends no packages.
grub2-common suggests no packages.
-- no debconf information
More information about the Pkg-grub-devel
mailing list