Deleted EFI Folder , how to recover it or make a new one?

my life ain’t easy , nothing happens straight ahha

[parasetu@pasec ~]$ sudo pacman -S arch-install-scripts 
[sudo] password for parasetu: 
error: failed to init transaction (unable to lock database)
error: could not lock database: File exists
  if you're sure a package manager is not already
  running, you can remove /var/lib/pacman/db.lck

Thank you @dmt @Nachlese , for all the time and patience , its already above 2 am here, idk what more to do , i’ll probably go to sleep , because this issue seems to be another big thing :frowning: but appreciate your help and i’ll try to boot from a live usb , hope it will help :))

Indeed.

1 Like

no, please

sudo pacman -Syu

before that do update your mirrors

EOS has got a very nice GUI for that
(on the Welcome Screen)

but after that - we can’t be dealing with EOS issues too, now.

I have it, too.
No problems.
None at all.

just use the a little bit more tedious manual chroot method

… so sorry:
I said and promised to shut up :grimacing:

sudo rm /var/lib/pacman/db.lck

You’re welcome.

We can continue tomorrow (or another day) if you wish.

It would simplify things a little

4 hours before here - you should probably do that :sunglasses:

nighty night!

1 Like

Yes sir

yeah , don’t wanna give you more trouble , you guys already helped a lot , i’m just a bit worried turning off the pc as well , but hope things will be alright.

goodnight geeks :))

We’ve only modified fstab on manjaro, so unless you messed with endeavour, it should be fine.

Good night. :smiley:

1 Like

Hahaha , hope so , fingers crossed

1 Like

nothing is lost
you just need a new efi
and a bootloader refresh

remember the Legos

1 Like

This does nothing for the current issue(s), however for future reference (when you eventually decide to reinstall everything) – you only need one ESP partition no matter how many OS you wish to install.

I’m guessing the only reason you don’t already have a single $ESP is perhaps a lack of confidence using the respective manual partitioning methods of each OS you installed.

All that really needs to be done when installing a second (or third) OS is to select the existing $ESP, assign it the mount point required by the new OS, and remember to not select the $ESP to be partitioned.

The UEFI boot files should be installed to the respective folder for each OS, on the same $ESP/EFI/Arch or /EFI/Manjaro, for example.

When trying to manage so many (more than two) OS on a machine, I suggest that the rEFInd UEFI Bootloader may be beneficial – choosing rEFInd as the default loader would allow it to effectively manage all OS present.

Cheers.

1 Like

okay guys , I’m back and when i tried to boot into the system it did boot straightaway , but it was a bit slow , could be because of the new address allotment , besides that , I have updated the grub and the outcome doesn’t show manjaro , so do i need to chroot or is it fixed after grub update

 sudo update-grub
[sudo] password for parasetu: 
Generating grub configuration file ...
Found theme: /usr/share/grub/themes/manjaro/theme.txt
Found linux image: /boot/vmlinuz-5.11-x86_64
Found initrd image: /boot/intel-ucode.img /boot/initramfs-5.11-x86_64.img
Found initrd fallback image: /boot/initramfs-5.11-x86_64-fallback.img
Found linux image: /boot/vmlinuz-4.14-x86_64
Found initrd image: /boot/intel-ucode.img /boot/initramfs-4.14-x86_64.img
Found initrd fallback image: /boot/initramfs-4.14-x86_64-fallback.img
Warning: os-prober will be executed to detect other bootable partitions.
Its output will be used to detect bootable binaries on them and create new boot entries.
Found Windows Boot Manager on /dev/nvme0n1p1@/efi/Microsoft/Boot/bootmgfw.efi
Found Ubuntu 20.04.1 LTS (20.04) on /dev/nvme0n1p5
Found EndeavourOS Linux (rolling) on /dev/sdb13
Found Garuda Linux (Soaring) on /dev/sdb4
Adding boot menu entry for UEFI Firmware Settings ...
Found memtest86+ image: /boot/memtest86+/memtest.bin
done

I have no idea what you did, but some comments nonetheless:

are Manjaro kernels

but:
they are quite old and unsupported by now
you should probably update them

the list of currently supported kernels:

mhwd-kernel -l
available kernels:
   * linux419
   * linux510
   * linux515
   * linux54
   * linux61
   * linux610
   * linux66
   * linux69
   * linux61-rt
   * linux66-rt
   * linux67-rt
1 Like

What distro were you in when you updated grub? Manjaro?

uname -r

If you can boot into Manjaro then it’s fixed.

yes sir , i booted into manjaro and then updated the grub , but on reboot still the bios is not of manjaro and its of garuda and i have done virtualisation on my cpu aswell divided my two graphics card so when i connect DP cable with graphic card , it will go blank as it can not be accessed by Garuda and will be only accesses by the VM(Virtual machine) inside of garuda.

5.11.22-2-MANJARO

is linux610 okay to install?

Every single one in that list is o.k. to install - except for the -rt kernels.
You should have a very specific reason to try to use those.
… just don’t.

After you installed one or two supported kernels - boot into one of them and remove the ones that are no longer up to date.

1 Like

That’s grub (the bootloader), the BIOS/UEFI is from your motherboard manufacturer.

If you want manjaro’s grub then boot into manjaro and install grub then update grub. chroot is not necessary as you’re already in manjaro.

I just remembered, we now have an easier option to do this:

# if it's not already installed, install it
sudo pacman -S install-grub 

# Install and update grub
sudo install-grub

That’s not something I know a lot about. So I won’t be able to help you with it.

If you want help with that, it’s probably best to open a new thread.

You seem to have fundamental lack of understanding of computers, and in particular, the boot processes involved. I see now why this thread is fast approaching 80 posts with no clear resolution.

At least you seem to be booting Manjaro;
Is each installed OS also booting as expected now?

1 Like

Without reading any of this 80 responses here:

If you have a Timeshift snapshot, you also could boot in a live environment and restore this partition from there.

Timeshift is a good tool for the unexperienced user’s to get their system, quick to run again.