Bug#612673: grub-pc: Grub2 fails installing on RAID-1

Michael Guntsche mike at it-loops.com
Wed Feb 9 21:46:12 UTC 2011


Package: grub-pc
Version: 1.99~rc1-2
Severity: important

With the current version grub-setup fails when trying to install on a
RAID-1 device. Apparently it tries to install on a partition instead of
the disk itself. Here is part of the verbose output

Working: (1.98+20100804-9)
========
<snip>
+ /usr/sbin/grub-probe --device-map=/boot/grub/device.map --target=abstraction --device /dev/md0
+ devabstraction_module='raid mdraid '
+ modules=' biosdisk'
+ modules=' biosdisk ext2  part_msdos part_msdos part_msdos part_msdos part_msdos raid mdraid '
++ make_system_path_relative_to_its_root /boot/grub
++ /usr/bin/grub-mkrelpath /boot/grub
+ relative_grubdir=/grub
+ '[' x/grub = x ']'
+ prefix_drive=
+ config_opt=
+ rm -f /boot/grub/load.cfg
+ '[' x '!=' x ']'
+ '[' 'xraid mdraid ' = x ']'
++ /usr/sbin/grub-probe --device-map=/boot/grub/device.map --target=drive --device /dev/md0
+ prefix_drive='(md0)'
+ case "${target_cpu}-${platform}" in
+ mkimage_target=i386-pc
+ '[' i386-pc = i386-pc ']'
+ /usr/bin/grub-mkimage -O i386-pc --output=/boot/grub/core.img '--prefix=(md0)/grub' biosdisk ext2 part_msdos part_msdos part_msdos part_msdos part_msdos raid mdraid
+ /usr/sbin/grub-setup --verbose --directory=/boot/grub --device-map=/boot/grub/device.map /dev/md0
/usr/sbin/grub-setup: info: `/dev/fd0' looks like a floppy drive, skipping.
/usr/sbin/grub-setup: info: the size of hd0 is 976773168.
/usr/sbin/grub-setup: info: the size of hd0 is 976773168.
/usr/sbin/grub-setup: info: the size of hd0 is 976773168.
/usr/sbin/grub-setup: info: the size of hd0 is 976773168.
/usr/sbin/grub-setup: info: the size of hd1 is 781422768.
/usr/sbin/grub-setup: info: the size of hd1 is 781422768.
/usr/sbin/grub-setup: info: the size of hd1 is 781422768.
/usr/sbin/grub-setup: info: the size of hd1 is 781422768.
/usr/sbin/grub-setup: info: the size of hd2 is 976773168.
/usr/sbin/grub-setup: info: the size of hd2 is 976773168.
/usr/sbin/grub-setup: info: the size of hd2 is 976773168.
/usr/sbin/grub-setup: info: the size of hd2 is 976773168.
/usr/sbin/grub-setup: info: the size of hd3 is 976773168.
/usr/sbin/grub-setup: info: the size of hd3 is 976773168.
/usr/sbin/grub-setup: info: the size of hd3 is 976773168.
/usr/sbin/grub-setup: info: the size of hd3 is 976773168.
/usr/sbin/grub-setup: info: the size of hd4 is 976773168.
/usr/sbin/grub-setup: info: the size of hd4 is 976773168.
/usr/sbin/grub-setup: info: the size of hd4 is 976773168.
/usr/sbin/grub-setup: info: the size of hd4 is 976773168.
/usr/sbin/grub-setup: info: the size of hd5 is 976773168.
/usr/sbin/grub-setup: info: the size of hd5 is 976773168.
/usr/sbin/grub-setup: info: the size of hd5 is 976773168.
/usr/sbin/grub-setup: info: the size of hd5 is 976773168.
/usr/sbin/grub-setup: info: the size of hd0 is 976773168.
/usr/sbin/grub-setup: info: the size of hd0 is 976773168.
/usr/sbin/grub-setup: info: the size of hd0 is 976773168.
/usr/sbin/grub-setup: info: the size of hd0 is 976773168.
/usr/sbin/grub-setup: info: the size of hd1 is 781422768.
/usr/sbin/grub-setup: info: the size of hd1 is 781422768.
/usr/sbin/grub-setup: info: the size of hd1 is 781422768.
/usr/sbin/grub-setup: info: the size of hd1 is 781422768.
/usr/sbin/grub-setup: info: the size of hd2 is 976773168.
/usr/sbin/grub-setup: info: the size of hd2 is 976773168.
/usr/sbin/grub-setup: info: the size of hd2 is 976773168.
/usr/sbin/grub-setup: info: the size of hd2 is 976773168.
/usr/sbin/grub-setup: info: the size of hd3 is 976773168.
/usr/sbin/grub-setup: info: the size of hd3 is 976773168.
/usr/sbin/grub-setup: info: the size of hd3 is 976773168.
/usr/sbin/grub-setup: info: the size of hd3 is 976773168.
/usr/sbin/grub-setup: info: the size of hd4 is 976773168.
/usr/sbin/grub-setup: info: the size of hd4 is 976773168.
/usr/sbin/grub-setup: info: the size of hd4 is 976773168.
/usr/sbin/grub-setup: info: the size of hd4 is 976773168.
/usr/sbin/grub-setup: info: the size of hd5 is 976773168.
/usr/sbin/grub-setup: info: the size of hd5 is 976773168.
/usr/sbin/grub-setup: info: the size of hd5 is 976773168.
/usr/sbin/grub-setup: info: the size of hd5 is 976773168.
/usr/sbin/grub-setup: info: changing current directory to /dev.
/usr/sbin/grub-setup: info: changing current directory to snd.
/usr/sbin/grub-setup: info: changing current directory to by-path.
/usr/sbin/grub-setup: info: changing current directory to shm.
/usr/sbin/grub-setup: info: changing current directory to HotFuzz.
/usr/sbin/grub-setup: info: getting the size of /boot/grub/boot.img.
/usr/sbin/grub-setup: info: reading /boot/grub/boot.img.
/usr/sbin/grub-setup: info: getting the size of /boot/grub/boot.img.
/usr/sbin/grub-setup: info: getting the size of /boot/grub/core.img.
/usr/sbin/grub-setup: info: reading /boot/grub/core.img.
/usr/sbin/grub-setup: info: getting the size of /boot/grub/core.img.
/usr/sbin/grub-setup: info: the size of hd2 is 976773168.
/usr/sbin/grub-setup: info: setting the root device to `md0'.
/usr/sbin/grub-setup: info: dos partition is -2, bsd partition is -2.
/usr/sbin/grub-setup: info: the core image will be embedded at sector 0x1.
/usr/sbin/grub-setup: info: getting the size of /boot/grub/boot.img.
/usr/sbin/grub-setup: info: reading /boot/grub/boot.img.
/usr/sbin/grub-setup: info: getting the size of /boot/grub/boot.img.
/usr/sbin/grub-setup: info: getting the size of /boot/grub/core.img.
/usr/sbin/grub-setup: info: reading /boot/grub/core.img.
/usr/sbin/grub-setup: info: getting the size of /boot/grub/core.img.
/usr/sbin/grub-setup: info: the size of hd3 is 976773168.
/usr/sbin/grub-setup: info: setting the root device to `md0'.
/usr/sbin/grub-setup: info: dos partition is -2, bsd partition is -2.
/usr/sbin/grub-setup: info: the core image will be embedded at sector 0x1.
/usr/sbin/grub-setup: info: getting the size of /boot/grub/boot.img.
/usr/sbin/grub-setup: info: reading /boot/grub/boot.img.
/usr/sbin/grub-setup: info: getting the size of /boot/grub/boot.img.
/usr/sbin/grub-setup: info: getting the size of /boot/grub/core.img.
/usr/sbin/grub-setup: info: reading /boot/grub/core.img.
/usr/sbin/grub-setup: info: getting the size of /boot/grub/core.img.
/usr/sbin/grub-setup: info: the size of hd4 is 976773168.
/usr/sbin/grub-setup: info: setting the root device to `md0'.
/usr/sbin/grub-setup: info: dos partition is -2, bsd partition is -2.
/usr/sbin/grub-setup: info: the core image will be embedded at sector 0x1.
/usr/sbin/grub-setup: info: getting the size of /boot/grub/boot.img.
/usr/sbin/grub-setup: info: reading /boot/grub/boot.img.
/usr/sbin/grub-setup: info: getting the size of /boot/grub/boot.img.
/usr/sbin/grub-setup: info: getting the size of /boot/grub/core.img.
/usr/sbin/grub-setup: info: reading /boot/grub/core.img.
/usr/sbin/grub-setup: info: getting the size of /boot/grub/core.img.
/usr/sbin/grub-setup: info: the size of hd5 is 976773168.
/usr/sbin/grub-setup: info: setting the root device to `md0'.
/usr/sbin/grub-setup: info: dos partition is -2, bsd partition is -2.
/usr/sbin/grub-setup: info: the core image will be embedded at sector 0x1.
/usr/sbin/grub-setup: info: getting the size of /boot/grub/boot.img.
/usr/sbin/grub-setup: info: reading /boot/grub/boot.img.
/usr/sbin/grub-setup: info: getting the size of /boot/grub/boot.img.
/usr/sbin/grub-setup: info: getting the size of /boot/grub/core.img.
/usr/sbin/grub-setup: info: reading /boot/grub/core.img.
/usr/sbin/grub-setup: info: getting the size of /boot/grub/core.img.
/usr/sbin/grub-setup: info: the size of hd0 is 976773168.
/usr/sbin/grub-setup: info: setting the root device to `md0'.
/usr/sbin/grub-setup: info: dos partition is -2, bsd partition is -2.
/usr/sbin/grub-setup: info: the core image will be embedded at sector 0x1.

Broken: (with the current version)
=======
+ /usr/bin/grub-mkimage -d /usr/lib/grub/i386-pc -O i386-pc --output=/boot/grub/core.img '--prefix=(md0)/grub' biosdisk ext2 part_msdos part_msdos part_msdos part_msdos part_msdos raid mdraid09
+ '[' i386-pc = mips-yeeloong ']'
+ '[' i386-pc = i386-ieee1275 ']'
+ '[' i386-pc = powerpc-ieee1275 ']'
+ '[' i386-pc = i386-efi ']'
+ '[' i386-pc = x86_64-efi ']'
+ '[' i386-pc = i386-pc ']'
+ /usr/sbin/grub-setup --verbose --directory=/boot/grub --device-map=/boot/grub/device.map /dev/md0
/usr/sbin/grub-setup: info: `/dev/fd0' looks like a floppy drive, skipping.
/usr/sbin/grub-setup: info: the size of hd0 is 976773168.
/usr/sbin/grub-setup: info: the size of hd0 is 976773168.
/usr/sbin/grub-setup: info: the size of hd1 is 781422768.
/usr/sbin/grub-setup: info: the size of hd1 is 781422768.
/usr/sbin/grub-setup: info: the size of hd2 is 976773168.
/usr/sbin/grub-setup: info: the size of hd2 is 976773168.
/usr/sbin/grub-setup: info: the size of hd3 is 976773168.
/usr/sbin/grub-setup: info: the size of hd3 is 976773168.
/usr/sbin/grub-setup: info: the size of hd4 is 976773168.
/usr/sbin/grub-setup: info: the size of hd4 is 976773168.
/usr/sbin/grub-setup: info: the size of hd5 is 976773168.
/usr/sbin/grub-setup: info: the size of hd5 is 976773168.
/usr/sbin/grub-setup: info: scanning hd0 for LVM.
/usr/sbin/grub-setup: info: the size of hd0 is 976773168.
/usr/sbin/grub-setup: info: no LVM signature found
.
/usr/sbin/grub-setup: info: the size of hd0 is 976773168.
/usr/sbin/grub-setup: info: scanning hd1 for LVM.
/usr/sbin/grub-setup: info: the size of hd1 is 781422768.
/usr/sbin/grub-setup: info: no LVM signature found
.
/usr/sbin/grub-setup: info: the size of hd1 is 781422768.
/usr/sbin/grub-setup: info: scanning hd2 for LVM.
/usr/sbin/grub-setup: info: the size of hd2 is 976773168.
/usr/sbin/grub-setup: info: no LVM signature found
.
/usr/sbin/grub-setup: info: the size of hd2 is 976773168.
/usr/sbin/grub-setup: info: scanning hd3 for LVM.
/usr/sbin/grub-setup: info: the size of hd3 is 976773168.
/usr/sbin/grub-setup: info: no LVM signature found
.
/usr/sbin/grub-setup: info: the size of hd3 is 976773168.
/usr/sbin/grub-setup: info: scanning hd4 for LVM.
/usr/sbin/grub-setup: info: the size of hd4 is 976773168.
/usr/sbin/grub-setup: info: no LVM signature found
.
/usr/sbin/grub-setup: info: the size of hd4 is 976773168.
/usr/sbin/grub-setup: info: scanning hd5 for LVM.
/usr/sbin/grub-setup: info: the size of hd5 is 976773168.
/usr/sbin/grub-setup: info: no LVM signature found
.
/usr/sbin/grub-setup: info: the size of hd5 is 976773168.
/usr/sbin/grub-setup: info: the size of hd0 is 976773168.
/usr/sbin/grub-setup: info: the size of hd0 is 976773168.
/usr/sbin/grub-setup: info: the size of hd1 is 781422768.
/usr/sbin/grub-setup: info: the size of hd1 is 781422768.
/usr/sbin/grub-setup: info: the size of hd2 is 976773168.
/usr/sbin/grub-setup: info: the size of hd2 is 976773168.
/usr/sbin/grub-setup: info: the size of hd3 is 976773168.
/usr/sbin/grub-setup: info: the size of hd3 is 976773168.
/usr/sbin/grub-setup: info: the size of hd4 is 976773168.
/usr/sbin/grub-setup: info: the size of hd4 is 976773168.
/usr/sbin/grub-setup: info: the size of hd5 is 976773168.
/usr/sbin/grub-setup: info: the size of hd5 is 976773168.
/usr/sbin/grub-setup: info: the size of hd0 is 976773168.
/usr/sbin/grub-setup: info: the size of hd0 is 976773168.
/usr/sbin/grub-setup: info: the size of hd1 is 781422768.
/usr/sbin/grub-setup: info: the size of hd1 is 781422768.
/usr/sbin/grub-setup: info: the size of hd2 is 976773168.
/usr/sbin/grub-setup: info: the size of hd2 is 976773168.
/usr/sbin/grub-setup: info: the size of hd3 is 976773168.
/usr/sbin/grub-setup: info: the size of hd3 is 976773168.
/usr/sbin/grub-setup: info: the size of hd4 is 976773168.
/usr/sbin/grub-setup: info: the size of hd4 is 976773168.
/usr/sbin/grub-setup: info: the size of hd5 is 976773168.
/usr/sbin/grub-setup: info: the size of hd5 is 976773168.
/usr/sbin/grub-setup: info: the size of hd0 is 976773168.
/usr/sbin/grub-setup: info: the size of hd0 is 976773168.
/usr/sbin/grub-setup: info: the size of hd0 is 976773168.
/usr/sbin/grub-setup: info: the size of hd0 is 976773168.
/usr/sbin/grub-setup: info: the size of hd1 is 781422768.
/usr/sbin/grub-setup: info: the size of hd1 is 781422768.
/usr/sbin/grub-setup: info: the size of hd1 is 781422768.
/usr/sbin/grub-setup: info: the size of hd1 is 781422768.
/usr/sbin/grub-setup: info: the size of hd2 is 976773168.
/usr/sbin/grub-setup: info: the size of hd2 is 976773168.
/usr/sbin/grub-setup: info: the size of hd2 is 976773168.
/usr/sbin/grub-setup: info: the size of hd2 is 976773168.
/usr/sbin/grub-setup: info: the size of hd3 is 976773168.
/usr/sbin/grub-setup: info: the size of hd3 is 976773168.
/usr/sbin/grub-setup: info: the size of hd3 is 976773168.
/usr/sbin/grub-setup: info: the size of hd3 is 976773168.
/usr/sbin/grub-setup: info: the size of hd4 is 976773168.
/usr/sbin/grub-setup: info: the size of hd4 is 976773168.
/usr/sbin/grub-setup: info: the size of hd4 is 976773168.
/usr/sbin/grub-setup: info: the size of hd4 is 976773168.
/usr/sbin/grub-setup: info: the size of hd5 is 976773168.
/usr/sbin/grub-setup: info: the size of hd5 is 976773168.
/usr/sbin/grub-setup: info: the size of hd5 is 976773168.
/usr/sbin/grub-setup: info: the size of hd5 is 976773168.
/usr/sbin/grub-setup: info: the size of hd0 is 976773168.
/usr/sbin/grub-setup: info: the size of hd0 is 976773168.
/usr/sbin/grub-setup: info: the size of hd0 is 976773168.
/usr/sbin/grub-setup: info: the size of hd0 is 976773168.
/usr/sbin/grub-setup: info: the size of hd1 is 781422768.
/usr/sbin/grub-setup: info: the size of hd1 is 781422768.
/usr/sbin/grub-setup: info: the size of hd1 is 781422768.
/usr/sbin/grub-setup: info: the size of hd1 is 781422768.
/usr/sbin/grub-setup: info: the size of hd2 is 976773168.
/usr/sbin/grub-setup: info: the size of hd2 is 976773168.
/usr/sbin/grub-setup: info: the size of hd2 is 976773168.
/usr/sbin/grub-setup: info: the size of hd2 is 976773168.
/usr/sbin/grub-setup: info: the size of hd3 is 976773168.
/usr/sbin/grub-setup: info: the size of hd3 is 976773168.
/usr/sbin/grub-setup: info: the size of hd3 is 976773168.
/usr/sbin/grub-setup: info: the size of hd3 is 976773168.
/usr/sbin/grub-setup: info: the size of hd4 is 976773168.
/usr/sbin/grub-setup: info: the size of hd4 is 976773168.
/usr/sbin/grub-setup: info: the size of hd4 is 976773168.
/usr/sbin/grub-setup: info: the size of hd4 is 976773168.
/usr/sbin/grub-setup: info: the size of hd5 is 976773168.
/usr/sbin/grub-setup: info: the size of hd5 is 976773168.
/usr/sbin/grub-setup: info: the size of hd5 is 976773168.
/usr/sbin/grub-setup: info: the size of hd5 is 976773168.
/usr/sbin/grub-setup: info: scanning md/1 for LVM.
/usr/sbin/grub-setup: info: scanning md0 for LVM.
/usr/sbin/grub-setup: info: no LVM signature found
.
/usr/sbin/grub-setup: info: scanning hd0 for LVM.
/usr/sbin/grub-setup: info: the size of hd0 is 976773168.
/usr/sbin/grub-setup: info: no LVM signature found
.
/usr/sbin/grub-setup: info: the size of hd0 is 976773168.
/usr/sbin/grub-setup: info: scanning hd0,msdos2 for LVM.
/usr/sbin/grub-setup: info: the size of hd0 is 976773168.
/usr/sbin/grub-setup: info: no LVM signature found
.
/usr/sbin/grub-setup: info: scanning hd0,msdos1 for LVM.
/usr/sbin/grub-setup: info: the size of hd0 is 976773168.
/usr/sbin/grub-setup: info: no LVM signature found
.
/usr/sbin/grub-setup: info: scanning hd1 for LVM.
/usr/sbin/grub-setup: info: the size of hd1 is 781422768.
/usr/sbin/grub-setup: info: no LVM signature found
.
/usr/sbin/grub-setup: info: the size of hd1 is 781422768.
/usr/sbin/grub-setup: info: scanning hd1,gpt2 for LVM.
/usr/sbin/grub-setup: info: the size of hd1 is 781422768.
/usr/sbin/grub-setup: info: no LVM signature found
.
/usr/sbin/grub-setup: info: scanning hd1,gpt1 for LVM.
/usr/sbin/grub-setup: info: the size of hd1 is 781422768.
/usr/sbin/grub-setup: info: no LVM signature found
.
/usr/sbin/grub-setup: info: scanning hd2 for LVM.
/usr/sbin/grub-setup: info: the size of hd2 is 976773168.
/usr/sbin/grub-setup: info: no LVM signature found
.
/usr/sbin/grub-setup: info: the size of hd2 is 976773168.
/usr/sbin/grub-setup: info: scanning hd2,msdos2 for LVM.
/usr/sbin/grub-setup: info: the size of hd2 is 976773168.
/usr/sbin/grub-setup: info: scanning hd2,msdos1 for LVM.
/usr/sbin/grub-setup: info: the size of hd2 is 976773168.
/usr/sbin/grub-setup: info: no LVM signature found
.
/usr/sbin/grub-setup: info: scanning hd3 for LVM.
/usr/sbin/grub-setup: info: the size of hd3 is 976773168.
/usr/sbin/grub-setup: info: no LVM signature found
.
/usr/sbin/grub-setup: info: the size of hd3 is 976773168.
/usr/sbin/grub-setup: info: scanning hd3,msdos2 for LVM.
/usr/sbin/grub-setup: info: the size of hd3 is 976773168.
/usr/sbin/grub-setup: info: no LVM signature found
.
/usr/sbin/grub-setup: info: scanning hd3,msdos1 for LVM.
/usr/sbin/grub-setup: info: the size of hd3 is 976773168.
/usr/sbin/grub-setup: info: no LVM signature found
.
/usr/sbin/grub-setup: info: scanning hd4 for LVM.
/usr/sbin/grub-setup: info: the size of hd4 is 976773168.
/usr/sbin/grub-setup: info: no LVM signature found
.
/usr/sbin/grub-setup: info: the size of hd4 is 976773168.
/usr/sbin/grub-setup: info: scanning hd4,msdos2 for LVM.
/usr/sbin/grub-setup: info: the size of hd4 is 976773168.
/usr/sbin/grub-setup: info: no LVM signature found
.
/usr/sbin/grub-setup: info: scanning hd4,msdos1 for LVM.
/usr/sbin/grub-setup: info: the size of hd4 is 976773168.
/usr/sbin/grub-setup: info: no LVM signature found
.
/usr/sbin/grub-setup: info: scanning hd5 for LVM.
/usr/sbin/grub-setup: info: the size of hd5 is 976773168.
/usr/sbin/grub-setup: info: no LVM signature found
.
/usr/sbin/grub-setup: info: the size of hd5 is 976773168.
/usr/sbin/grub-setup: info: scanning hd5,msdos2 for LVM.
/usr/sbin/grub-setup: info: the size of hd5 is 976773168.
/usr/sbin/grub-setup: info: no LVM signature found
.
/usr/sbin/grub-setup: info: scanning hd5,msdos1 for LVM.
/usr/sbin/grub-setup: info: the size of hd5 is 976773168.
/usr/sbin/grub-setup: info: no LVM signature found
.
/usr/sbin/grub-setup: info: transformed OS device `/dev/md0' into GRUB device `md0'.
/usr/sbin/grub-setup: info: changing current directory to /dev.
/usr/sbin/grub-setup: info: changing current directory to snd.
/usr/sbin/grub-setup: info: changing current directory to by-path.
/usr/sbin/grub-setup: info: changing current directory to shm.
/usr/sbin/grub-setup: info: changing current directory to HotFuzz.
/usr/sbin/grub-setup: info: guessed root device `/dev/md0' and root_dev `md0' from dir `/boot/grub'.
/usr/sbin/grub-setup: info: changing current directory to /dev.
/usr/sbin/grub-setup: info: changing current directory to snd.
/usr/sbin/grub-setup: info: changing current directory to by-path.
/usr/sbin/grub-setup: info: changing current directory to shm.
/usr/sbin/grub-setup: info: changing current directory to HotFuzz.
/usr/sbin/grub-setup: info: changing current directory to md.
/usr/sbin/grub-setup: info: changing current directory to bus.
/usr/sbin/grub-setup: info: changing current directory to usb.
/usr/sbin/grub-setup: info: changing current directory to 002.
/usr/sbin/grub-setup: info: changing current directory to 003.
/usr/sbin/grub-setup: info: changing current directory to 001.
/usr/sbin/grub-setup: info: changing current directory to /dev.
/usr/sbin/grub-setup: info: changing current directory to snd.
/usr/sbin/grub-setup: info: changing current directory to by-path.
/usr/sbin/grub-setup: info: changing current directory to shm.
/usr/sbin/grub-setup: info: changing current directory to HotFuzz.
/usr/sbin/grub-setup: info: changing current directory to md.
/usr/sbin/grub-setup: info: changing current directory to bus.
/usr/sbin/grub-setup: info: changing current directory to usb.
/usr/sbin/grub-setup: info: changing current directory to 002.
/usr/sbin/grub-setup: info: changing current directory to 003.
/usr/sbin/grub-setup: info: changing current directory to 001.
/usr/sbin/grub-setup: info: changing current directory to /dev.
/usr/sbin/grub-setup: info: changing current directory to snd.
/usr/sbin/grub-setup: info: changing current directory to by-path.
/usr/sbin/grub-setup: info: changing current directory to shm.
/usr/sbin/grub-setup: info: changing current directory to HotFuzz.
/usr/sbin/grub-setup: info: changing current directory to md.
/usr/sbin/grub-setup: info: changing current directory to bus.
/usr/sbin/grub-setup: info: changing current directory to usb.
/usr/sbin/grub-setup: info: changing current directory to 002.
/usr/sbin/grub-setup: info: changing current directory to 003.
/usr/sbin/grub-setup: info: changing current directory to 001.
/usr/sbin/grub-setup: info: changing current directory to /dev.
/usr/sbin/grub-setup: info: changing current directory to snd.
/usr/sbin/grub-setup: info: changing current directory to by-path.
/usr/sbin/grub-setup: info: changing current directory to shm.
/usr/sbin/grub-setup: info: changing current directory to HotFuzz.
/usr/sbin/grub-setup: info: changing current directory to md.
/usr/sbin/grub-setup: info: changing current directory to bus.
/usr/sbin/grub-setup: info: changing current directory to usb.
/usr/sbin/grub-setup: info: changing current directory to 002.
/usr/sbin/grub-setup: info: changing current directory to 003.
/usr/sbin/grub-setup: info: changing current directory to 001.
/usr/sbin/grub-setup: info: changing current directory to /dev.
/usr/sbin/grub-setup: info: changing current directory to snd.
/usr/sbin/grub-setup: info: changing current directory to by-path.
/usr/sbin/grub-setup: info: changing current directory to shm.
/usr/sbin/grub-setup: info: changing current directory to HotFuzz.
/usr/sbin/grub-setup: info: changing current directory to md.
/usr/sbin/grub-setup: info: changing current directory to bus.
/usr/sbin/grub-setup: info: changing current directory to usb.
/usr/sbin/grub-setup: info: changing current directory to 002.
/usr/sbin/grub-setup: info: changing current directory to 003.
/usr/sbin/grub-setup: info: changing current directory to 001.
/usr/sbin/grub-setup: info: /dev/sdc1 starts from 63.
/usr/sbin/grub-setup: info: opening the device hd2.
/usr/sbin/grub-setup: info: the size of hd2 is 976773168.
/usr/sbin/grub-setup: info: Partition 0 starts from 63.
/usr/sbin/grub-setup: info: getting the size of /boot/grub/boot.img.
/usr/sbin/grub-setup: info: reading /boot/grub/boot.img.
/usr/sbin/grub-setup: info: getting the size of /boot/grub/boot.img.
/usr/sbin/grub-setup: info: getting the size of /boot/grub/core.img.
/usr/sbin/grub-setup: info: reading /boot/grub/core.img.
/usr/sbin/grub-setup: info: getting the size of /boot/grub/core.img.
/usr/sbin/grub-setup: info: root is `md0', dest is `hd2,msdos1'.
/usr/sbin/grub-setup: info: Opening root.
/usr/sbin/grub-setup: info: Opening dest.
/usr/sbin/grub-setup: info: the size of hd2 is 976773168.
/usr/sbin/grub-setup: info: setting the root device to `md0'.
/usr/sbin/grub-setup: warn: Attempting to install GRUB to a partitionless disk or to a partition.  This is a BAD idea..
/usr/sbin/grub-setup: error: embedding is not possible, but this is required when the root device is on a RAID array or LVM volume.
+ exit 1
-- Package-specific info:

*********************** BEGIN /proc/mounts
/dev/mapper/HotFuzz-root / ext3 rw,relatime,errors=remount-ro,barrier=0,data=writeback 0 0
/dev/mapper/HotFuzz-home /home ext3 rw,relatime,errors=continue,barrier=0,data=writeback 0 0
/dev/mapper/HotFuzz-var /var ext3 rw,relatime,errors=continue,barrier=0,data=writeback 0 0
/dev/md0 /boot ext3 rw,relatime,errors=remount-ro,barrier=0,data=writeback 0 0
/dev/mapper/HotFuzz-data /var/media xfs rw,relatime,attr2,delaylog,nobarrier,logbsize=256k,sunit=512,swidth=2048,noquota 0 0
/dev/mapper/HotFuzz-data /srv/nfs4/media xfs rw,relatime,attr2,delaylog,nobarrier,logbsize=256k,sunit=512,swidth=2048,noquota 0 0
/dev/sdb2 /mnt xfs rw,relatime,attr2,delaylog,nobarrier,noquota 0 0
*********************** END /proc/mounts

*********************** BEGIN /boot/grub/device.map
(fd0)	/dev/fd0
(hd0)	/dev/disk/by-id/ata-ST3500410SV_6VM89Y1P
(hd1)	/dev/disk/by-id/ata-SAMSUNG_HD401LJ_S0HVJ1CLA13200
(hd2)	/dev/disk/by-id/ata-SAMSUNG_HD501LJ_S0MUJ1EPC33499
(hd3)	/dev/disk/by-id/ata-SAMSUNG_HD501LJ_S0MUJ1EPC33500
(hd4)	/dev/disk/by-id/ata-SAMSUNG_HD501LJ_S0MUJ1KQ142398
(hd5)	/dev/disk/by-id/ata-SAMSUNG_HD501LJ_S0MUJ1KQ142399
*********************** 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 raid5rec
insmod mdraid1x
insmod lvm
insmod part_msdos
insmod part_msdos
insmod part_msdos
insmod part_msdos
insmod part_msdos
insmod ext2
set root='(HotFuzz-root)'
search --no-floppy --fs-uuid --set=root 271bc02f-1f2a-49ac-9c13-7db9117ee1dd
if loadfont /usr/share/grub/unicode.pf2 ; then
  set gfxmode=640x480
  load_video
  insmod gfxterm
fi
terminal_output gfxterm
insmod raid
insmod mdraid09
insmod part_msdos
insmod part_msdos
insmod part_msdos
insmod part_msdos
insmod part_msdos
insmod ext2
set root='(md0)'
search --no-floppy --fs-uuid --set=root 99e4e5e4-d99b-45fb-974a-2174a7310b2d
set locale_dir=($root)/grub/locale
set lang=
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.38-rc1+' --class debian --class gnu-linux --class gnu --class os {
	insmod raid
	insmod mdraid09
	insmod part_msdos
	insmod part_msdos
	insmod part_msdos
	insmod part_msdos
	insmod part_msdos
	insmod ext2
	set root='(md0)'
	search --no-floppy --fs-uuid --set=root 99e4e5e4-d99b-45fb-974a-2174a7310b2d
	echo	'Loading Linux 2.6.38-rc1+ ...'
	linux	/vmlinuz-2.6.38-rc1+ root=/dev/mapper/HotFuzz-root ro video=matroxfb:vesa:0x118,fv:90 quiet
	echo	'Loading initial ramdisk ...'
	initrd	/initrd.img-2.6.38-rc1+
}
menuentry 'Debian GNU/Linux, with Linux 2.6.38-rc1+ (recovery mode)' --class debian --class gnu-linux --class gnu --class os {
	insmod raid
	insmod mdraid09
	insmod part_msdos
	insmod part_msdos
	insmod part_msdos
	insmod part_msdos
	insmod part_msdos
	insmod ext2
	set root='(md0)'
	search --no-floppy --fs-uuid --set=root 99e4e5e4-d99b-45fb-974a-2174a7310b2d
	echo	'Loading Linux 2.6.38-rc1+ ...'
	linux	/vmlinuz-2.6.38-rc1+ root=/dev/mapper/HotFuzz-root ro single video=matroxfb:vesa:0x118,fv:90
	echo	'Loading initial ramdisk ...'
	initrd	/initrd.img-2.6.38-rc1+
}
menuentry 'Debian GNU/Linux, with Linux 2.6.37' --class debian --class gnu-linux --class gnu --class os {
	insmod raid
	insmod mdraid09
	insmod part_msdos
	insmod part_msdos
	insmod part_msdos
	insmod part_msdos
	insmod part_msdos
	insmod ext2
	set root='(md0)'
	search --no-floppy --fs-uuid --set=root 99e4e5e4-d99b-45fb-974a-2174a7310b2d
	echo	'Loading Linux 2.6.37 ...'
	linux	/vmlinuz-2.6.37 root=/dev/mapper/HotFuzz-root ro video=matroxfb:vesa:0x118,fv:90 quiet
	echo	'Loading initial ramdisk ...'
	initrd	/initrd.img-2.6.37
}
menuentry 'Debian GNU/Linux, with Linux 2.6.37 (recovery mode)' --class debian --class gnu-linux --class gnu --class os {
	insmod raid
	insmod mdraid09
	insmod part_msdos
	insmod part_msdos
	insmod part_msdos
	insmod part_msdos
	insmod part_msdos
	insmod ext2
	set root='(md0)'
	search --no-floppy --fs-uuid --set=root 99e4e5e4-d99b-45fb-974a-2174a7310b2d
	echo	'Loading Linux 2.6.37 ...'
	linux	/vmlinuz-2.6.37 root=/dev/mapper/HotFuzz-root ro single video=matroxfb:vesa:0x118,fv:90
	echo	'Loading initial ramdisk ...'
	initrd	/initrd.img-2.6.37
}
menuentry 'Debian GNU/Linux, with Linux 2.6.37-rc8+' --class debian --class gnu-linux --class gnu --class os {
	insmod raid
	insmod mdraid09
	insmod part_msdos
	insmod part_msdos
	insmod part_msdos
	insmod part_msdos
	insmod part_msdos
	insmod ext2
	set root='(md0)'
	search --no-floppy --fs-uuid --set=root 99e4e5e4-d99b-45fb-974a-2174a7310b2d
	echo	'Loading Linux 2.6.37-rc8+ ...'
	linux	/vmlinuz-2.6.37-rc8+ root=/dev/mapper/HotFuzz-root ro video=matroxfb:vesa:0x118,fv:90 quiet
	echo	'Loading initial ramdisk ...'
	initrd	/initrd.img-2.6.37-rc8+
}
menuentry 'Debian GNU/Linux, with Linux 2.6.37-rc8+ (recovery mode)' --class debian --class gnu-linux --class gnu --class os {
	insmod raid
	insmod mdraid09
	insmod part_msdos
	insmod part_msdos
	insmod part_msdos
	insmod part_msdos
	insmod part_msdos
	insmod ext2
	set root='(md0)'
	search --no-floppy --fs-uuid --set=root 99e4e5e4-d99b-45fb-974a-2174a7310b2d
	echo	'Loading Linux 2.6.37-rc8+ ...'
	linux	/vmlinuz-2.6.37-rc8+ root=/dev/mapper/HotFuzz-root ro single video=matroxfb:vesa:0x118,fv:90
	echo	'Loading initial ramdisk ...'
	initrd	/initrd.img-2.6.37-rc8+
}
menuentry 'Debian GNU/Linux, with Linux 2.6.36' --class debian --class gnu-linux --class gnu --class os {
	insmod raid
	insmod mdraid09
	insmod part_msdos
	insmod part_msdos
	insmod part_msdos
	insmod part_msdos
	insmod part_msdos
	insmod ext2
	set root='(md0)'
	search --no-floppy --fs-uuid --set=root 99e4e5e4-d99b-45fb-974a-2174a7310b2d
	echo	'Loading Linux 2.6.36 ...'
	linux	/vmlinuz-2.6.36 root=/dev/mapper/HotFuzz-root ro video=matroxfb:vesa:0x118,fv:90 quiet
	echo	'Loading initial ramdisk ...'
	initrd	/initrd.img-2.6.36
}
menuentry 'Debian GNU/Linux, with Linux 2.6.36 (recovery mode)' --class debian --class gnu-linux --class gnu --class os {
	insmod raid
	insmod mdraid09
	insmod part_msdos
	insmod part_msdos
	insmod part_msdos
	insmod part_msdos
	insmod part_msdos
	insmod ext2
	set root='(md0)'
	search --no-floppy --fs-uuid --set=root 99e4e5e4-d99b-45fb-974a-2174a7310b2d
	echo	'Loading Linux 2.6.36 ...'
	linux	/vmlinuz-2.6.36 root=/dev/mapper/HotFuzz-root ro single video=matroxfb:vesa:0x118,fv:90
	echo	'Loading initial ramdisk ...'
	initrd	/initrd.img-2.6.36
}
### 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

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

Kernel: Linux 2.6.37
Locale: LANG=C, LC_CTYPE=de_AT.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.38      Debian configuration management sy
ii  grub-common                  1.99~rc1-2  GRand Unified Bootloader, version 
ii  libc6                        2.11.2-11   Embedded GNU C Library: Shared lib
ii  libdevmapper1.02.1           2:1.02.48-5 The Linux Kernel Device Mapper use
ii  ucf                          3.0025+nmu1 Update Configuration File: preserv

grub-pc recommends no packages.

Versions of packages grub-pc suggests:
pn  desktop-base                  <none>     (no description available)

-- debconf information:
  grub2/kfreebsd_cmdline:
* grub2/device_map_regenerated:
* grub2/linux_cmdline: video=matroxfb:vesa:0x118,fv:90
* grub-pc/install_devices_empty: true
* 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/md-uuid-3b9e371a:f651d170:2a42ebe3:f331026f
  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