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.
Thanks @anthony93 for prompt reply.
so I should yay -S dracut
Then:
yay -Rc mkinitcpio-openswap
yay -Rc mkinitcpio
If sticking with Grub yay -S dracut-hook
but how to use it to generate kernel image… test… etc? (sorry non techie here)
I am a bit hesitant though I loved systemd-boot but BTRFS/Snapshots … I like the idea and believe this is the way forward though EXT4 is a good filesystem.
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.
Only those three commands and reboot.
Again, I just want to be sure I am safe, I won’t feel safe without experts assuring me.
So, only the three commands are enough?
(sorry for asking a lot, but I hope you understand)
P.S. Downloading Cassini ISO now and will install it to USB FlashDisk, Just in case!
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!
Bear in mind, though. If you intend to switch to systemd-boot, you should run the first two command, not the other three. The other three is for when you want to continue using grub.
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.
That’s more than enough for me to feel safe. @dalto is more than enough.
Well, it is not about feeling comfortable, I want to do it. I just want to be sure I will be safe. dracut seems to be a good improvement, better be updated not outdated.
Not really. I started using Linux around June this year. Started with Ubuntu. Used it for 2 days before switching to Manjaro. Used Manjaro for about 2 months or so before switching to Endeavour.