Comment 1 for bug 1352038

Revision history for this message
Vagrant Cascadian (vagrantc) wrote : Re: [Bug 1352038] [NEW] setup doesn't copy /boot partition into image

On 2014-08-03, map7 wrote:
> I'm using Xubuntu 14.04 64bit and I'm setting this up as a LTSP-PNP
> machine. I've setup the hard drive with /boot on a separate partition as
> I'm using LVM for the other partitions to allow for snapshots and easy
> resizing.
...
> Build image
> : ltsp-update-image --cleanup /
>
> Update kernels
> : ltsp-update-kernels
>
> Generate LTS config
> : ltsp-config lts.conf
>
> When I try booting a thin client I get the error 'Could not find kernel
> image: vmlinuz'. After a lot of debugging and talking to people on IRC I
> found that the command 'ltsp-update-image -c /' was not copying my
> '/boot' contents as it was on a separate partition.

I had to fix this in Debian, which uses aufs, by adding code in
ltsp-update-image to mount each mountpoint individually before making
the image. This used to not be required with overlayfs, which is what I
believe Ubuntu is using, but perhaps the overlayfs defaults have
changed?

live well,
  vagrant