You are not logged in.

#1 2023-07-30 06:16:47

avidseeker
Member
Registered: 2022-09-06
Posts: 68
Website

[Solved] Empty /mnt/boot after pacstrap

Running pacstrap -K /mnt base linux linux-firmware doesn't populate /mnt/boot (nor /mnt/efi) with kernel images. The directory is just empty.

At first I mounted ESP /dev/sda1 at /mnt/efi, then I tried again with /mnt/boot.

Last edited by avidseeker (2023-07-30 14:12:12)

Offline

#2 2023-07-30 07:39:58

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 76,120

Re: [Solved] Empty /mnt/boot after pacstrap

The kernel images are placed in the /boot path by the kernel packages, whatever that is and regardless of your bootloader.
Where there any erros during the pacstrap execution?

At first I mounted ESP /dev/sda1 at /mnt/efi, then I tried again with /mnt/boot.

There's a good chance that you installed the kernel into the /boot path of the root partition and then mounted sda1 into that path (so now it's empty) and "tried again" didn't do anything because the kernel was already up-to-date.

umount /mnt/boot
ls -lha /mnt/boot

Offline

#3 2023-07-30 14:11:58

avidseeker
Member
Registered: 2022-09-06
Posts: 68
Website

Re: [Solved] Empty /mnt/boot after pacstrap

Fixed after re-installing again from scratch. The reason it was empty is that I used the ESP mounting point by --bind mount. Although it's still strange that it didn't work even after making sure the mounting was before pacstrap. And pacstrap was successful.

Offline

Board footer

Powered by FluxBB