Bug#696827: grub-efi-amd64: Debian Wheezy EFI install locks out access to UEFI

Lauri Vuojolahti lauri.vuojolahti at gmail.com
Thu Dec 27 21:20:35 UTC 2012


Package: grub-efi-amd64
Version: 1.99-23.1
Severity: important
Tags: d-i

Installin Debian Wheezy to Fujitsu Lifebook AH532 locks out access to UEFI.
After installing Debian it's not possible to access UEFI during boot up by
pressing F2. Also boot menu (F12)  shows Debian as the only boot option, this
makes it impossible to boot livecd, usb stick or anything other than Debian
installation on the hard drive.

To be able to access UEFI again I had to open the laptop and short CL1 and CL2
pins on the motherboard. Then I was able to boot to usb stick containing
FreeDos and flash the "BIOS". After all that I had access to UEFI settings
again but booting to Debian installation on the hard drive didn't work anymore.
To be able to boot to Debian again I started Debian netinstall rescue mode and
ran dpkg-reconfigure grub-efi-amd64, this made my Debian installation work
again, but now I'm back to square one without access to UEFI settings or
ability to boot anything other than Debian.



-- Package-specific info:

*********************** BEGIN /proc/mounts
/dev/disk/by-uuid/71d48443-979b-4899-b79d-7de3a63d1ac8 / ext4 rw,relatime,errors=remount-ro,data=ordered 0 0
/dev/sda1 /boot/efi vfat rw,relatime,fmask=0022,dmask=0022,codepage=cp437,iocharset=utf8,shortname=mixed,errors=remount-ro 0 0
*********************** END /proc/mounts

*********************** BEGIN /boot/grub/device.map
(hd0)	/dev/disk/by-id/ata-TOSHIBA_MK3276GSX_62G3C0OHT
(hd1)	/dev/disk/by-id/usb-ADATA_USB_Flash_Drive_11B0414192330043-0:0
*********************** 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
}

function load_video {
  insmod efi_gop
  insmod efi_uga
  insmod video_bochs
  insmod video_cirrus
}

insmod part_gpt
insmod ext2
set root='(hd0,gpt2)'
search --no-floppy --fs-uuid --set=root 71d48443-979b-4899-b79d-7de3a63d1ac8
if loadfont /usr/share/grub/unicode.pf2 ; then
  set gfxmode=640x480
  load_video
  insmod gfxterm
  insmod part_gpt
  insmod ext2
  set root='(hd0,gpt2)'
  search --no-floppy --fs-uuid --set=root 71d48443-979b-4899-b79d-7de3a63d1ac8
  set locale_dir=($root)/boot/grub/locale
  set lang=C
  insmod gettext
fi
terminal_output gfxterm
set timeout=5
### END /etc/grub.d/00_header ###

### BEGIN /etc/grub.d/05_debian_theme ###
insmod part_gpt
insmod ext2
set root='(hd0,gpt2)'
search --no-floppy --fs-uuid --set=root 71d48443-979b-4899-b79d-7de3a63d1ac8
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 ###
menuentry 'Debian GNU/Linux, with Linux 3.7.1-24122012' --class debian --class gnu-linux --class gnu --class os {
	insmod gzio
	insmod part_gpt
	insmod ext2
	set root='(hd0,gpt2)'
	search --no-floppy --fs-uuid --set=root 71d48443-979b-4899-b79d-7de3a63d1ac8
	echo	'Loading Linux 3.7.1-24122012 ...'
	linux	/boot/vmlinuz-3.7.1-24122012 root=UUID=71d48443-979b-4899-b79d-7de3a63d1ac8 ro  quiet
	echo	'Loading initial ramdisk ...'
	initrd	/boot/initrd.img-3.7.1-24122012
}
menuentry 'Debian GNU/Linux, with Linux 3.7.1-24122012 (recovery mode)' --class debian --class gnu-linux --class gnu --class os {
	insmod gzio
	insmod part_gpt
	insmod ext2
	set root='(hd0,gpt2)'
	search --no-floppy --fs-uuid --set=root 71d48443-979b-4899-b79d-7de3a63d1ac8
	echo	'Loading Linux 3.7.1-24122012 ...'
	linux	/boot/vmlinuz-3.7.1-24122012 root=UUID=71d48443-979b-4899-b79d-7de3a63d1ac8 ro single 
	echo	'Loading initial ramdisk ...'
	initrd	/boot/initrd.img-3.7.1-24122012
}
menuentry 'Debian GNU/Linux, with Linux 3.2.0-4-amd64' --class debian --class gnu-linux --class gnu --class os {
	insmod gzio
	insmod part_gpt
	insmod ext2
	set root='(hd0,gpt2)'
	search --no-floppy --fs-uuid --set=root 71d48443-979b-4899-b79d-7de3a63d1ac8
	echo	'Loading Linux 3.2.0-4-amd64 ...'
	linux	/boot/vmlinuz-3.2.0-4-amd64 root=UUID=71d48443-979b-4899-b79d-7de3a63d1ac8 ro  quiet
	echo	'Loading initial ramdisk ...'
	initrd	/boot/initrd.img-3.2.0-4-amd64
}
menuentry 'Debian GNU/Linux, with Linux 3.2.0-4-amd64 (recovery mode)' --class debian --class gnu-linux --class gnu --class os {
	insmod gzio
	insmod part_gpt
	insmod ext2
	set root='(hd0,gpt2)'
	search --no-floppy --fs-uuid --set=root 71d48443-979b-4899-b79d-7de3a63d1ac8
	echo	'Loading Linux 3.2.0-4-amd64 ...'
	linux	/boot/vmlinuz-3.2.0-4-amd64 root=UUID=71d48443-979b-4899-b79d-7de3a63d1ac8 ro single 
	echo	'Loading initial ramdisk ...'
	initrd	/boot/initrd.img-3.2.0-4-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 ###
### 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  $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 Dec 27 13:14 ata-TOSHIBA_MK3276GSX_62G3C0OHT -> ../../sda
lrwxrwxrwx 1 root root 10 Dec 27 13:14 ata-TOSHIBA_MK3276GSX_62G3C0OHT-part1 -> ../../sda1
lrwxrwxrwx 1 root root 10 Dec 27 13:14 ata-TOSHIBA_MK3276GSX_62G3C0OHT-part2 -> ../../sda2
lrwxrwxrwx 1 root root 10 Dec 27 13:14 ata-TOSHIBA_MK3276GSX_62G3C0OHT-part3 -> ../../sda3
lrwxrwxrwx 1 root root  9 Dec 27 13:14 ata-TSSTcorp_CDDVDW_SN-208AB_R8HT6GEC200456 -> ../../sr0
lrwxrwxrwx 1 root root  9 Dec 27 13:14 scsi-SATA_TOSHIBA_MK3276G_62G3C0OHT -> ../../sda
lrwxrwxrwx 1 root root 10 Dec 27 13:14 scsi-SATA_TOSHIBA_MK3276G_62G3C0OHT-part1 -> ../../sda1
lrwxrwxrwx 1 root root 10 Dec 27 13:14 scsi-SATA_TOSHIBA_MK3276G_62G3C0OHT-part2 -> ../../sda2
lrwxrwxrwx 1 root root 10 Dec 27 13:14 scsi-SATA_TOSHIBA_MK3276G_62G3C0OHT-part3 -> ../../sda3
lrwxrwxrwx 1 root root  9 Dec 27 13:14 wwn-0x50000394134060e2 -> ../../sda
lrwxrwxrwx 1 root root 10 Dec 27 13:14 wwn-0x50000394134060e2-part1 -> ../../sda1
lrwxrwxrwx 1 root root 10 Dec 27 13:14 wwn-0x50000394134060e2-part2 -> ../../sda2
lrwxrwxrwx 1 root root 10 Dec 27 13:14 wwn-0x50000394134060e2-part3 -> ../../sda3
*********************** END /dev/disk/by-id

*********************** BEGIN /dev/disk/by-uuid
total 0
lrwxrwxrwx 1 root root 10 Dec 27 13:14 5ff6ee10-7028-48d9-aa2b-0f8a8faa5cb8 -> ../../sda3
lrwxrwxrwx 1 root root 10 Dec 27 13:14 71d48443-979b-4899-b79d-7de3a63d1ac8 -> ../../sda2
lrwxrwxrwx 1 root root 10 Dec 27 13:14 FD8E-F7BD -> ../../sda1
*********************** END /dev/disk/by-uuid

-- System Information:
Debian Release: 7.0
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.7.1-24122012 (SMP w/4 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-efi-amd64 depends on:
ii  debconf [debconf-2.0]  1.5.49
ii  grub-common            1.99-23.1
ii  grub-efi-amd64-bin     1.99-23.1
ii  grub2-common           1.99-23.1
ii  ucf                    3.0025+nmu3

grub-efi-amd64 recommends no packages.

grub-efi-amd64 suggests no packages.

-- debconf information excluded



More information about the Pkg-grub-devel mailing list