r/cachyos • u/autistic-terrorist • 4d ago
Help Changing my bootloader
I'm currently using GRUB and would like to consider switching to one of the others. I want my bootloader to be a lot faster than it currently is, and I also need it to have eacv2 support (which ik grub is experimental on). I might also want to buy another SSD soon and dualboot windows with it. I've tried looking but haven't been able to find a solid tutorial on how to do it. If anyone could recommend a bootloader for my situation and link a tutorial somewhere that would be great. Thanks
2
Upvotes
5
u/xb666mx 4d ago
i would recommend limine as bootloader (best compatibilty and integration).
if your boot partition is 4 GB in size, you could install the limine packages, change your mount point from /boot/efi to /boot, configure limine and do some cleaning up afterwards.
but your boot partition most likely will be smaller than 4 GB (i guess around 1 GB) because grub needs fewer space and therefore the installer and wiki will recommend/choose just that. with that you'd need to resize your partitions first, which isn't even possible if you have a file system like xfs/zfs. but even with only fat32, btrfs and/or ext4 this is rather tedious.
so your best bet is: save all the important stuff/configs to an external drive and do a fresh install with the latest cachyos ISO. afterwards restore your stuff/configs (but be aware that even this could break some things).
3
u/oliveraparicio 4d ago
Limine!!!
2
u/brolios 4d ago
Truth is, it's not easy. I recommend doing it from the cachyos live environment (also make sure is the latest version)
Look at the cachyos instalation wiki, and follow the steps to manually install s boot loader for the first time
Backup your data, double check the names of your devices, write in paper and stick it into your forehead. (sorry I have deleted oh so many wrong disks this way)
2
u/0ptimus_Pr1me 3d ago
Than reFInd is what you are looking for. I recently migrated to it. It needs additional setup for btrfs snapshots and snapper.
1
u/vilwaquet 4d ago
I am relatively new to cachyOS but I had the same issue. I chose grub on my initial installation because that is what I am familiar with. Then I found out about probable future issues with EAC2. Since I use the OS exclusively for gaming this was likely to eventually become an issue. I tried some of the methods I found online for changing the bootloader, but in the end just ended up messing up the boot partition. There may be a way to do it, but I just ended up re-installing cachyOS and selected Limine as the bootloader. It is EAC2 compatible. There is a reason that Limine is the default choice during the installation process.
1
u/Glad-Key7256 4d ago edited 4d ago
EDIT: You can simply follow the instructions in this video https://www.youtube.com/watch?v=d9sGrPTYhrQ
I always set limine as my default on cachyos since it is a lot faster than grub (at least in my experience). I used EndeavourOS before this and I have on several occasions switched from grub to limine on EOS since it doesn't provide limine as an option. On EOS, iirc, I had to first remove
eos-dracutand replace it withlimine-dracut-supportor limine. I don't think you will have to do something similar on cachyos (I could be wrong)Please create a system snapshot and backup your necessary files before you proceed with the switch. Read the requir
Here are some loose pointers; please cross-check and do a bit more research before you follow any of this, since I haven't switched bootloaders on cachyos and have only done it on EOS:
limine,limine-mkinitcpio-hook, andlimine-snapper-sync(if you are using brrfs, which you should be imo as it would be advisable to create snapshots before doing a bootloader change).sudo limine-updateor. sudo limine-mkinitcpioCopy the output and paste it in /etc/default/cmdline in the following manner:
Basically, you enclose the output of /proc/cmdline in double quotes, and prefix this with KERNEL_CMDLINE
4. Enable limine-snapper-sync service by running
5. Before reboot, run
sudo limine-mkinitcpioonce again. Ensure that there are no errors in the output.1
u/squizleydoopus 3d ago
I'm still pretty new to Limine but I'm pretty impressed with it.