Bug 21104 - Change EFI System Partition mountpoint from /boot/EFI to /boot/efi
Summary: Change EFI System Partition mountpoint from /boot/EFI to /boot/efi
Status: NEW
Alias: None
Product: Mageia
Classification: Unclassified
Component: Installer (show other bugs)
Version: Cauldron
Hardware: All Linux
Priority: Normal normal
Target Milestone: Mageia 7
Assignee: Thierry Vignaud
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-06-17 15:37 CEST by Neal Gompa
Modified: 2017-08-06 08:19 CEST (History)
2 users (show)

See Also:
Source RPM:
CVE:
Status comment:


Attachments
Git patch to change from /boot/EFI to /boot/efi (4.83 KB, text/plain)
2017-06-17 15:52 CEST, Neal Gompa
Details

Description Neal Gompa 2017-06-17 15:37:54 CEST
Description of problem:
Mageia currently mounts the EFI system partition in /boot/EFI. By itself, it is not necessarily bad. However, it doesn't align with how virtually all other Linux distribution families mount the ESP, which is /boot/efi. In the interest of making things simpler and compatible (especially for cross-distribution appliance image creation and manipulation tools), it'd be great if the ESP mountpoint was changed to /boot/efi.

For example, this is making it tricky to ensure compatibility between drakx installed Mageia and appliance-tools / kiwi built Mageia appliances and calamares installed Mageia with drakxtools.

One of the consequences of this is that drakboot can't determine that it's on an EFI boot system because the mount point is /boot/efi instead of /boot/EFI with appliance images produced by appliance-tools and kiwi.

For backwards compatibility, you could create a symlink /boot/EFI to point to /boot/efi.

Version-Release number of selected component (if applicable):
DrakX 17.84

How reproducible:
Always

Steps to Reproduce:
1. Install Mageia for UEFI
2. Look in /boot
3. See that it's /boot/EFI instead of /boot/efi
Comment 1 Neal Gompa 2017-06-17 15:52:34 CEST
Created attachment 9419 [details]
Git patch to change from /boot/EFI to /boot/efi

I've attached a patch that switches the paths in drakxtools to /boot/efi.

It's an obviously incomplete patch because I'm not sure how to handle mountpoint migrations with /etc/fstab and grub configurations and whatnot. I don't know Perl / DrakX code well enough to figure that part out.
Neal Gompa 2017-06-17 16:20:33 CEST

CC: (none) => zen25000

Neal Gompa 2017-06-17 16:21:04 CEST

CC: (none) => tmb

Neal Gompa 2017-08-06 08:19:18 CEST

Target Milestone: --- => Mageia 7


Note You need to log in before you can comment on or make changes to this bug.