berryboot icon indicating copy to clipboard operation
berryboot copied to clipboard

I don't have modules for the berryboot kernel

Open imre84 opened this issue 5 years ago • 7 comments

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.

imre84 avatar Jun 17 '19 20:06 imre84

HOW did you update? Make sure the contents of shared.tgz ended up in /shared on the ext4 partition.

maxnet avatar Jun 28 '19 14:06 maxnet

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?

imre84 avatar Aug 07 '19 22:08 imre84

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 avatar Aug 22 '19 05:08 mauron85

@mauron85 can you share how you are adding new modules? Am looking for such answers.

HinTak avatar Dec 05 '20 13:12 HinTak

To answer my own question - I managed to add out-of-tree kernel modules to a custom build - https://github.com/HinTak/berryboot/releases

HinTak avatar Dec 08 '20 11:12 HinTak

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.

HinTak avatar Dec 09 '20 23:12 HinTak

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 .

HinTak avatar Dec 10 '20 23:12 HinTak