Why?But i know I shouldn't have my whole /boot in the vfat partition dedicated to ESP.....
Yes. At least as long as your efi loader understands your new FS on /boot.is it safe to move everything not in /boot/efi back into the root partition, and modify my fstab to mount ESP to /boot/efi?
Bootloaders have no concept of users and permissions.And are there any permissions etc I need to fix that may have been lost copying /boot files from xfs into vfat which I would need to restore when moving them back into the xfs root partition?
YES ... but is very new ... it has started before two days (in Gentoo) ... and even yesterday and today we hade changes in our AMD64 handbook - maybe PO has not read, because it is so new.szatox wrote:EFI _is_ the new /boot. [...]
Ownership is a feature of the filesystem and not of /boot. If /boot is using FAT32, then the files do not have owners (they are emulated). See also https://learn.microsoft.com/en-us/windo ... comparison.szatox wrote:Bootloaders have no concept of users and permissions.
Other than that, everything under /boot is owned by root. I'm going to congratulate you if you manage to actually mess it up.
No, EFI is the successor of the BIOS (firmware) and has also a new way to boot systems. The main purpose of the ESP is to replace the old MBR (Master boot record with exactly one bootloader) to allow having several bootloaders. EFI also allows to boot other binaries and is not limited to bootloaders. It is possible to boot the kernel directly without a bootloader and for this purpose some people find it easier to use the ESP also as /boot.szatox wrote:EFI _is_ the new /boot. It serves the same purpose, making /boot redundant. Unless you have a particular reason to separate boot and efi, just format /boot as vfat and mark it as efi boot partition.
I'll take your word on it. Haven't checked the docs for a very long time. To me, it's been this way as a concept for years. Understanding is better than docs, though well written docs do help with understanding, a lot.pietinger wrote:YES ... but is very new ... it has started before two days (in Gentoo) ...szatox wrote:EFI _is_ the new /boot. [...]
Code: Select all
root #mkdir /efiAh, that's what you meant. Yes, moving /boot/efi to /efi is something new to me.It is the NEW /efi ... directly in our root-filesystem
Live that garbage out.(by the way, I'm she/her.)
Good jobNo problems at all - I unmounted ESP, made the /efi directory, changed fstab so ESP was mounted to /efi instead of /boot, and since I'm using systemd-boot, ran bootctl --esp-path=/efi install to be sure the bootloader knew where to look, rebooted, and everything worked just as it should
Wouldn't mounting the ESP to /efi instead of /boot complicate things with encrypted installs, considering the kernels and the initramfs are placed in the /boot directory of the encrypted root partition?pietinger wrote:I have a feeling we have a misunderstanding ...
I dont have talked about /boot or /boot/efi or /boot/efi/gentoo or /boot/efi/efi/gentoo ...![]()
It is the NEW /efi ... directly in our root-filesystem ... at the moment you also must create this directory manually (because no updated GentooInstallCD).
See in our updated (yesterday) AMD64 handbook:
https://wiki.gentoo.org/wiki/Handbook:A ... FI_systems
=>Code: Select all
root #mkdir /efi
If root partition is unreadable by bootloader, kernel shouldn't be stored there. Instead there should be a separate /boot partition that is readable by bootloader. At least this is how I understand it.eeckwrk99 wrote:Wouldn't mounting the ESP to /efi instead of /boot complicate things with encrypted installs, considering the kernels and the initramfs are placed in the /boot directory of the encrypted root partition?pietinger wrote:I have a feeling we have a misunderstanding ...
I dont have talked about /boot or /boot/efi or /boot/efi/gentoo or /boot/efi/efi/gentoo ...![]()
It is the NEW /efi ... directly in our root-filesystem ... at the moment you also must create this directory manually (because no updated GentooInstallCD).
See in our updated (yesterday) AMD64 handbook:
https://wiki.gentoo.org/wiki/Handbook:A ... FI_systems
=>Code: Select all
root #mkdir /efi
It depends.eeckwrk99 wrote:Wouldn't mounting the ESP to /efi instead of /boot complicate things with encrypted installs, considering the kernels and the initramfs are placed in the /boot directory of the encrypted root partition?
This is more or less the real point I wanted to address when making the thread, because when I realized my files inside /boot had become unorganized, I simply copied everything in there into the ESP as there was plenty of space remaining. Now I realize I have some old stuff in there such as initramfs images from old kernel versions which I don't need, and am assuming won't get purged automatically - and according to the information provided in pietinger's new article, it appears to confirm that the ESP only really needs to have a few files present, so I can comfortably delete the rest.sMueggli wrote:If you are using/abusing the ESP as /boot...