[Pkg-xen-devel] Bug#745419: xen-utils-4.1: Pygrub fails to boot from LVM LV when something installed in the volume boot record

Sjors Gielen sjors at sjorsgielen.nl
Mon Apr 21 14:01:11 UTC 2014


Sjors Gielen schreef op 21-04-14 15:43:
> When an LVM LV that serves as the root disk for a Xen DomU contains a boot
> loader (or possibly other data) in its volume boot record, pygrub fails to boot
> it, printing "Error: boot loader didn't return any data" before exiting.

Forgot to include three details:

* filed as "important" because the bug has a major effect on the
usability of the package. Especially if the domU is maintained by
someone who has no acces to dom0, he might inexplicably break the
booting of his system without being able to fix it. (The dom0
administrator also gets a very vague error message, so he might be
unable to fix it too.)

* We couldn't reproduce this bug on a Wheezy domU because there, the
grub-pc configuration wouldn't write to /dev/xvda2. So if you try to
reproduce but can't, double-check this.

* Also, if you try to reproduce, make sure to halt the DomU before
checking if the first 512 bytes were updated; we noticed this update was
not always immediately visible on the dom0, even after running `sync` in
the domU. Probably waiting a while also works, but if you want to be
sure, halt it.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 884 bytes
Desc: OpenPGP digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-xen-devel/attachments/20140421/158d7978/attachment.sig>


More information about the Pkg-xen-devel mailing list