I read about dracut. As far as I understand it makes booting the system simpler and much faster.
Unfortunately I installed from an earlier ISO (Artemis if I remember correctly or the one before).
I think you would agree with me that I better install and use dracut.
But as this is one of the critical things in the system I won’t ever try do it on my own, better consult with the experts. How can I install dracut, uninstall anything no longer needed?
One final question/comment, I like that systemd-boot is now the default. But I remember when I had it before (BTRFS here), booted, I could not restore old snapshots.
I hope there is a way now to either restore snapshots after booting with systemd-boot or “hopefully” make systemd-boot able to boot from snapshots as Grub.
Here is my system:
I did it simply by installing dracut $ sudo pacman -Syu dracut. After installing dracut, I used dracut to generate a kernel image first to test whether my computer can boot with the new kernel image. Once I was certain that my computer could boot with the kernel image generated using dracut, I uninstalled mkinitcpio-openswap before uninstalling mkinitcpio.
The next step depends on whether you want to stick to using grub or you want to switch to systemd-boot.
If you want to stick with Grub, you need to install the necessary pacman hooks for dracut. This can be done via sudo pacman -Syu dracut-hook.
If you want to switch to systemd-boot, you don’t have to install dracut-hook. Switch to systemd-boot by following the guide written by Dalto, and then install kernel-install-for-dracut, which contains all the hooks required for automation.
Sure not! I never trusted anybody with anything as I trusted the developers here. I just want to be sure that the non techie me is not missing anything. So, my suspicion is about me not about the developers.
The reason I asked was that @anthony93 -who appers he did it actually- did something different. Again I am not that techie especially when it comes to things related to the system.
I see, now it is clear.
You are more knowledgable than me!
And it is me who is really hesitant and very cautious especiall with things related to system, system boot, … and such “critical” stuff that can end up with an unbootable system. I hate doing fresh installs and installing configuring everything allover.
This is why I am on EndeavourOS, plus the community here for sure!
You only run the bottom three commands if you want to stick with grub. If you run pacman -Si eos-dracut, you will see that the package conflicts with kernel-install-for-dracut, which is needed in order to use dracut with systemd-boot.