Bug 22003

Summary: installer fails weirdly when partitions with mount points are renumbered due to insertion of a new partition between existing partitions
Product: Mageia Reporter: Xavier Matz <c934w-xavm493b>
Component: InstallerAssignee: Mageia tools maintainers <mageiatools>
Status: RESOLVED OLD QA Contact:
Severity: normal    
Priority: Normal CC: marja11
Version: CauldronKeywords: NEEDINFO
Target Milestone: ---   
Hardware: All   
OS: Linux   
Whiteboard: (MGA6)
Source RPM: drakx-installer-stage2 CVE:
Status comment:

Description Xavier Matz 2017-11-10 05:02:57 CET
Description of problem:
Just had a weird failure of the installer earlier today on a system where I had to resize a partition to make place for a new partition. That new partition was thus inserted between existing partitions, which (as the installer notified me) led to a renumbering of partitions. But then the installer gave a weird error about the partition numbers (unfortunately didn't have a camera and was in a hurry then) and re-started the partitioning tool a second time on top of the already running instance of it, so it was visible twice on top of each other. 

I suspect that it was due to the fact that the installer tried to use the mount points that were defined and probably remembered by partition number without taking into account the renumbering it had made itself.

And just in case you'd wonder how I even came to find myself in that situation: that's because I had left the old mga5 system on its partition to install mga6 in an lvm and therefore needed a /boot partition. I had happily defined my mount points and thought I could use a pre-existing vfat data partition of freedos for /boot but then the installer told me that I couldn't use it and needed a native linux filesystem for /boot (i guess for making symlinks) so I had to resize that partition smaller and make a new partition for /boot which led to the renumbering. 

Steps to Reproduce (guessed):
1. define mount points in the partition management tool of the installer
2. resize a partition smaller and insert a new partition in the space freed by that operation, at a place on the disk that will change the partition numbers of  some higher numbered partition that had already a mount point defined
3. failure and installer weirdly starts a second instance of the partitioning tool on top of the old one
Comment 1 Marja Van Waes 2017-11-10 12:14:14 CET
Thanks for your report, Xavier.

Please reproduce this and then:

* switch to tty2 with Ctrl+Alt+F2

* insert a USB key

* type:  

         bug

* attach report.bug that is written to the USB key, to this bug report.

Thanks!


Setting version to Cauldron, because we can't fix bugs in already released isos. Adding ""(MGA6)" to the Whiteboard to indicate that this issue last happened with a Mga6 iso.

Version: 6 => Cauldron
Assignee: bugsquad => mageiatools
CC: (none) => marja11
Keywords: (none) => NEEDINFO
Source RPM: (none) => drakx-installer-stage2
Whiteboard: (none) => (MGA6)

Comment 2 Marja Van Waes 2021-07-03 15:02:00 CEST
Closging as OLD, because it is years later and the requested information wasn't supplied.


@ anyone hitting this issue while installing Mageia 8 or later from a non-Live iso, please attach the information requested in comment 1 and reopen this report.

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