Bug 15334 - M5 UEFI install from USB stick finds and uses media on hard disk in preference to media on USB stick
Summary: M5 UEFI install from USB stick finds and uses media on hard disk in preferenc...
Status: RESOLVED FIXED
Alias: None
Product: Mageia
Classification: Unclassified
Component: Installer (show other bugs)
Version: Cauldron
Hardware: x86_64 Linux
Priority: Low enhancement
Target Milestone: ---
Assignee: Mageia tools maintainers
QA Contact:
URL:
Whiteboard:
Keywords: NEEDINFO
Depends on:
Blocks:
 
Reported: 2015-02-21 15:01 CET by Martin Whitaker
Modified: 2020-06-10 17:27 CEST (History)
3 users (show)

See Also:
Source RPM:
CVE:
Status comment:


Attachments

Description Martin Whitaker 2015-02-21 15:01:54 CET
Attempting to install M5 beta 3 on my laptop using UEFI boot from a USB stick. The installer gets to the start of stage 2, then reports

  FATAL ERROR IN INIT : Cannot rename module folder

and hangs. The immediately preceding message is

  Creating symlink /tmp -> /var/run

There is no active console available with Ctrl-Alt-F2, so I can't generate an installer bug report.

When using legacy boot, this bug does not occur. The only visible difference is that UEFI boot is using the laptop's native screen resolution (1920x1080) - although it's hard to imagine that is relevant.

I can successfully complete installation on my desktop machine using the same USB stick and using UEFI boot, so this is in some way hardware related.

Hardware details:

Processor: Intel Core i7-3630QM CPU @ 2.40GHz
Graphics: Hybrid NVIDIA GeForce GT 635M / Intel

Reproducible: 

Steps to Reproduce:
Comment 1 Martin Whitaker 2015-02-22 23:24:06 CET
I've found the cause of this. I had a copy of the Mageia-4 installation DVD on a partition of the hard drive in my laptop, and when using UEFI boot, the M5 installer was finding and using that, rather than the installation media on the USB stick.

Granted this is not likely to be a common occurrence (I only had it to work round bug 11679), but it would be good if the installer was a little more robust.
Comment 2 Thierry Vignaud 2015-02-24 13:02:40 CET
well stage1 job is just to find & load stage2 but there's interdependencies between them as they must be for the same kernel, udev, ...

Severity: normal => enhancement
Priority: Normal => Low
CC: (none) => thierry.vignaud
Summary: M5B3 UEFI install fails at start of stage 2 - FATAL ERROR IN INIT : Cannot rename module folder => M5B3 UEFI install fails at start of stage 2 - FATAL ERROR IN INIT : Cannot rename module folder (b/c it found an older installer on disk)

Comment 3 claire robinson 2015-04-16 19:26:58 CEST
Martin do you have access to the latest ISO builds?

CC: (none) => eeeemail

Comment 4 Martin Whitaker 2015-04-17 00:27:50 CEST
Claire, no, I've been using beta3 and updating mdkinst.sqfs. Both my machines use UEFI boot, so it's easy to update.
Comment 5 Thierry Vignaud 2015-06-02 14:58:05 CEST
What about mga RC?

Keywords: (none) => NEEDINFO

Comment 6 Martin Whitaker 2015-06-02 21:21:38 CEST
With the final release candidate from 27th May, if I select the Install from USB option, it still finds and attempts to install from the media it finds on the hard disk in preference to the media on the USB stick. Now, however, it can successfully start the old installer, so at least you get a clue what's gone wrong.

If I select the Install from DVD option, it doesn't search the hard disk, so correctly uses the media on the USB stick (unless there is a DVD present - but I guess that's fair enough).

Not a high priority, but it would be better if it started the search on the drive it booted from.

Summary: M5B3 UEFI install fails at start of stage 2 - FATAL ERROR IN INIT : Cannot rename module folder (b/c it found an older installer on disk) => M5 UEFI install from USB stick finds and uses media on hard disk in preference to media on USB stick
Keywords: NEEDINFO => (none)

Comment 7 Marja Van Waes 2016-10-16 22:29:21 CEST
@ Martin

Is this bug still valid?

Assignee: bugsquad => mageiatools
Keywords: (none) => NEEDINFO
CC: (none) => marja11

Comment 8 Martin Whitaker 2016-10-17 00:12:08 CEST
Yes, I've just reproduced it, using the M6 sta1 ISO.

One way to mitigate this bug would be to remove the "Install from USB" option from the classic installer boot menu. I don't think this is needed any more - the change that allowed us to 'dd' the ISO onto the USB stick means that the "Install from DVD" option works just as well.
Comment 9 Martin Whitaker 2020-06-10 17:27:07 CEST
The install from USB option was removed in Mageia 7, so this bug is now fixed.

Resolution: (none) => FIXED
Status: NEW => RESOLVED


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