berryboot
berryboot copied to clipboard
I don't have modules for the berryboot kernel
Hello,
since updating my berryboot to
e75ed8dd9b7f1f6d70bf9384adf84277 berryboot-20190612-pi0-pi1-pi2-pi3.zip
I'm unable to use LUKS. (somehow it worked beforehand)
Now I get this error message:
modprobe: ERROR: ../libkmod/libkmod.c:586 kmod_search_moddep() could not open moddep file '/lib/modules/4.19.49v6v7-aufs/modules.dep.bin' modprobe: FATAL: Module dm-crypt not found in directory /lib/modules/4.19.49v6v7-aufs Cannot initialize device-mapper. Is dm_mod kernel module loaded?
this is an up-to-date raspbian
# uname -a
Linux HOSTNAME 4.19.49v6v7-aufs #1 SMP Tue Jun 11 15:13:27 CEST 2019 armv7l GNU/Linux
# lsb_release -a
No LSB modules are available.
Distributor ID: Raspbian
Description: Raspbian GNU/Linux 9.9 (stretch)
Release: 9.9
Codename: stretch
thank you for the fix in advance.
HOW did you update? Make sure the contents of shared.tgz ended up in /shared on the ext4 partition.
Well, first of all thank you for all the help.
Seems like extracting that shared.tgz helped with that.
Also, in the meantime I've noticed that upgrading libraspberrypi (by apt update && apt upgrade) or doing rpi-update made berryboot stop working (I needed to restore the SD card in order induce any behaviour whatsoever)
Is this normal? Is is something that should have been fixed by now by me upgrading berryboot? Am I supposed to run rpi-update at all to begin with?
Thank you for your answers in advance.
ps: Is this the right place to ask these questions? Do you have a user forum or an IRC channel?
I really like berryboot. I'm using it with openwrt and it's working just fine, even though berryboot uses newer kernel then stock openwrt. I've related question and don't want to start new issue. Is it possible add additional kernel modules and build custom build? I would like to add some additional fs types.
EDIT: Ok managed to build exfat module. So it's definitely possible.
@mauron85 can you share how you are adding new modules? Am looking for such answers.
To answer my own question - I managed to add out-of-tree kernel modules to a custom build - https://github.com/HinTak/berryboot/releases
Just made a new build https://github.com/HinTak/berryboot/releases
I'll add a new doc at https://github.com/HinTak/RaspberryPi-Dev/ in the next few days about how to customize berryboot with additional out-of-tree drivers.
The new doc is up as https://github.com/HinTak/RaspberryPi-Dev/blob/master/Customizing-Berryboot.md . If you find it useful, please feel free to donate using the links in https://hintak.github.io .