Bug#533466: errors during postinst: GPT partition label, embedding impossible

Felix Zielcke fzielcke at z-51.de
Wed Jun 17 20:40:35 UTC 2009


Am Mittwoch, den 17.06.2009, 22:24 +0200 schrieb martin f krafft:
> Package: grub-pc
> Version: 1.96+20090603-2
> Severity: normal
> 
> The installation yields warnings/errors during postinst:
> 
> Setting up grub-pc (1.96+20090611-1) ...
> grub-setup: warn: This GPT partition label has no BIOS Boot Partition; embedding won't be possible!
> grub-setup: error: Embedding is not possible, but this is required when the root device is on a RAID array or LVM volume.
> Invalid device `/dev/vdb'.
> Try ``grub-setup --help'' for more information.
> Generating grub.cfg ...
> 
> The system still boots.
> 
> vdb does not seem to be referenced anywhere:
> 
> mdadm-lab:~# grep -r vdb /etc/grub.d /etc/default/grub /etc/fstab /boot/grub || echo none
> none
> 
> Running grub-install /dev/md0 works:
> 
> mdadm-lab:~# grub-install /dev/md0
> Installation finished. No error reported.
> This is the contents of the device map /boot/grub/device.map.
> Check if this is correct or not. If any of the lines is incorrect,
> fix it and re-run the script `grub-install'.
> 
> (hd0)   /dev/hda
> (hd1)   /dev/hdb
> (hd2)   /dev/hdc
> (hd3)   /dev/hdd
> (hd4)   /dev/vda
> (hd5)   /dev/sda
> (hd6)   /dev/sdb
> (hd7)   /dev/sdc
> (hd8)   /dev/sdd
> (hd9)   /dev/sde
> (hd10)  /dev/sdf
> 
> I can provide root access to the test system if it helps.

> 
> -- debconf information excluded

That's bad. Maybe /dev/vdb was in device.map and you selected it in the
grub-pc/install_devices debconf prompt and so it's still stored in the
debconf registry.
dpkg-reconfigure grub-pc should fix this if that's the case.
-- 
Felix Zielcke






More information about the Pkg-grub-devel mailing list