Bug#535316: grub-pc: grub-setup error on upgrade.

nagai nagai at sirius.gr.jp
Wed Jul 1 13:41:29 UTC 2009


Package: grub-pc
Version: 1.96+20090629-1
Severity: important

upgrade grub from 1.96+20090628-1 to 1.96+20090629-1, error happend.
try to dpkg-reconfigure grub-pc, following message shown:

grub-setup: warn: Your embedding area is unusually small.  core.img won't fit in it.
grub-setup: error: Embedding is not possible, but this is required when the root device is on a RAID array or LVM volume.
grub-setup: warn: Your embedding area is unusually small.  core.img won't fit in it.
grub-setup: error: Embedding is not possible, but this is required when the root device is on a RAID array or LVM volume.
Generating grub.cfg ...
Found Debian background: moreblue-orbit-grub.png
Found linux image: /boot/vmlinuz-2.6.29-2-amd64
Found initrd image: /boot/initrd.img-2.6.29-2-amd64
Found linux image: /boot/vmlinuz-2.6.29-1-amd64
Found initrd image: /boot/initrd.img-2.6.29-1-amd64
done


my host configuration is followed:

2 sata disks ( sda, sdb ).
partition table is,
/dev/sda1   *           1        3824    30716248+  fd  Linux raid autodetect
/dev/sda2            3825      105810   819202545   fd  Linux raid autodetect
/dev/sda3          105811      121108   122881185   fd  Linux raid autodetect
/dev/sda4          121109      121601     3960022+  82  Linux swap / Solaris

and each partation built in software raid1,
/dev/sd[ab]1 -> /dev/md2, /dev/sd[ab]2 -> /dev/md3, 
/dev/sd[ab]3 -> /dev/md4.
( at boot time , mount each disks by disk label )

-- Package-specific info:

*********************** BEGIN /proc/mounts
/dev/disk/by-uuid/beea3943-aec2-4a8c-bca6-773a96c56c84 / reiserfs rw,notail 0 0
/dev/md3 /home reiserfs rw,notail 0 0
/dev/md4 /var reiserfs rw,notail 0 0
*********************** END /proc/mounts

*********************** BEGIN /boot/grub/device.map
(hd0)	/dev/sda
(hd1)	/dev/sdb
(hd2)	/dev/sdc
(hd3)	/dev/sdd
(hd4)	/dev/sde
*********************** 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 ###
set default=0
set timeout=5
insmod raid mdraid
set root=(md2)
search --no-floppy --fs-uuid --set beea3943-aec2-4a8c-bca6-773a96c56c84
if loadfont /usr/share/grub/ascii.pf2 ; then
  set gfxmode=640x480
  insmod gfxterm
  insmod vbe
  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
### END /etc/grub.d/00_header ###

### BEGIN /etc/grub.d/05_debian_theme ###
insmod raid mdraid
set root=(md2)
search --no-floppy --fs-uuid --set beea3943-aec2-4a8c-bca6-773a96c56c84
insmod png
if background_image /boot/grub/moreblue-orbit-grub.png ; then
  set color_normal=black/black
  set color_highlight=magenta/black
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, Linux 2.6.29-2-amd64" {
	insmod raid mdraid
	set root=(md2)
	search --no-floppy --fs-uuid --set beea3943-aec2-4a8c-bca6-773a96c56c84
	linux	/boot/vmlinuz-2.6.29-2-amd64 root=UUID=beea3943-aec2-4a8c-bca6-773a96c56c84 ro  quiet
	initrd	/boot/initrd.img-2.6.29-2-amd64
}
menuentry "Debian GNU/Linux, Linux 2.6.29-2-amd64 (recovery mode)" {
	insmod raid mdraid
	set root=(md2)
	search --no-floppy --fs-uuid --set beea3943-aec2-4a8c-bca6-773a96c56c84
	linux	/boot/vmlinuz-2.6.29-2-amd64 root=UUID=beea3943-aec2-4a8c-bca6-773a96c56c84 ro single 
	initrd	/boot/initrd.img-2.6.29-2-amd64
}
menuentry "Debian GNU/Linux, Linux 2.6.29-1-amd64" {
	insmod raid mdraid
	set root=(md2)
	search --no-floppy --fs-uuid --set beea3943-aec2-4a8c-bca6-773a96c56c84
	linux	/boot/vmlinuz-2.6.29-1-amd64 root=UUID=beea3943-aec2-4a8c-bca6-773a96c56c84 ro  quiet
	initrd	/boot/initrd.img-2.6.29-1-amd64
}
menuentry "Debian GNU/Linux, Linux 2.6.29-1-amd64 (recovery mode)" {
	insmod raid mdraid
	set root=(md2)
	search --no-floppy --fs-uuid --set beea3943-aec2-4a8c-bca6-773a96c56c84
	linux	/boot/vmlinuz-2.6.29-1-amd64 root=UUID=beea3943-aec2-4a8c-bca6-773a96c56c84 ro single 
	initrd	/boot/initrd.img-2.6.29-1-amd64
}
### 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: squeeze/sid
  APT prefers unstable-i386
  APT policy: (500, 'unstable-i386'), (500, 'transitional-i386'), (500, 'transitional'), (500, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.29-2-amd64 (SMP w/4 CPU cores)
Locale: LANG=ja_JP.UTF-8, LC_CTYPE=ja_JP.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.26          Debian configuration management sy
ii  grub-common              1.96+20090629-1 GRand Unified Bootloader, version 
ii  libc6                    2.9-18          GNU C Library: Shared libraries
ii  ucf                      3.0018          Update Configuration File: preserv

grub-pc recommends no packages.

Versions of packages grub-pc suggests:
ii  desktop-base                  5.0.5      common files for the Debian Deskto
ii  genisoimage                   9:1.1.9-1  Creates ISO-9660 CD-ROM filesystem
ii  os-prober                     1.29       utility to detect other OSes on a 

-- debconf information:
  grub-pc/linux_cmdline: fillme
  grub-pc/chainload_from_menu.lst: true
* grub-pc/install_devices: /dev/sda, /dev/sdb





More information about the Pkg-grub-devel mailing list