Kernel switch -> No boot possible

Hey, urgent help needed. I edited a config file to boot with the current Rc kernel. (It’s basically adding -rc to the module and kernel wording). However, after that I compiled and installed the latest regular cachy Zen 4 kernel.

(Also notice that it’s not possible to compile the Rc kernel. There is some sort of download issue, I forgot the error code. If you click on the link shown there, the kernel downloads.)

But that fucked up my install. I can’t boot.

Now I am chrooting. But the boot folder is empty. I’m not sure if I am actually chrooting in it. I used /boot and /@/boot as place aimed to chroot in, and went through the different places on my disk (/, @, …) which made sense with that selection. Nothing. I want to change the name back so it boots. Im also confused the install didn’t overwrite my manual entry, though. I can clearly enter my disk nonetheless - I can e.g. see my download folder.

With some selections its even saying that I already chrooted this place. Weird.

You could use cachy-chroot in terminal for setting up the chroot.

Or did you use that already?

Yes, I am doing that. Auto btrfs chroot settings which the terminal suggests. It then suggests to chroot another partition, where I added the ones I described, but it seems the whole disk is successfully chrooted, bc it says I am already chrooted in @/boot or /boot (can’t remember which one it was).

To make sure that all the subvolumes from your /etc/fstab are mounted in the chroot, you could run mount -a (while you are in chroot).

Then verify with lsblk -f.

I mean, it should have mounted everything

I did it, seems fine

Looks everything is correctly mounted.

Searching for the limine.cfg, which I think it’s named where I changed the names, gives no result, unsurprisingly.

Can you run tree /boot to get an overview of your boot directory and what is inside it? You may need to install tree first.

It’s limine.conf

I think I found it

However, the file is empty.

I found it not in the “device” called root on the left side, but the one just called /

I even opened it with nano

Yes

Sorry. It’s difficult to search for errors based on screenshots.
It would be helpful if you could provide the output according to the wiki. Thanks!

I’m tired and only wanted to play a game before I go to sleep. I don’t even know what you mean with output

I couldn’t possibly know what has happened to the file.
You need to configure it yourself according the pattern described in the Archwiki:

Screenshsots are notoriously unwieldy .. from quality to size to whether or not it can capture the entirety of the relevant information.

Preferred instead is something like copying the formatted text or using a pastebin ..

ex;

tree /boot | curl -sSF"file=@-" https://paste.cachyos.org

(this will produce a link path that can be combined with the paste URL to view the pasted info)

Thanks a lot!

I fixed it, not by that, It seemed so hard I thought about reinstalling!

There was a limine.conf.old file! I contained everything!

Maybe the manual change of the name caused the problem. It’s weird though that an empty limine.conf was created and used as replacement.

Thanks, true, gonna remind that.

Just for the record, in case similar things happen to another user, where was limine.conf.old located?

Just in the same folder, /boot

→ search for limine.conf.old in the “/” volume which you can see in the GUI of the file manager on the left, top position for me

It’s just next to the new empty one! I totally missed it!