What is supposed to be in /boot/ except for grub and efi?
I… I don’t want to talk about it. I was playing around with an sd-card and was supposed to remove from the boot on that folder… DON’T JUDGE ME.
Since I am still on the system, I reinstalled grub according to Manjaro wiki
I stricrly recall there should be more stuff in there than just grub and an efi directory.
Ehhhmm…
I have backups done with clonezilla that I can access, but that demands me rebooting… I’m not really sure here guys… DONT JUDGE ME! but please help me… xD
Jokes aside, I kinda have to in this situation. but this is what sudo mkinitcpio -P gives me:
==> Building image from preset: /etc/mkinitcpio.d/linux515.preset: 'default'
-> -k /boot/vmlinuz-5.15-x86_64 -c /etc/mkinitcpio.conf -g /boot/initramfs-5.15-x86_64.img --microcode /boot/*-ucode.img
==> ERROR: specified kernel image does not exist: '/boot/vmlinuz-5.15-x86_64'
==> Building image from preset: /etc/mkinitcpio.d/linux515.preset: 'fallback'
-> -k /boot/vmlinuz-5.15-x86_64 -c /etc/mkinitcpio.conf -g /boot/initramfs-5.15-x86_64-fallback.img -S autodetect --microcode /boot/*-ucode.img
==> ERROR: specified kernel image does not exist: '/boot/vmlinuz-5.15-x86_64'
==> Building image from preset: /etc/mkinitcpio.d/linux61.preset: 'default'
-> -k /boot/vmlinuz-6.1-x86_64 -c /etc/mkinitcpio.conf -g /boot/initramfs-6.1-x86_64.img --microcode /boot/*-ucode.img
==> ERROR: specified kernel image does not exist: '/boot/vmlinuz-6.1-x86_64'
==> Building image from preset: /etc/mkinitcpio.d/linux61.preset: 'fallback'
-> -k /boot/vmlinuz-6.1-x86_64 -c /etc/mkinitcpio.conf -g /boot/initramfs-6.1-x86_64-fallback.img -S autodetect --microcode /boot/*-ucode.img
==> ERROR: specified kernel image does not exist: '/boot/vmlinuz-6.1-x86_64'
I have timeshift and is on btrfs, they should include them right? since the mount is on /boot/efi not /boot
But timeshift also requires reboot, if I recall correctly.
OMFG, ofc that’s what they mean. It’s 5.48 am here, and I WAS GOING TO BED, but then I made this !“#!”# mistake, it’s installing. I’ll keep you posted.
Thank god, that worked.
Do I do the same thing for the other LTS kernel? tbh, I have never used it, only have it because I have read that it is recomended to have 2 kernels. Not that that matters if you rm -rf boot thoug… xD
Yeah do the same for any other kernel … or take it as an opportunity to remove it, ex:
sudo mhwd -r linux515
I do suggest people keep more than 1 for just in case.
But if 6.1 is very stable for you … then maybe you would like to consider that your ‘kept LTS’ and add something a little more experimental, ex:
Furher information and a thank to @cscs again who held my hand.
I was DEAD tired when this happened.
I have never really used timeshift to restore, I only set it up to do its thing in the background when I installed Manjaro.
When booting up today I realized the mem tester was missing from grub.
So when I was back on my system I checked timeshift and there is a browse button!!
I was sniffing on it last night (this morning) but never went deeper, my brain was not working.
But I could have just done that, browse the files in boot and restore them, would not even have to restore the full snapshot.