Bug 25238 - I'm unable to produce UEFI bootable supports using the ISOs ("classic" AND "live" installations) downloadable from the site
Summary: I'm unable to produce UEFI bootable supports using the ISOs ("classic" AND "l...
Status: RESOLVED WORKSFORME
Alias: None
Product: Mageia
Classification: Unclassified
Component: Release (media or process) (show other bugs)
Version: Cauldron
Hardware: x86_64 Linux
Priority: Normal major
Target Milestone: ---
Assignee: ISO building group
QA Contact:
URL:
Whiteboard: (MGA7.1)
Keywords: NEEDINFO
Depends on:
Blocks:
 
Reported: 2019-08-07 23:33 CEST by Michel AUTEM
Modified: 2020-05-31 19:42 CEST (History)
4 users (show)

See Also:
Source RPM:
CVE:
Status comment:


Attachments
DVD showing a defective UEFI tree structure (42.56 KB, image/jpeg)
2019-08-25 15:46 CEST, Michel AUTEM
Details
DVD showing a correct UEFI tree structure (63.93 KB, image/jpeg)
2019-08-25 15:47 CEST, Michel AUTEM
Details

Description Michel AUTEM 2019-08-07 23:33:00 CEST
Description of problem:
My system runs UEFI.
Whatever the environnement (Linux or Windows), the physical support (DVD, USB stick) and the tool (Isodumper, K3b, Rufus,Winimage ..), I'm *unable* to produce *any* bootable support .

Version-Release number of selected component (if applicable):
Mageia 7.1, "classic" and "live" ISOs

How reproducible:


Steps to Reproduce:
1. Download the ISOs
2. Check the integrity
3. Burn a DVD, or dump the ISO to an USB stick
4. Verify the boot order in the BIOS (DVD / USB / Mageia (GRUB2) / Windows)
5. Try to reboot the system, from the DVD or the USB key
6. Go to bed until to-morrow, because it's the tenth time you re-do the sequence ..

Workaround :
1. Plug the USB key with Mageia 7.1 
2. Start the system from *Mageia 6* (classic) install *DVD*, which (at least) enables to boot in UEFI mode
3. At the first screen, ask to install the system from the USB key (option #3).
Then the installation wants to start ..
Comment 1 Jose Manuel López 2019-08-08 11:08:37 CEST
You confirmed that the boot option "Mageia" appear in "EFI options Bios"?

There are some cases in which the boot device must be configured in the bios efi option.

What motherboard do you have?

Ever confirmed: 1 => 0
CC: (none) => joselp
Status: NEW => UNCONFIRMED

Comment 2 Jose Manuel López 2019-08-08 11:13:57 CEST
What program do you use to record the iso, both in usb and dvd?

Do you do it from Linux or from Windows?
Comment 3 Michel AUTEM 2019-08-08 22:21:07 CEST
(In reply to Jose Manuel López Díaz from comment #1)

Hi Jose M., thanks for the answer

> You confirmed that the boot option "Mageia" appear in "EFI options Bios"?
Yes ! Mageia 6 was installed on my computer, in dual boot with Windows 10, before I launched the new installations and everything worked perfectly.

> There are some cases in which the boot device must be configured in the bios
> efi option.
> 
> What motherboard do you have?
My computer is a Dell system I got in 2016, with an Intel H110 Chipset.
Comment 4 Michel AUTEM 2019-08-08 22:36:53 CEST
(In reply to Jose Manuel López Díaz from comment #2)
> What program do you use to record the iso, both in usb and dvd?
> 
> Do you do it from Linux or from Windows?

I tried so many combinations, those recommended on the Mageia site and some others, that I'm not sure to remember everything ..

I tried in Windows 10 with Easy2Boot, Rufus, Win32DiskImager ..
I tried in Mageia/KDE with K3B, Mageia/Xfce with Isodumper ..

I never got any error during the burning or dumping process, but the resulting supports are never bootable under UEFI .
Comment 5 Jose Manuel López 2019-08-08 22:43:26 CEST
Have you tried in other computer the usbs of Mageia 7?
Comment 6 Jose Manuel López 2019-08-08 22:51:11 CEST
Have you tried in port USB 2.0 or 3.0?

I have a USB that no boot Mageia iso un port USB 3.0.
Comment 7 Jose Manuel López 2019-08-08 23:02:00 CEST
You try?:

How do I enable boot from USB option with UEFI boot mode enabled Dell?
Steps are provided below:

    Boot mode should be selected as UEFI (Not Legacy)
    Secure Boot set to Off. ...
    Go to the 'Boot' tab in the BIOS and select Add Boot option. ( ...
    A new window will appear with 'blank' boot option name. ( ...
    Name it "CD/DVD/CD-RW Drive" ...
    Press < F10 > key to save settings and restart.
    The system will restart.


From web support of Dell

I don't know if you added new boot option in Bios Efi before.

Try it.
Comment 8 Marja Van Waes 2019-08-11 17:55:00 CEST
Setting Version: to cauldron, because we cannot change already released ISOs.
Putting "(MGA7.1)" on the whiteboard, because the highest Mga version reported to have this issue, is Mga 7.1

@ Michel

Was your Mageia 6 install on the same computer an UEFI install? 
If so: which Mageia 6 ISO did you use to install it?
       can you still boot that same ISO in UEFI mode?

Keywords: (none) => NEEDINFO
CC: sysadmin-bugs => marja11
Version: 7 => Cauldron
Whiteboard: (none) => (MGA7.1)
Assignee: bugsquad => isobuild

Comment 9 Martin Whitaker 2019-08-11 20:57:50 CEST
@Michel, when you say the Mageia 7.1 medium (DVD or USB) is not bootable, does that mean:

a) The BIOS does not detect the medium as a bootable device

or

b) The BIOS allows you to select that device to boot from, but booting fails

With the Mageia 7.1 USB stick plugged in, boot to your Mageia GRUB2 boot menu, then press 'c' to get to the GRUB command line. Enter the command

  ls

What is displayed?

CC: (none) => mageia

Comment 10 Michel AUTEM 2019-08-25 15:45:16 CEST
Hi friends,
First of all : Thank you for apologizing Me for taking so much time to respond, I had my whole family (12 people !) at home on holidays, and I could almost not touch my computer for two weeks ..
But now everybody has gone and I came to some conclusions : in fact I got not *one* problem, but maybe *two* ..

1) The (very) strange behaviour/logic of the Dell's American Megatrends firmware interface : it detects/recognizes removable UEFI supports, but it isn't able to boot on them without a complementary parametrization .. I'm writing a short how-to with pictures. I send it in a next post. Might be useful to make it rewrite by an English native speaker, before depositing it somewhere in the Mageia installation documentation for Dell users ..

In short, a (64 bits) UEFI system *needs* the \EFI\boot\bootx64.efi file installed on the support. It is then supposed to be recognized by the firmware as an UEFI bootable support. In my computer, the support is recognized as an UEFI support but .. the firmware doesn't mount it automatically. It's that I explain in my how-to (next post) .

2) That seems my DVD burner has some default(s) ..
According this explanation, my *USB* installation supports are correct and work now perfectly, but my DVD supports don't : the firmware doesn't even recognize them as UEFI supports ! When I look at their tree structure, I see that \EFI\boot directory is completely defective (attachment #1 [details]) by comparison with a correct support (attachment #2 [details]).
But maybe it's my DVD burner which gets some problem. It's able to finalize new disks, but never without some burning error. The question is : why are all (~10) these defective DVDs, defective exactly in the same way and not randomly ?
Comment 11 Michel AUTEM 2019-08-25 15:46:51 CEST
Created attachment 11262 [details]
DVD showing a defective UEFI tree structure
Comment 12 Michel AUTEM 2019-08-25 15:47:46 CEST
Created attachment 11263 [details]
DVD showing a correct UEFI tree structure
Comment 13 Michel AUTEM 2019-08-25 16:42:37 CEST
Here is the link to my mini-howto about UEFI in DELL systems (LibreOffice ODT format).

http://ovh.to/n3qYKdw
Comment 14 papoteur 2020-05-25 09:47:41 CEST
It seems indeed that the structure of our ISO has changed between 6 and 7 release, and that your system is sensible to that.
@ Martin: what do you mean about that?

CC: (none) => yves.brungard_mageia

Comment 15 Martin Whitaker 2020-05-25 10:49:30 CEST
Yes, the structure of the ISO changed. The El Torito boot catalogue points to the ESP (partition 2), not to the \EFI directory in the iso9660 filesystem (partition 1). The ESP is physically stored at the end of the ISO image, and the Mageia 7 ISOs are larger than the Mageia 6 ISOs (because we removed the requirement that they fit on a 4GB USB stick). So if Michel's DVD burner is having trouble writing data at the end of the disk, it is likely the DVDs won't boot.

Note that the UEFI tree structure shown in attachment 11262 [details] is correct for Mageia 7, as that is the EFI directory in the iso9660 filesystem, not the EFI directory in the ESP.

If Michel's DVDs are in fact burnt correctly, then there may be a problem with the way his BIOS boots from DVDs.
Comment 16 Michel AUTEM 2020-05-31 08:28:29 CEST
(In reply to Martin Whitaker from comment #15)
> Yes, the structure of the ISO changed. The El Torito boot catalogue points
> to the ESP (partition 2), not to the \EFI directory in the iso9660
> filesystem (partition 1). The ESP is physically stored at the end of the ISO
> image, and the Mageia 7 ISOs are larger than the Mageia 6 ISOs (because we
> removed the requirement that they fit on a 4GB USB stick). So if Michel's
> DVD burner is having trouble writing data at the end of the disk, it is
> likely the DVDs won't boot.
> 
> Note that the UEFI tree structure shown in attachment 11262 [details] is
> correct for Mageia 7, as that is the EFI directory in the iso9660
> filesystem, not the EFI directory in the ESP.
> 
> If Michel's DVDs are in fact burnt correctly, then there may be a problem
> with the way his BIOS boots from DVDs.

Yes, I had a problem with *both* my DBD burner and the way my BIOS boots from external UEFI medias. I posted a mini-HowTo about UEFI with American Megatrends firmware in DELL systems, but the link got corrupted. So I republish it there :
> http://michelautem.blogspot.com/2020/05/a-small-how-to-for-booting-external.html
Comment 17 papoteur 2020-05-31 19:42:15 CEST
Thanks Michel for the tuto.
I think we can close this report.

Status: UNCONFIRMED => RESOLVED
Resolution: (none) => WORKSFORME


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