You are not logged in.

#1 2024-11-05 16:48:55

SalvatoreSantoro
Member
Registered: 2024-11-05
Posts: 3

[SOLVED] Trying to understand my ESP partition

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

#2 2024-11-05 18:48:37

jonno2002
Member
Registered: 2016-11-21
Posts: 706

Re: [SOLVED] Trying to understand my ESP partition

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

#3 2024-11-05 19:04:27

SalvatoreSantoro
Member
Registered: 2024-11-05
Posts: 3

Re: [SOLVED] Trying to understand my ESP partition

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

Board footer

Powered by FluxBB