Bug 15962

Summary: Cannot install Mageia on clean disk (need true fs for ESP)
Product: Mageia Reporter: Foss Fan <fossfan+3>
Component: InstallerAssignee: Thierry Vignaud <thierry.vignaud>
Status: RESOLVED FIXED QA Contact:
Severity: major    
Priority: Normal Keywords: NEEDINFO
Version: Cauldron   
Target Milestone: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Source RPM: CVE:
Status comment:
Attachments: Error log
fix regression refusing FAT for ESP (mga#15962)

Description Foss Fan 2015-05-17 10:00:28 CEST
Description of problem:

I ran network installer today from USB drive. The computer has UEFI, 1 disk, no partitions. 

How reproducible:
Run installer on such a computer.

Steps to Reproduce:
1. Start network installer
2. Get to partitioning screen
3. Select Use free space, result is error: Partitioning failed: You need a true filesystem (ext2/3/4, reiserfs, xfs, or jfs) for this mount point
4.  Select Custom disk partitioning, press "Auto allocate". Result: You need a true filesystem (ext2/3/4, reiserfs, xfs, or jfs) for this mount point..propagated     with no effect.
5. Press Create, EFI System Partition suggested. OK. Result: You need a true filesystem (ext2/3/4, reiserfs, xfs, or jfs) for this mount
6. Toggle to expert mode, same errors.

Cannot install Mageia using installer.

Reproducible: 

Steps to Reproduce:
Comment 1 Rémi Verschelde 2015-05-17 10:05:28 CEST
Could you try to retrieve debugging information when you encounter the above error, using this procedure?

- plug a USB key
- go to console (alt+ctrl+F2)
- run the "bug" command
- attach (do not paste) to this bug report the "report.bug" file you'll found
on your USB key

Assignee: bugsquad => thierry.vignaud

Comment 2 Foss Fan 2015-05-17 10:26:41 CEST
OK, see attached file.
I also tried creating partitions using live system.
Created 300 MB FAT32 and two more EXT4. Sadly, the installer did not use FAT32 as EFI partition nor allowed to create one. 
Still could not install Mageia 5.
Comment 3 Foss Fan 2015-05-17 10:27:46 CEST
Created attachment 6564 [details]
Error log
Comment 4 Thierry Vignaud 2015-05-17 10:50:55 CEST
I think that your ESP is not formatted.
You didn't have one before (why???) then create one then go on without formatting it.
How can your system boot in UEFI mode without an existing ESP???
Did you switch from legacy mode to UEFI in firmware?

Keywords: (none) => NEEDINFO

Comment 5 Thierry Vignaud 2015-05-17 10:55:39 CEST
(In reply to Foss Fan from comment #2)
> Created 300 MB FAT32 and two more EXT4. Sadly, the installer did not use
> FAT32 as EFI partition nor allowed to create one. 
> Still could not install Mageia 5.

None of your existing Windows partitions was tagging as ESP according to fdisk -l output.
If you create a new ESP, you could have been hit by fix for bug #15962
Comment 6 Thierry Vignaud 2015-05-17 11:00:13 CEST
Created attachment 6565 [details]
fix regression refusing FAT for ESP (mga#15962)
Thierry Vignaud 2015-05-17 11:12:00 CEST

Summary: Cannot install Mageia on clean disk => Cannot install Mageia on clean disk (need true fs for ESP)

Comment 7 Mageia Robot 2015-05-17 11:25:04 CEST
commit 6349a8e06dfa20179788d98e6247c02782f7d230
Author: Thierry Vignaud <thierry.vignaud@...>
Date:   Sun May 17 10:45:32 2015 +0200

    log which mount has not a true fs (mga#15962)
---
 Commit Link:
   http://gitweb.mageia.org/software/drakx/commit/?id=6349a8e06dfa20179788d98e6247c02782f7d230
Comment 8 Mageia Robot 2015-05-17 11:25:06 CEST
commit ba2fa54ce467dfeda61f696bfd8b94aed4c99112
Author: Thierry Vignaud <thierry.vignaud@...>
Date:   Sun May 17 10:57:00 2015 +0200

    fix regression refusing FAT for ESP (mga#15962)
    
    regression introduced in commit ae5b3ce9845669227ef06c90dfaa1065a7ceebe8
---
 Commit Link:
   http://gitweb.mageia.org/software/drakx/commit/?id=ba2fa54ce467dfeda61f696bfd8b94aed4c99112
Comment 9 Thierry Vignaud 2015-05-17 11:27:51 CEST
Should be fixed once drakx installer stage2 v16.96 lands on your favourite mirror

You can check stage2 version in install/stage2/VERSION eg:
http://distrib-coffee.ipsl.jussieu.fr/pub/linux/Mageia/distrib/cauldron/x86_64/install/stage2/VERSION

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

Comment 10 Foss Fan 2015-05-17 16:11:42 CEST
(In reply to Thierry Vignaud from comment #4)
> I think that your ESP is not formatted.
> You didn't have one before (why???) then create one then go on without
> formatting it.
> How can your system boot in UEFI mode without an existing ESP???
> Did you switch from legacy mode to UEFI in firmware?

My FAT32 300 MB partition created using external tools was formatted (as standard FAT32).
All of this was in UEFI mode, I know I need ESP.
It was clean disk ealier, and I tried to delete FAT32 partition it after hitting error and create ESP using installer - none of this worked. Will try with new drakx stage2 installer.
Comment 11 Foss Fan 2015-07-11 13:49:26 CEST
It's working fine now.