neilbrown / gnubee-tools

Tools for building gnubee firmware - and maybe more.
Other
31 stars 14 forks source link

LVM support for firmware #4

Closed vgiralt closed 4 years ago

vgiralt commented 6 years ago

These are the files I have modified to build a firmware image that can boot GNUBEE-ROOT off an LV.

leocrawford commented 4 years ago

Is there a reason this patch hasn't been applied? My lvm partition doesn't come up unless I do a manual

lvm vgchange

This appears to be in the patch

neilbrown commented 4 years ago

No good reason - just missed it. Sorry. I've merge it now and after testing will push it out.

neilbrown commented 4 years ago

I'm not entirely happy with this change. It causes the boot sequence to be delayed by a minute or more. lvm tries to talk to udev, which isn't running and isn't even installed in the initramfs, to get the status of each device. For each device, it waits 10 seconds before giving up and seems to try some devices twice.

I cannot see any way to get around this other than by installing udev, and I'd rather avoid that if possible - it probably isn't straight forward.

So for now I'm dropping this patch - sorry.

leocrawford commented 4 years ago

So for now I'm dropping this patch - sorry.

OK. As always thanks for the excellent comms.

Is it worth updating README.md to remove reference to LVM?

neilbrown commented 4 years ago

This issue has been fully resolved now. Thanks.