You are not logged in.

#1 2021-03-02 02:17:14

nicklan
Member
Registered: 2021-03-02
Posts: 3

[SOLVED] Changing efi mount point long after install

My machine has the old /boot and /boot/efi mountpoints:

/dev/nvme0n1p2 on /boot type ext2 (rw,relatime)
/dev/nvme0n1p1 on /boot/efi type vfat (rw,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=iso8859-1,shortname=mixed,utf8,errors=remount-ro)

I'd like to move to having efi just mounted to /boot (and I guess then just not using the old /boot partition). Is it enough to just edit my fstab to only mount nvme0n1p1 to /boot, and not to mount nvme0n1p2 anymore? I assume after that I'd need to remount everything and install the kernel, and microcode packages again? I also have refind installed, and it would be nice if it continued to work, although I do plan to migrate to efistub or systemd-boot, which is what's motivating moving the efi partition.

Anything I'm missing?  Thanks in advance!

Last edited by nicklan (2021-03-09 21:59:23)

Offline

#2 2021-03-02 02:22:39

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 30,508
Website

Re: [SOLVED] Changing efi mount point long after install

You shouldn't need to reinstall anything.  Just move all the content of /boot/ (except for /boot/efi) to /boot/efi, then edit your fstab.


"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman

Offline

#3 2021-03-02 03:22:26

loqs
Member
Registered: 2014-03-06
Posts: 19,022

Re: [SOLVED] Changing efi mount point long after install

The kernel will be moved from the boot partition to the ESP,  if refind is configured with a volume entry for the boot partition that will need to be changed to the ESP.

Offline

#4 2021-03-04 21:20:05

nicklan
Member
Registered: 2021-03-02
Posts: 3

Re: [SOLVED] Changing efi mount point long after install

Thanks! that seems to have worked fine. Appreciate the help.

Offline

#5 2021-03-04 23:42:03

2ManyDogs
Forum Fellow
Registered: 2012-01-15
Posts: 4,648

Re: [SOLVED] Changing efi mount point long after install

Please remember to mark your thread [SOLVED] (edit the title of your first post).

Offline

Board footer

Powered by FluxBB