You are not logged in.

#1 2020-12-12 00:00:53

mushotoku
Member
Registered: 2020-12-11
Posts: 13

[Solved] "bootctl install" creates an empty directory?

Hi everyone,

I've just installed arch on my new Thinkpad X260 and use systemd to boot.

Therefor I installed the bootloader after the main system installation with:

# $bootctl install

The partition layout looks like this:

Number  Start (sector)    End (sector)  Size       Code  Name
   1            2048         1050623   512.0 MiB   EF00  EFI system partition
   2         1050624      1953525134   931.0 GiB   8309  Linux LUKS

The EFI system partition is mounted under "/boot" and holds the following directories:

# $tree /boot

/boot
├── EFI
│   ├── BOOT
│   │   └── BOOTX64.EFI
│   ├── Linux
│   └── systemd
│       └── systemd-bootx64.efi
├── initramfs-linux-fallback.img
├── initramfs-linux.img
├── intel-ucode.img
├── loader
│   ├── entries
│   │   ├── arch.conf
│   │   └── arch-fallback.conf
│   ├── loader.conf
│   └── random-seed
└── vmlinuz-linux

All works fine, but bootctl created an empty "/boot/EFI/Linux" directory. Is ist save to remove this folder? What is it for? Is it needed or used by anything?

best regards

Mushotoku

Last edited by mushotoku (2020-12-12 09:39:30)

Offline

#2 2020-12-12 00:25:29

Scimmia
Bug Wrangler
Registered: 2012-09-01
Posts: 8,344

Re: [Solved] "bootctl install" creates an empty directory?

Are you sure bootctl created that? I don't have it.

Anyway, no, you don't need it.

Online

#3 2020-12-12 00:40:46

GaKu999
Member
From: US/Eastern
Registered: 2020-06-21
Posts: 593

Re: [Solved] "bootctl install" creates an empty directory?

IIRC systemd-boot it’s capable of picking kernels efistubs from there automatically and making entries on bootup.


My reposSome snippets

Heisenberg might have been here.

Offline

#4 2020-12-12 09:37:38

mushotoku
Member
Registered: 2020-12-11
Posts: 13

Re: [Solved] "bootctl install" creates an empty directory?

That makes sense. I'll leave it be then. Thank you.

best regards

mushotoku

Offline

Board footer

Powered by FluxBB