Bug#630226: grub-pc_1.99-6_i386.deb also fails with /boot on LVM

Sebastian Cruz default50 at gmail.com
Mon Jun 13 03:45:19 UTC 2011


Package: grub-pc
Version: 1.99-6
Followup-For: Bug #630226


I'm having the same problem under i386 and /boot under LVM (over RAID1 -
md).

Let me know if I can be of any help. Thanks!

Error output inserted below:

root macumba ~ # grub-install /dev/sda
/usr/sbin/grub-setup: warn: Your embedding area is unusually small.
core.img won't fit in it..
/usr/sbin/grub-setup: warn: Embedding is not possible.  GRUB can only be
installed in this setup by using blocklists.  However, blocklists are
UNRELIABLE and their use is discouraged..
/usr/sbin/grub-setup: error: will not proceed with blocklists.

root macumba ~ # grub-install /dev/sdb
/usr/sbin/grub-setup: warn: Your embedding area is unusually small.
core.img won't fit in it..
/usr/sbin/grub-setup: error: embedding is not possible, but this is
required for cross-disk install.


-- Package-specific info:

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

*********************** BEGIN /proc/mounts
/dev/mapper/macumba--vg-root--lv / ext4 rw,relatime,errors=remount-ro,barrier=1,data=ordered 0 0
/dev/mapper/macumba--vg-data--lv /mnt/data ext4 rw,relatime,barrier=1,data=ordered 0 0
/dev/mapper/macumba--vg-root--lv /mnt/data/nfs4/ftp ext4 rw,relatime,errors=remount-ro,barrier=1,data=ordered 0 0
*********************** END /proc/mounts

*********************** BEGIN /boot/grub/device.map
(hd0)	/dev/disk/by-id/ata-WDC_WD5000AAKS-22V1A0_WD-WCAWF5089994
(hd1)	/dev/disk/by-id/ata-WDC_WD5000AAKS-22V1A0_WD-WCAWF5105707
*********************** 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 vbe
  insmod vga
  insmod video_bochs
  insmod video_cirrus
}

insmod raid
insmod mdraid09
insmod lvm
insmod part_msdos
insmod part_msdos
insmod ext2
set root='(macumba-vg-root-lv)'
search --no-floppy --fs-uuid --set=root 12d921f8-359d-4f73-8443-0c4d18949250
if loadfont /usr/share/grub/unicode.pf2 ; then
  set gfxmode=640x480
  load_video
  insmod gfxterm
  insmod raid
  insmod mdraid09
  insmod lvm
  insmod part_msdos
  insmod part_msdos
  insmod ext2
  set root='(macumba-vg-root-lv)'
  search --no-floppy --fs-uuid --set=root 12d921f8-359d-4f73-8443-0c4d18949250
  set locale_dir=($root)/boot/grub/locale
  set lang=en_US
  insmod gettext
fi
terminal_output gfxterm
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.38-2-686-bigmem' --class debian --class gnu-linux --class gnu --class os {
	insmod gzio
	insmod raid
	insmod mdraid09
	insmod lvm
	insmod part_msdos
	insmod part_msdos
	insmod ext2
	set root='(macumba-vg-root-lv)'
	search --no-floppy --fs-uuid --set=root 12d921f8-359d-4f73-8443-0c4d18949250
	echo	'Loading Linux 2.6.38-2-686-bigmem ...'
	linux	/boot/vmlinuz-2.6.38-2-686-bigmem root=/dev/mapper/macumba--vg-root--lv ro  quiet
	echo	'Loading initial ramdisk ...'
	initrd	/boot/initrd.img-2.6.38-2-686-bigmem
}
menuentry 'Debian GNU/Linux, with Linux 2.6.38-2-686-bigmem (recovery mode)' --class debian --class gnu-linux --class gnu --class os {
	insmod gzio
	insmod raid
	insmod mdraid09
	insmod lvm
	insmod part_msdos
	insmod part_msdos
	insmod ext2
	set root='(macumba-vg-root-lv)'
	search --no-floppy --fs-uuid --set=root 12d921f8-359d-4f73-8443-0c4d18949250
	echo	'Loading Linux 2.6.38-2-686-bigmem ...'
	linux	/boot/vmlinuz-2.6.38-2-686-bigmem root=/dev/mapper/macumba--vg-root--lv ro single 
	echo	'Loading initial ramdisk ...'
	initrd	/boot/initrd.img-2.6.38-2-686-bigmem
}
### END /etc/grub.d/10_linux ###

### BEGIN /etc/grub.d/20_linux_xen ###
### END /etc/grub.d/20_linux_xen ###

### BEGIN /etc/grub.d/20_memtest86+ ###
menuentry "Memory test (memtest86+)" {
	insmod raid
	insmod mdraid09
	insmod lvm
	insmod part_msdos
	insmod part_msdos
	insmod ext2
	set root='(macumba-vg-root-lv)'
	search --no-floppy --fs-uuid --set=root 12d921f8-359d-4f73-8443-0c4d18949250
	linux16	/boot/memtest86+.bin
}
menuentry "Memory test (memtest86+, serial console 115200)" {
	insmod raid
	insmod mdraid09
	insmod lvm
	insmod part_msdos
	insmod part_msdos
	insmod ext2
	set root='(macumba-vg-root-lv)'
	search --no-floppy --fs-uuid --set=root 12d921f8-359d-4f73-8443-0c4d18949250
	linux16	/boot/memtest86+.bin console=ttyS0,115200n8
}
menuentry "Memory test (memtest86+, experimental multiboot)" {
	insmod raid
	insmod mdraid09
	insmod lvm
	insmod part_msdos
	insmod part_msdos
	insmod ext2
	set root='(macumba-vg-root-lv)'
	search --no-floppy --fs-uuid --set=root 12d921f8-359d-4f73-8443-0c4d18949250
	multiboot	/boot/memtest86+_multiboot.bin
}
menuentry "Memory test (memtest86+, serial console 115200, experimental multiboot)" {
	insmod raid
	insmod mdraid09
	insmod lvm
	insmod part_msdos
	insmod part_msdos
	insmod ext2
	set root='(macumba-vg-root-lv)'
	search --no-floppy --fs-uuid --set=root 12d921f8-359d-4f73-8443-0c4d18949250
	multiboot	/boot/memtest86+_multiboot.bin console=ttyS0,115200n8
}
### END /etc/grub.d/20_memtest86+ ###

### 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
Personalities : [raid1] 
md0 : active raid1 sda1[0] sdb1[1]
      488383936 blocks [2/2] [UU]
      bitmap: 0/4 pages [0KB], 65536KB chunk

unused devices: <none>
*********************** END /proc/mdstat

*********************** BEGIN LVM
  --- Volume group ---
  VG Name               macumba-vg
  System ID             
  Format                lvm2
  Metadata Areas        1
  Metadata Sequence No  18
  VG Access             read/write
  VG Status             resizable
  MAX LV                0
  Cur LV                3
  Open LV               3
  Max PV                0
  Cur PV                1
  Act PV                1
  VG Size               465.76 GiB
  PE Size               4.00 MiB
  Total PE              119234
  Alloc PE / Size       43532 / 170.05 GiB
  Free  PE / Size       75702 / 295.71 GiB
  VG UUID               hTGMJb-taJ9-41dq-l1MB-rfv0-sTDX-0nr604
   
  --- Physical volume ---
  PV Name               /dev/md0
  VG Name               macumba-vg
  PV Size               465.76 GiB / not usable 1.25 MiB
  Allocatable           yes 
  PE Size               4.00 MiB
  Total PE              119234
  Free PE               75702
  Allocated PE          43532
  PV UUID               SgWLN6-yUEw-qbjb-BmNB-ozME-ef1S-uKuLXJ
   
  --- Logical volume ---
  LV Name                /dev/macumba-vg/root-lv
  VG Name                macumba-vg
  LV UUID                U60HdS-eM68-yjeH-Neoi-mcjm-A5PS-rIlFtp
  LV Write Access        read/write
  LV Status              available
  # open                 1
  LV Size                30.00 GiB
  Current LE             7680
  Segments               2
  Allocation             inherit
  Read ahead sectors     auto
  - currently set to     256
  Block device           253:0
   
  --- Logical volume ---
  LV Name                /dev/macumba-vg/swap-lv
  VG Name                macumba-vg
  LV UUID                15x85p-fIfA-68ZS-KhFz-2zDq-iq5c-W9QT4S
  LV Write Access        read/write
  LV Status              available
  # open                 2
  LV Size                2.00 GiB
  Current LE             512
  Segments               2
  Allocation             inherit
  Read ahead sectors     auto
  - currently set to     256
  Block device           253:1
   
  --- Logical volume ---
  LV Name                /dev/macumba-vg/data-lv
  VG Name                macumba-vg
  LV UUID                Mkk2GJ-Uybm-ACZx-79sp-I9LZ-W8J3-LKqoe8
  LV Write Access        read/write
  LV Status              available
  # open                 1
  LV Size                138.05 GiB
  Current LE             35340
  Segments               1
  Allocation             inherit
  Read ahead sectors     auto
  - currently set to     256
  Block device           253:2
   
*********************** END LVM

*********************** BEGIN /dev/disk/by-id
total 0
lrwxrwxrwx 1 root root  9 Jun 10 17:30 ata-WDC_WD5000AAKS-22V1A0_WD-WCAWF5089994 -> ../../sda
lrwxrwxrwx 1 root root 10 Jun 10 17:30 ata-WDC_WD5000AAKS-22V1A0_WD-WCAWF5089994-part1 -> ../../sda1
lrwxrwxrwx 1 root root  9 Jun 10 17:30 ata-WDC_WD5000AAKS-22V1A0_WD-WCAWF5105707 -> ../../sdb
lrwxrwxrwx 1 root root 10 Jun 10 17:30 ata-WDC_WD5000AAKS-22V1A0_WD-WCAWF5105707-part1 -> ../../sdb1
lrwxrwxrwx 1 root root 10 Jun 10 17:30 dm-name-macumba--vg-data--lv -> ../../dm-2
lrwxrwxrwx 1 root root 10 Jun 10 17:30 dm-name-macumba--vg-root--lv -> ../../dm-0
lrwxrwxrwx 1 root root 10 Jun 10 17:30 dm-name-macumba--vg-swap--lv -> ../../dm-1
lrwxrwxrwx 1 root root 10 Jun 10 17:30 dm-uuid-LVM-hTGMJbtaJ941dql1MBrfv0sTDX0nr60415x85pfIfA68ZSKhFz2zDqiq5cW9QT4S -> ../../dm-1
lrwxrwxrwx 1 root root 10 Jun 10 17:30 dm-uuid-LVM-hTGMJbtaJ941dql1MBrfv0sTDX0nr604Mkk2GJUybmACZx79spI9LZW8J3LKqoe8 -> ../../dm-2
lrwxrwxrwx 1 root root 10 Jun 10 17:30 dm-uuid-LVM-hTGMJbtaJ941dql1MBrfv0sTDX0nr604U60HdSeM68yjeHNeoimcjmA5PSrIlFtp -> ../../dm-0
lrwxrwxrwx 1 root root  9 Jun 10 17:30 md-uuid-f6deebb2:5fc7e510:6eb0d588:acdeac22 -> ../../md0
lrwxrwxrwx 1 root root  9 Jun 10 17:30 scsi-SATA_WDC_WD5000AAKS-_WD-WCAWF5089994 -> ../../sda
lrwxrwxrwx 1 root root 10 Jun 10 17:30 scsi-SATA_WDC_WD5000AAKS-_WD-WCAWF5089994-part1 -> ../../sda1
lrwxrwxrwx 1 root root  9 Jun 10 17:30 scsi-SATA_WDC_WD5000AAKS-_WD-WCAWF5105707 -> ../../sdb
lrwxrwxrwx 1 root root 10 Jun 10 17:30 scsi-SATA_WDC_WD5000AAKS-_WD-WCAWF5105707-part1 -> ../../sdb1
lrwxrwxrwx 1 root root  9 Jun 10 17:30 wwn-0x50014ee102c5a018 -> ../../sdb
lrwxrwxrwx 1 root root 10 Jun 10 17:30 wwn-0x50014ee102c5a018-part1 -> ../../sdb1
lrwxrwxrwx 1 root root  9 Jun 10 17:30 wwn-0x50014ee102c5a471 -> ../../sda
lrwxrwxrwx 1 root root 10 Jun 10 17:30 wwn-0x50014ee102c5a471-part1 -> ../../sda1
*********************** END /dev/disk/by-id

*********************** BEGIN /dev/disk/by-uuid
total 0
lrwxrwxrwx 1 root root 10 Jun 10 17:30 12d921f8-359d-4f73-8443-0c4d18949250 -> ../../dm-0
lrwxrwxrwx 1 root root 10 Jun 10 17:30 a403dab4-2ec6-4896-9cda-4e9d01fc6d53 -> ../../dm-1
lrwxrwxrwx 1 root root 10 Jun 10 17:30 c5228022-ec2c-42f2-9fb6-889d3dd91e7b -> ../../dm-2
*********************** END /dev/disk/by-uuid

-- System Information:
Debian Release: wheezy/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: i386 (i686)

Kernel: Linux 2.6.38-2-686-bigmem (SMP w/2 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-pc depends on:
ii  debconf [debconf-2.0]        1.5.39      Debian configuration management sy
ii  grub-common                  1.99-6      GRand Unified Bootloader (common f
ii  grub-pc-bin                  1.99-6      GRand Unified Bootloader, version 
ii  grub2-common                 1.99-6      GRand Unified Bootloader (common f
ii  ucf                          3.0025+nmu2 Update Configuration File: preserv

grub-pc recommends no packages.

grub-pc suggests no packages.

-- debconf information:
  grub2/kfreebsd_cmdline:
  grub2/device_map_regenerated:
* grub2/linux_cmdline:
  grub-pc/install_devices_empty: false
* grub-pc/install_devices_failed: true
  grub-pc/chainload_from_menu.lst: true
  grub-pc/kopt_extracted: false
* grub-pc/install_devices: /dev/disk/by-id/ata-WDC_WD5000AAKS-22V1A0_WD-WCAWF5089994, /dev/disk/by-id/ata-WDC_WD5000AAKS-22V1A0_WD-WCAWF5105707
  grub-pc/postrm_purge_boot_grub: false
  grub-pc/install_devices_failed_upgrade: true
  grub-pc/disk_description:
  grub2/kfreebsd_cmdline_default: quiet
  grub-pc/partition_description:
  grub-pc/install_devices_disks_changed:
* grub2/linux_cmdline_default: quiet
  grub-pc/mixed_legacy_and_grub2: true





More information about the Pkg-grub-devel mailing list