Bug#583654: postinst script could be more informative

martin f krafft madduck at debian.org
Sat May 29 08:39:12 UTC 2010


Package: grub-pc
Version: 1.98+20100527-1
Severity: wishlist

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."

-- 
 .''`.   martin f. krafft <madduck at d.o>      Related projects:
: :'  :  proud Debian developer               http://debiansystem.info
`. `'`   http://people.debian.org/~madduck    http://vcs-pkg.org
  `-  Debian - when you have better things to do than fixing systems
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature (see http://martin-krafft.net/gpg/)
URL: <http://lists.alioth.debian.org/pipermail/pkg-grub-devel/attachments/20100529/d2230fec/attachment.pgp>


More information about the Pkg-grub-devel mailing list