You are not logged in.

#1 2020-08-04 17:51:33

expye
Member
Registered: 2020-07-26
Posts: 7

[SOLVED] Kernel not sync with EFI system parition automatically

Dear all,

I boot my archlinux with UEFI, and use /efi as the EFI system partition.
Each time I upgrade linux kernel, I have to manully copy `initramfs-linux.img`, `vmlinuz-linux`, `initramfs-linux-fallback.img` to /efi folder, otherwise I'll encounter the error `unknown file system type "vfat"` when I restart my computer (see https://bbs.archlinux.org/viewtopic.php?id=178358, which is because the kernel booted is not the kernel installed).

I wonder is there any approach to sync /efi and /boot automatically when I upgrade kernel, I know there must be somewhere I configured wrong but I don't know what is it.

Thanks.

Last edited by expye (2020-08-09 15:05:36)

Offline

#2 2020-08-04 18:24:59

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 25,372

Re: [SOLVED] Kernel not sync with EFI system parition automatically

Use a bind mount or one of the plethora of other options in that section

Last edited by V1del (2020-08-04 18:27:25)

Offline

#3 2020-08-09 15:06:18

expye
Member
Registered: 2020-07-26
Posts: 7

Re: [SOLVED] Kernel not sync with EFI system parition automatically

Thanks I tried mkinitcpio hook and it works.

Offline

Board footer

Powered by FluxBB