I'm unable to execute garuda-inxi since I accidentally removed libinput and my pc won't boot into a past snapshot
When I try to boot to a snapshot it gives me the following error
setfont: KDFONTOP: Function not implemented
ERROR: Root device mounted successfully, but /sbin/init does not exist.
Bailing out, you are on your own. Good luck
sh: can't access tty; job control turned off
[rootfs ]#
Also, I don't know how to solve the problem even with a live usb, because I don't want to repair the currently installed system, but restore a previous snapshot.
To chroot I need to use a live usb I was hoping there was a solution by just modifying the grub config.
Already tried but it didn’t worked. Probably because it’s a snapshot.
Anyway I’m now download the ISO but I don’t know what to do even in the live environment. Maybe I’m going to be able to fix the current installation to then use garuda snapshots but idk if then it’s going to boot.
If you are able to a live environment you can probably get it fixed. It's not obvious what the issue is, but a few efforts you can make that will cover several possible scenarios:
Chroot onto your installation
Bring the system up to date with garuda-update
Reinstall the kernel and headers
Reinstall Grub
Regenerate the Grub configuration file
Rebuild the initramfs
Any underlying issues will likely be exposed during the course of carrying out these routine tasks, after which you can adjust your intervention accordingly.
No, you get me wrong the current "version" works just doesn't get my input since I removed libinput so the problem is only when booting from snapshots.
If the problem is simply that libinput has been accidentally removed, as you say, then the solution is simple: chroot from the live session and install the package.
It sounds like something else is broken though. Having or not having libinput should not affect your ability to restore a snapshot.