You are not logged in.

#1 2017-05-20 22:49:55

bzpnbx
Member
Registered: 2014-10-05
Posts: 35

Booting EFISTUB

I don't understand this message: Warning: Linux Kernel EFISTUB initramfs path should be relative to the EFI System Partition's root. For example, if the initramfs is located in esp/EFI/arch/initramfs-linux.img, the corresponding UEFI formatted line should be initrd=/EFI/arch/initramfs-linux.img or initrd=\EFI\arch\initramfs-linux.img. In the following examples we will assume that everything is in esp/.

https://wiki.archlinux.org/index.php/EFISTUB

Could someone direct me to a better more thorough explanation about what this is talking about?

Last edited by bzpnbx (2017-05-20 23:34:50)

Offline

#2 2017-05-21 13:40:59

tom.ty89
Member
Registered: 2012-11-15
Posts: 897

Re: Booting EFISTUB

It means, no matter you mount the ESP to /boot or /boot/efi or wherever you like, you don't include the mountpoint in the paths you set for the kernel and the initramfs image (initrd=) when you configure the UEFI boot entry. At the point the UEFI loads the kernel (and that the kernel in turn loads initramfs image), the filesystem on your "root partition" is not even mounted yet (that is exactly the job of the init in the initramfs). They just look into ESP and loads stuff.

Every filesystem has a "root". The fact that we mount different filesystems on different directory under the "system root" does not change their roots. The mountpoints are just references to their roots.

Last edited by tom.ty89 (2017-05-21 13:42:40)

Offline

Board footer

Powered by FluxBB