Bug#741500: grub2: First boot hangs at 'loading initial ramdisk'

Andres Cimmarusti acimmarusti at gmail.com
Thu Mar 13 04:39:53 UTC 2014


Package: grub-efi-amd64
Version: 2.00-22
Severity: normal

Dear Maintainer,

Ever since Jessie got the upgrade to grub 2.00, my laptop with grub-efi 
installed does NOT automatically boot into debian the "first" time. What 
I mean by the first time is the first boot after turning on the 
computer.

The boot hangs very early at the 'loading initial ramdisk' stage.

Rebooting the computer using the key combination Ctrl+Alt+Del makes it 
reboot and then the grub booting sequences proceeds accordingly

I don't know what's wrong here. Worked perfectly well before grub2

The computer is a gaming laptop, ASUS G55VW.

-- Package-specific info:

*********************** BEGIN /proc/mounts
/dev/disk/by-uuid/21ff39a0-521b-4046-baef-6cfd449331af / ext4 rw,noatime,errors=remount-ro,data=ordered 0 0
/dev/sda1 /boot/efi vfat rw,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=utf8,shortname=mixed,errors=remount-ro 0 0
*********************** END /proc/mounts

*********************** BEGIN /boot/grub/device.map
(hd0)	/dev/disk/by-id/ata-ST9500423AS_6WR1L0CD
*********************** 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
set default="0"

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
}

if [ x$feature_default_font_path = xy ] ; then
   font=unicode
else
insmod part_gpt
insmod ext2
set root='hd0,gpt4'
if [ x$feature_platform_search_hint = xy ]; then
  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt4 --hint-efi=hd0,gpt4 --hint-baremetal=ahci0,gpt4 --hint='hd0,gpt4'  21ff39a0-521b-4046-baef-6cfd449331af
else
  search --no-floppy --fs-uuid --set=root 21ff39a0-521b-4046-baef-6cfd449331af
fi
    font="/usr/share/grub/unicode.pf2"
fi

if loadfont $font ; then
  set gfxmode=auto
  load_video
  insmod gfxterm
  set locale_dir=$prefix/locale
  set lang=en_US
  insmod gettext
fi
terminal_output gfxterm
if [ "${recordfail}" = 1 ] ; then
  set timeout=-1
else
  set timeout=5
fi
### END /etc/grub.d/00_header ###

### BEGIN /etc/grub.d/05_debian_theme ###
insmod part_gpt
insmod ext2
set root='hd0,gpt4'
if [ x$feature_platform_search_hint = xy ]; then
  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt4 --hint-efi=hd0,gpt4 --hint-baremetal=ahci0,gpt4 --hint='hd0,gpt4'  21ff39a0-521b-4046-baef-6cfd449331af
else
  search --no-floppy --fs-uuid --set=root 21ff39a0-521b-4046-baef-6cfd449331af
fi
insmod png
if background_image /usr/share/images/desktop-base/joy-grub.png; then
  set color_normal=white/black
  set color_highlight=black/white
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 ###
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-21ff39a0-521b-4046-baef-6cfd449331af' {
	load_video
	insmod gzio
	insmod part_gpt
	insmod ext2
	set root='hd0,gpt4'
	if [ x$feature_platform_search_hint = xy ]; then
	  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt4 --hint-efi=hd0,gpt4 --hint-baremetal=ahci0,gpt4 --hint='hd0,gpt4'  21ff39a0-521b-4046-baef-6cfd449331af
	else
	  search --no-floppy --fs-uuid --set=root 21ff39a0-521b-4046-baef-6cfd449331af
	fi
	echo	'Loading Linux 3.12-1-amd64 ...'
	linux	/boot/vmlinuz-3.12-1-amd64 root=UUID=21ff39a0-521b-4046-baef-6cfd449331af ro  quiet acpi_osi=Linux acpi_backlight=legacy
	echo	'Loading initial ramdisk ...'
	initrd	/boot/initrd.img-3.12-1-amd64
}
submenu 'Advanced options for Debian GNU/Linux' $menuentry_id_option 'gnulinux-advanced-21ff39a0-521b-4046-baef-6cfd449331af' {
	menuentry 'Debian GNU/Linux, with Linux 3.12-1-amd64' --class debian --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-3.12-1-amd64-advanced-21ff39a0-521b-4046-baef-6cfd449331af' {
		load_video
		insmod gzio
		insmod part_gpt
		insmod ext2
		set root='hd0,gpt4'
		if [ x$feature_platform_search_hint = xy ]; then
		  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt4 --hint-efi=hd0,gpt4 --hint-baremetal=ahci0,gpt4 --hint='hd0,gpt4'  21ff39a0-521b-4046-baef-6cfd449331af
		else
		  search --no-floppy --fs-uuid --set=root 21ff39a0-521b-4046-baef-6cfd449331af
		fi
		echo	'Loading Linux 3.12-1-amd64 ...'
		linux	/boot/vmlinuz-3.12-1-amd64 root=UUID=21ff39a0-521b-4046-baef-6cfd449331af ro  quiet acpi_osi=Linux acpi_backlight=legacy
		echo	'Loading initial ramdisk ...'
		initrd	/boot/initrd.img-3.12-1-amd64
	}
	menuentry 'Debian GNU/Linux, with Linux 3.12-1-amd64 (recovery mode)' --class debian --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-3.12-1-amd64-recovery-21ff39a0-521b-4046-baef-6cfd449331af' {
		load_video
		insmod gzio
		insmod part_gpt
		insmod ext2
		set root='hd0,gpt4'
		if [ x$feature_platform_search_hint = xy ]; then
		  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt4 --hint-efi=hd0,gpt4 --hint-baremetal=ahci0,gpt4 --hint='hd0,gpt4'  21ff39a0-521b-4046-baef-6cfd449331af
		else
		  search --no-floppy --fs-uuid --set=root 21ff39a0-521b-4046-baef-6cfd449331af
		fi
		echo	'Loading Linux 3.12-1-amd64 ...'
		linux	/boot/vmlinuz-3.12-1-amd64 root=UUID=21ff39a0-521b-4046-baef-6cfd449331af ro single 
		echo	'Loading initial ramdisk ...'
		initrd	/boot/initrd.img-3.12-1-amd64
	}
}

### 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 Boot Manager (UEFI on /dev/sda1)" --class windows --class os {
	insmod part_gpt
	insmod fat
	set root='hd0,gpt1'
	if [ x$feature_platform_search_hint = xy ]; then
	  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt1 --hint-efi=hd0,gpt1 --hint-baremetal=ahci0,gpt1 --hint='hd0,gpt1'  6883-EABB
	else
	  search --no-floppy --fs-uuid --set=root 6883-EABB
	fi
	chainloader /EFI/Microsoft/Boot/bootmgfw.efi
}
### END /etc/grub.d/30_os-prober ###

### BEGIN /etc/grub.d/30_uefi-firmware ###
menuentry 'System setup' $menuentry_id_option 'uefi-firmware' {
	fwsetup
}
### 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 LVM
*********************** END LVM

*********************** BEGIN /dev/disk/by-id
total 0
lrwxrwxrwx 1 root root  9 Mar 12 15:49 ata-HL-DT-ST_DVDRAM_GT51N_KYHC4DD3723 -> ../../sr0
lrwxrwxrwx 1 root root  9 Mar 12 19:49 ata-ST9500423AS_6WR1L0CD -> ../../sda
lrwxrwxrwx 1 root root 10 Mar 12 19:49 ata-ST9500423AS_6WR1L0CD-part1 -> ../../sda1
lrwxrwxrwx 1 root root 10 Mar 12 19:49 ata-ST9500423AS_6WR1L0CD-part2 -> ../../sda2
lrwxrwxrwx 1 root root 10 Mar 12 19:49 ata-ST9500423AS_6WR1L0CD-part3 -> ../../sda3
lrwxrwxrwx 1 root root 10 Mar 12 19:49 ata-ST9500423AS_6WR1L0CD-part4 -> ../../sda4
lrwxrwxrwx 1 root root 10 Mar 12 19:49 ata-ST9500423AS_6WR1L0CD-part5 -> ../../sda5
lrwxrwxrwx 1 root root  9 Mar 12 19:49 scsi-SATA_ST9500423AS_6WR1L0CD -> ../../sda
lrwxrwxrwx 1 root root 10 Mar 12 19:49 scsi-SATA_ST9500423AS_6WR1L0CD-part1 -> ../../sda1
lrwxrwxrwx 1 root root 10 Mar 12 19:49 scsi-SATA_ST9500423AS_6WR1L0CD-part2 -> ../../sda2
lrwxrwxrwx 1 root root 10 Mar 12 19:49 scsi-SATA_ST9500423AS_6WR1L0CD-part3 -> ../../sda3
lrwxrwxrwx 1 root root 10 Mar 12 19:49 scsi-SATA_ST9500423AS_6WR1L0CD-part4 -> ../../sda4
lrwxrwxrwx 1 root root 10 Mar 12 19:49 scsi-SATA_ST9500423AS_6WR1L0CD-part5 -> ../../sda5
lrwxrwxrwx 1 root root  9 Mar 12 19:49 wwn-0x5000c50050c8ba6f -> ../../sda
lrwxrwxrwx 1 root root 10 Mar 12 19:49 wwn-0x5000c50050c8ba6f-part1 -> ../../sda1
lrwxrwxrwx 1 root root 10 Mar 12 19:49 wwn-0x5000c50050c8ba6f-part2 -> ../../sda2
lrwxrwxrwx 1 root root 10 Mar 12 19:49 wwn-0x5000c50050c8ba6f-part3 -> ../../sda3
lrwxrwxrwx 1 root root 10 Mar 12 19:49 wwn-0x5000c50050c8ba6f-part4 -> ../../sda4
lrwxrwxrwx 1 root root 10 Mar 12 19:49 wwn-0x5000c50050c8ba6f-part5 -> ../../sda5
lrwxrwxrwx 1 root root  9 Mar 12 15:49 wwn-0x5001480000000000 -> ../../sr0
*********************** END /dev/disk/by-id

*********************** BEGIN /dev/disk/by-uuid
total 0
lrwxrwxrwx 1 root root 10 Mar 12 19:49 21ff39a0-521b-4046-baef-6cfd449331af -> ../../sda4
lrwxrwxrwx 1 root root 10 Mar 12 19:49 62082D74082D47FD -> ../../sda3
lrwxrwxrwx 1 root root 10 Mar 12 19:49 6883-EABB -> ../../sda1
lrwxrwxrwx 1 root root 10 Mar 12 19:49 cac4f5cc-1b39-40a7-94c8-e11efd4f93fc -> ../../sda5
*********************** END /dev/disk/by-uuid

-- System Information:
Debian Release: jessie/sid
  APT prefers testing
  APT policy: (900, 'testing'), (200, 'unstable'), (175, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.12-1-amd64 (SMP w/8 CPU cores)
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-efi-amd64 depends on:
ii  debconf [debconf-2.0]  1.5.52
ii  grub-common            2.00-22
ii  grub-efi-amd64-bin     2.00-22
ii  grub2-common           2.00-22
ii  ucf                    3.0027+nmu1

grub-efi-amd64 recommends no packages.

grub-efi-amd64 suggests no packages.

-- debconf information:
  grub2/device_map_regenerated:
* grub2/linux_cmdline_default: quiet acpi_osi=Linux acpi_backlight=legacy
  grub2/kfreebsd_cmdline_default: quiet
* grub2/linux_cmdline:
  grub2/kfreebsd_cmdline:



More information about the Pkg-grub-devel mailing list