#583654 postinst script could be more informative

Package:
grub-pc
Source:
grub2
Description:
GRand Unified Bootloader, version 2 (PC/BIOS version)
Submitter:
martin f krafft
Date:
2010-05-29 08:42:04 UTC
Severity:
wishlist
#583654#5
Date:
2010-05-29 08:39:12 UTC
From:
To:
I am looking at the following output of a grub-pc reconfigure on
a lab machine:

  Note: It is possible to install GRUB to partition boot records as
  well. However, this forces GRUB to use the blocklist mechanism,
  which makes it less reliable, and therefore is not recommended.

    1. /dev/vda  2. /dev/vdb  3. /dev/vdc  4. /dev/vdd  5. /dev/vde
    6. /dev/vdf  7. /dev/sda  8. /dev/sdb  9. /dev/sdc  10. /dev/sdd
    11. /dev/sde  12. /dev/sdf

  (Enter the items you want to select, separated by spaces.)

  GRUB install devices: 7 8 9 10


  Installation finished. No error reported.
  Installation finished. No error reported.
  /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 when the root device is on a RAID array or LVM volume.
  /usr/sbin/grub-setup: warn: Attempting to install GRUB to a partitionless disk.  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.
  Generating grub.cfg ...
  Found linux image: /boot/vmlinuz-2.6.34-1-amd64
  Found initrd image: /boot/initrd.img-2.6.34-1-amd64
  Found linux image: /boot/vmlinuz-2.6.32-5-amd64
  Found initrd image: /boot/initrd.img-2.6.32-5-amd64
  done

Yes, sdc is a component of a partitioned RAID1 and sdd a PV, so the
script is right and the output is good, but it might want to
actually tell me which drives are being processed, and that e.g. for
sd[ab], the "Installation finished. No error reported."