Bug#567211: grub-efi-ia32: Grub does not instal itself

Michal Suchanek <hramrach@centrum.cz> michal.suchanek at ruk.cuni.cz
Fri Mar 19 14:03:23 UTC 2010


Package: grub-efi-ia32
Version: 1.98-1
Severity: normal


This is because grub is not installed in /boot and MBR when the packge is
installed/upgraded.

Installing automatically is somewhat risky as grub2 is under heavy
development and often the new version breaks something.

Not installing automatically is also risky as grub2 is under heavy
development and when the configuration and tools get out of sync with the
installed loader it often breaks.

Thanks

Michal

-- Package-specific info:

*********************** WARNING grub-setup left core.img in filesystem

*********************** BEGIN /proc/mounts
/dev/disk/by-uuid/9672c75d-b4e9-42ec-9de4-2df6b400479a / ext3 rw,noatime,errors=remount-ro,data=ordered 0 0
/dev/sdb /srv ext3 rw,nosuid,nodev,noatime,errors=continue,data=ordered 0 0
*********************** END /proc/mounts

*********************** BEGIN /boot/grub/device.map
(hd0)	/dev/sda
(hd1)	/dev/sdb
(fd0)   /dev/sdc
*********************** END /boot/grub/device.map

*********************** BEGIN /boot/grub/grub.cfg
#
# DO NOT EDIT THIS FILE
#
# It is automatically generated by /usr/sbin/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="${saved_entry}"
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
}
insmod ext2
set root='(hd0,4)'
search --no-floppy --fs-uuid --set 9672c75d-b4e9-42ec-9de4-2df6b400479a
if loadfont /usr/share/grub/unicode.pf2 ; then
  set gfxmode=640x480
  insmod gfxterm
  insmod efi_gop
  if terminal_output gfxterm ; then true ; else
    # For backward compatibility with versions of terminal.mod that don't
    # understand terminal_output
    terminal gfxterm
  fi
fi
insmod ext2
set root='(hd0,4)'
search --no-floppy --fs-uuid --set 9672c75d-b4e9-42ec-9de4-2df6b400479a
set locale_dir=($root)/boot/grub/locale
set lang=en
insmod gettext
set timeout=5
### 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 ###
menuentry "Debian GNU/Linux, with Linux 2.6.33-2-686" --class debian --class gnu-linux --class gnu --class os {
	insmod ext2
	set root='(hd0,4)'
	search --no-floppy --fs-uuid --set 9672c75d-b4e9-42ec-9de4-2df6b400479a
	echo	Loading Linux 2.6.33-2-686 ...
	linux	/boot/vmlinuz-2.6.33-2-686 root=UUID=9672c75d-b4e9-42ec-9de4-2df6b400479a ro video=efifb 
	echo	Loading initial ramdisk ...
	initrd	/boot/initrd.img-2.6.33-2-686
}
menuentry "Debian GNU/Linux, with Linux 2.6.33-2-686 (recovery mode)" --class debian --class gnu-linux --class gnu --class os {
	insmod ext2
	set root='(hd0,4)'
	search --no-floppy --fs-uuid --set 9672c75d-b4e9-42ec-9de4-2df6b400479a
	echo	Loading Linux 2.6.33-2-686 ...
	linux	/boot/vmlinuz-2.6.33-2-686 root=UUID=9672c75d-b4e9-42ec-9de4-2df6b400479a ro single video=efifb
	echo	Loading initial ramdisk ...
	initrd	/boot/initrd.img-2.6.33-2-686
}
menuentry "Debian GNU/Linux, with Linux 2.6.33" --class debian --class gnu-linux --class gnu --class os {
	insmod ext2
	set root='(hd0,4)'
	search --no-floppy --fs-uuid --set 9672c75d-b4e9-42ec-9de4-2df6b400479a
	echo	Loading Linux 2.6.33 ...
	linux	/boot/vmlinuz-2.6.33 root=UUID=9672c75d-b4e9-42ec-9de4-2df6b400479a ro video=efifb 
	echo	Loading initial ramdisk ...
	initrd	/boot/initrd.img-2.6.33
}
menuentry "Debian GNU/Linux, with Linux 2.6.33 (recovery mode)" --class debian --class gnu-linux --class gnu --class os {
	insmod ext2
	set root='(hd0,4)'
	search --no-floppy --fs-uuid --set 9672c75d-b4e9-42ec-9de4-2df6b400479a
	echo	Loading Linux 2.6.33 ...
	linux	/boot/vmlinuz-2.6.33 root=UUID=9672c75d-b4e9-42ec-9de4-2df6b400479a ro single video=efifb
	echo	Loading initial ramdisk ...
	initrd	/boot/initrd.img-2.6.33
}
menuentry "Debian GNU/Linux, with Linux 2.6.33-rc6" --class debian --class gnu-linux --class gnu --class os {
	insmod ext2
	set root='(hd0,4)'
	search --no-floppy --fs-uuid --set 9672c75d-b4e9-42ec-9de4-2df6b400479a
	echo	Loading Linux 2.6.33-rc6 ...
	linux	/boot/vmlinuz-2.6.33-rc6 root=UUID=9672c75d-b4e9-42ec-9de4-2df6b400479a ro video=efifb 
	echo	Loading initial ramdisk ...
	initrd	/boot/initrd.img-2.6.33-rc6
}
menuentry "Debian GNU/Linux, with Linux 2.6.33-rc6 (recovery mode)" --class debian --class gnu-linux --class gnu --class os {
	insmod ext2
	set root='(hd0,4)'
	search --no-floppy --fs-uuid --set 9672c75d-b4e9-42ec-9de4-2df6b400479a
	echo	Loading Linux 2.6.33-rc6 ...
	linux	/boot/vmlinuz-2.6.33-rc6 root=UUID=9672c75d-b4e9-42ec-9de4-2df6b400479a ro single video=efifb
	echo	Loading initial ramdisk ...
	initrd	/boot/initrd.img-2.6.33-rc6
}
menuentry "Debian GNU/Linux, with Linux 2.6.30-2-686" --class debian --class gnu-linux --class gnu --class os {
	insmod ext2
	set root='(hd0,4)'
	search --no-floppy --fs-uuid --set 9672c75d-b4e9-42ec-9de4-2df6b400479a
	echo	Loading Linux 2.6.30-2-686 ...
	linux	/boot/vmlinuz-2.6.30-2-686 root=UUID=9672c75d-b4e9-42ec-9de4-2df6b400479a ro video=efifb 
	echo	Loading initial ramdisk ...
	initrd	/boot/initrd.img-2.6.30-2-686
}
menuentry "Debian GNU/Linux, with Linux 2.6.30-2-686 (recovery mode)" --class debian --class gnu-linux --class gnu --class os {
	insmod ext2
	set root='(hd0,4)'
	search --no-floppy --fs-uuid --set 9672c75d-b4e9-42ec-9de4-2df6b400479a
	echo	Loading Linux 2.6.30-2-686 ...
	linux	/boot/vmlinuz-2.6.30-2-686 root=UUID=9672c75d-b4e9-42ec-9de4-2df6b400479a ro single video=efifb
	echo	Loading initial ramdisk ...
	initrd	/boot/initrd.img-2.6.30-2-686
}
### END /etc/grub.d/10_linux ###

### BEGIN /etc/grub.d/20_memtest86 ###
menuentry "Memory test (memtest86)" {
	linux	/memtest86.bin
}
### END /etc/grub.d/20_memtest86 ###

### BEGIN /etc/grub.d/25_local ###
menuentry "OS X" {
chainloader (hd0,2)/usr/standalone/i386/boot.efi
}
menuentry "OS X (verbose)" {
chainloader (hd0,2)/usr/standalone/i386/boot.efi -- -v
}
menuentry "reFit" {
chainloader (hd0,2)/efi/refit/refit.efi
}
menuentry "GNU/Linux (auto)" {
  # Set the root device for GNU/Linux.
  search --set /boot/vmlinuz
  # Load the kernel and initrd.
  linux /boot/vmlinuz video=imacfb:mini acpi=force libata.atapi_enabled=1 init=/linuxrc root=/dev/ram0 pcboot=cdrom gpt
  initrd /boot/initrd.img
}
menuentry "Debian" {
  # Set the root device for Linux.
  root=(hd0,4)
  # Load the loader.
  linux /boot/vmlinuz root=/dev/sda3 video=imacfb:mini agp=off
  initrd /boot/initrd.img
}
menuentry "Boot from MBR" {
appleloader HD
}
menuentry "Boot from CD" {
appleloader CD
}
menuentry "Boot from USB" {
appleloader USB
}
### END /etc/grub.d/25_local ###

### 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 ###
*********************** END /boot/grub/grub.cfg

-- System Information:
Debian Release: 5.0.4
  APT prefers stable
  APT policy: (900, 'stable'), (700, 'testing'), (500, 'unstable'), (110, 'experimental')
Architecture: i386 (i686)

Kernel: Linux 2.6.33-686 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) (ignored: LC_ALL set to en_US.UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages grub-efi-ia32 depends on:
ii  debconf [debconf-2.0]         1.5.24     Debian configuration management sy
ii  grub-common                   1.98-1     GRand Unified Bootloader, version 
ii  libc6                         2.10.2-6   Embedded GNU C Library: Shared lib
ii  ucf                           3.0016     Update Configuration File: preserv

grub-efi-ia32 recommends no packages.

Versions of packages grub-efi-ia32 suggests:
ii  efibootmgr                    0.5.4-2    Interact with the EFI Boot Manager
pn  os-prober                     <none>     (no description available)

-- debconf information:
  grub2/kfreebsd_cmdline:
* grub2/linux_cmdline: video=efifb
  grub2/kfreebsd_cmdline_default: quiet
* grub2/linux_cmdline_default:





More information about the Pkg-grub-devel mailing list