You are not logged in.
Hi there!
Total noob here. I installed Arch a few days ago despite having some trouble trying to make grub work. I managed to make things work, but at the moment i was wondering if my ESP partition (located in /boot/efi) is looking right
the directory tree of my /boot directory looks something like this (just trimmed locale and x86_64-efi to make things more readable):
.
├── efi
│ ├── EFI
│ │ └── arch
│ │ └── grubx64.efi
│ ├── grub
│ ├── initramfs-linux-fallback.img
│ ├── initramfs-linux.img
│ ├── intel-ucode.img
│ └── vmlinuz-linux
├── grub
│ ├── fonts
│ │ └── unicode.pf2
│ ├── grub.cfg
│ ├── grubenv
│ ├── locale
│ │ ├── sr.mo
│ │ ├── sv.mo
│ │ ├── tr.mo
| .........................................
│ │ ├── vi.mo
│ │ ├── zh_CN.mo
│ │ └── zh_TW.mo
│ ├── themes
│ └── x86_64-efi
│ ├── acpi.mod
│ ├── adler32.mod
│ ├── affs.mod
│ ├── afs.mod
| .........................................
│ ├── xzio.mod
│ ├── zfscrypt.mod
│ ├── zfsinfo.mod
│ ├── zfs.mod
│ └── zstd.mod
├── initramfs-linux-fallback.img
├── initramfs-linux.img
└── vmlinuz-linux
I was wondering why do i have initramfs an kernel images both in /boot and /boot/efi/EFI ?? (i read that is for BIOS boot compatibility but i'm not sure) and also, why do i have an empty grub folder in /boot/efi/EFI ? is it used for something or is it just an error? Unfortunately i didn't find anything regarding this on the Arch wiki page of grub (https://wiki.archlinux.org/title/GRUB), but trying to delete that resulted in "problems" turning off the machine, if someone could explain the function of this folder would be great.
Thank you for your support and have a great day!
Last edited by SalvatoreSantoro (2024-11-05 18:59:38)
Offline
you should be able to remove the items in bold
.
├── efi
│ ├── EFI
│ │ └── arch
│ │ └── grubx64.efi
│ ├── grub
│ ├── initramfs-linux-fallback.img
│ ├── initramfs-linux.img
│ ├── intel-ucode.img
│ └── vmlinuz-linux
├── grub
│ ├── fonts
│ │ └── unicode.pf2
│ ├── grub.cfg
│ ├── grubenv
│ ├── locale
│ │ ├── sr.mo
│ │ ├── sv.mo
│ │ ├── tr.mo
| .........................................
│ │ ├── vi.mo
│ │ ├── zh_CN.mo
│ │ └── zh_TW.mo
│ ├── themes
│ └── x86_64-efi
│ ├── acpi.mod
│ ├── adler32.mod
│ ├── affs.mod
│ ├── afs.mod
| .........................................
│ ├── xzio.mod
│ ├── zfscrypt.mod
│ ├── zfsinfo.mod
│ ├── zfs.mod
│ └── zstd.mod
├── initramfs-linux-fallback.img
├── initramfs-linux.img
└── vmlinuz-linux
Offline
Thank you, it worked. I don't know why removing the empty grub folder the first time caused the poweroff to take more time (maybe just some process in background i forgot about), but removing all the files you listed isn't causing any issue.
Offline