after ubuntu 22.04 to 24.04 upgrade the lvm vg for root is not found #boot #lvm #initramfs
after ubuntu 22.04 to 24.04 upgrade the lvm vg for root is not found #boot #lvm #initramfs
22.04 LTS full disk encrypted zfs system boot drops to initramfs after Linux kernel 6.12.10 upgrade #2204 #encryption #initramfs #zfs
I have an laptop running 22.04 LTS with encrypted ZFS that won't boot. The system doesn't ask for a passphrase like it used to, it now drops to an initramfs prompt with: Key load error: Failed to o...
@Yuki @OS1337 @bjornsdottirs no need to go beyond 1440kB when using mlb instead of #syslinux (which wastes 200kB on it's own!)
Needless to say the core idea is to be a continuation of #tmsrtbt and a "minimalist #linux distro" as in "#SSH #Terminal #Firmware"...
🚀 How to Update GRUB and Regenerate Initramfs from a Manjaro Live USB System 🐧
Sometimes things break—it’s Linux life! 💻 Maybe your Manjaro installation isn’t booting correctly after an update or some system tweaks. Don’t panic! You can easily fix boot-related issues using your Manjaro Live USB stick.
Here’s how you can update your GRUB bootloader and regenerate your initramfs directly from a Manjaro Live USB. Let’s dive in! 🌊
🔧 Step 1: Boot into the Manjaro Live USB & Mount your System
Boot your computer with a Manjaro USB stick. Open a terminal and identify your root partition using:
sudo fdisk -l
Let’s say your root partition is /dev/sda2, then mount it:
sudo mount /dev/sda2 /mnt
If you have separate boot or EFI partitions, mount them too:
sudo mount /dev/sda1 /mnt/boot
sudo mount /dev/sdaX /mnt/boot/efi
(Replace /dev/sdaX with your actual EFI partition.)
🛠️ Step 2: Enter your Installed System with manjaro-chroot
Manjaro makes this super easy:
sudo manjaro-chroot /mnt
Now you’re working inside your actual system environment! 🚪
⚙️ Step 3: Update GRUB Bootloader
Run these commands based on your boot type:
grub-install /dev/sdaupdate-grub
grub-install --target=x86_64-efi --efi-directory=/boot/efi --bootloader-id=manjaro --recheckupdate-grub
🔄 Step 4: Regenerate your Initramfs
Now regenerate initramfs images:
mkinitcpio -P
🎉 Step 5: Finish & Restart!
Exit the chroot
environment:
exit
Unmount your partitions:
sudo umount -R /mnt
And reboot your system:
sudo reboot
That’s it! 🎯 Your Manjaro system should now boot up smoothly.
🔗 Useful Resources:
👉 Check out my original conversation with ChatGPT here for more details.
Happy Linux adventures! 🐧✨
#ArchLinux #BIOS #Bootloader #chroot #EFI #GRUB #initramfs #Linux #LinuxCommands #LinuxTutorial #LiveUSB #Manjaro #mkinitcpio #SystemRecovery #Terminal #Troubleshooting
https://www.ott.net/buildroot-initramfs/ - new post on how to use #buildroot to build a custom #initramfs
Ubuntu 25.10 will use Dracut
While Ubuntu 25.04 is still ongoing development, there has been progress in switching from initramfs-tools to Dracut. Those tools both handle initrd generation for booting into the Linux kernel in preparation for the full system boot. The Ubuntu engineers are working hard to migrate such tool to Dracut to ensure better bootstrapping by reducing hard-coded logic as much as possible.
Initially, Ubuntu 25.04 would have used Dracut as the initrd generator, but the work wasn’t complete yet, so the Ubuntu engineers have delayed the migration to after Ubuntu 25.04 gets released so that the next version of Ubuntu uses Dracut completely.
However, you have an opportunity to try out Dracut in Ubuntu 25.04 when it gets released. This is so that you can provide feedback to the Ubuntu team about your experience with the Dracut integration.
Ubuntu 25.04 will be the last version that uses initramfs-tools as the default initrd generator, with the October release of Ubuntu being the first version that uses Dracut. This is going to be exciting news for the next year’s Ubuntu LTS release that will be out in the next April.
#2504 #2510 #Dracut #Initramfs #InitramfsTools #Initrd #news #Plucky #PluckyPuffin #Puffin #Tech #Technology #Ubuntu #Ubuntu2504 #Ubuntu2504Plucky #Ubuntu2504PluckyPuffin #Ubuntu2510 #update
Following Please try out dracut and the specification [Spec] Switch to Dracut we are going to support Dracut as alternative to initramfs-tools as initrd generation tool in Ubuntu 25.04 (plucky). We want to make Dracut the default in the following Ubuntu 25.10. How to switch to Dracut If you are running Ubuntu 25.04 (plucky) you can decide to switch from initramfs-tools to Dracut. The following steps are designed to be easy and safe to revert back. Check the ‘Known Issues’ section if your set...