[Vmdebootstrap-devel] vmdebootstrap generated sid images fail to boot on fsck error loop

Ben Hutchings ben at decadent.org.uk
Thu Oct 16 20:44:14 UTC 2014


On Thu, 2014-10-16 at 19:55 +0100, Neil Williams wrote:
> On Thu, 16 Oct 2014 17:57:07 +0200
> Ben Hutchings <ben at decadent.org.uk> wrote:
> 
> > > This might be a regression from recent util-linux, or some
> > > misconfiguration, or incompatibility with extlinux, not sure.
> > > fsck.ext4 definitively exists (i. e. e2fsprogs is installed), and
> > > /dev/vda1 also exists; it's also apparently able to map the root
> > > UUID to /dev/vda1.
> > [...]
> > 
> > fsck.ext4 is not present in the initramfs, probably because
> > initramfs-tools was installed before e2fsprogs.  Unfortunately, we
> > cannot simply make initramfs-tools depend on the appropriate package
> > because it depends on which filesystem is used for root.
> > 
> > vmdebootstrap should install the kernel last so that all programs that
> > may be wanted in the initramfs will be available when the initramfs is
> > built.
> 
> Installing the kernel separately is awkward due to the extra
> dependencies and a need to re-run debootstrap which is a slow task. Is
> it sufficient to just run update-initramfs -u later in the process?
[...]
> I've pushed the change to master, if this sounds ok, Ben, I'll upload
> with this change.

Sounds fine to me.  If you could change the installation order then that
would avoid building the initramfs twice, but as that requires doing
much more work twice then this is a better workaround.

Ben.

-- 
Ben Hutchings
Life is what happens to you while you're busy making other plans.
                                                               - John Lennon
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 811 bytes
Desc: This is a digitally signed message part
URL: <http://lists.alioth.debian.org/pipermail/vmdebootstrap-devel/attachments/20141016/8efb0970/attachment.sig>


More information about the Vmdebootstrap-devel mailing list