![]() Because we create them on a fat filesystem (boot partition) you will get some warnings. If you have trouble with drivers of your hardware with this setting, for example for a display, then you can modify option MODULES for initramfs. We have to set option list in /etc/initramfs-tools/nf: rpi ~# sed -i 's/^MODULES=most/MODULES=list/' /etc/initramfs-tools/nf I only want to load listed modules into the ramdisk, not all possible. #initramfs initrd.img-4.19.97-v8+ followkernel ![]() # if you want to use the experimental 64 bit kernel, then enable this instead Initramfs initrd.img-4.19.97-v7l+ followkernel Initramfs initrd.img-4.19.97-v7+ followkernel For further filter settings look at Conditional filters in config.txt. The following should be inserted at the top of /boot/config.txt. Enable using an initramfs by settings in /boot/config.txt, but using the current kernel/module names. I only use this installation on a RPi3 (incl. First do an upgrade to get the latest software versions and install drivers: rpi ~$ sudo -Es You can loose all data.įor reference I use Raspberry Pi OS (32-bit) with desktop, flashed it to a SD Card and boot it in a RasPi. If you are unexperienced with linux please try it first with a new image how I did for this How To. To use a more automated setup an initramfs you can look at How can I use an init ramdisk (initramfs) on boot up Raspberry Pi?. The following is only for a quick setup an initramfs where you have to monitor kernel updates by yourself. Fortunately the Raspberry Pi supports loading a ramdisk for `initrd` so we have to do an additional step to create the initram containing drivers for LVM. Moving the installation isn't the problem but the LVM drivers must be loaded on boot up so the root partition can be mounted and used for booting. Prepare the installation with LVM drivers You simply boot into the snapshot, means into the running system the snapshot was taken. ![]() You can heavy modify your system, also with drivers and firmware and deinstall essential software until it doesn't boot anymore (kernel panic, rainbow screen).Just make a snapshot, mount it and backup it, no worry about changing files from the running system. It is very easy to make backups on the running system.If you like installed software you can commit the snapshot, in fact delete the snapshot.You can install software and if you don't like it you can revert to the snapshot.You can take snapshots from your running system.You can move the installation of the Raspberry Pi OS to a LVM volume.
0 Comments
Leave a Reply. |