Bug 4159

Summary: Endless loop in installer in case of corrupted partition
Product: Mageia Reporter: Dan Fandrich <dan>
Component: InstallerAssignee: Pascal Terjan <pterjan>
Status: RESOLVED WONTFIX QA Contact:
Severity: normal    
Priority: Normal CC: marja11
Version: Cauldron   
Target Milestone: ---   
Hardware: i586   
OS: Linux   
Whiteboard: (MGA2)
Source RPM: drakx-installer-stage2 CVE:
Status comment:
Bug Depends on: 4135    
Bug Blocks:    
Attachments: ddebug.log after pressing Ok 10 times

Description Dan Fandrich 2012-01-16 21:28:37 CET
When attempting to upgrade an existing Mageia installation on a dmraid drive, the Mageia-2-alpha3-i586-DVD detected a "corrupted partition" and offered to erase all data on the drive in order to continue. After selecting "No" the installation continued for a screen or two, then ended up with an error dialog "Partitioning: I cannot find any room for installing"  The only choice is Ok and selecting that simply causes the dialog to show again, making it impossible to continue installation.

I would expect at this point instead to be dropped into the disk partitioning utility and given the ability to repartition the drive manually.
Comment 1 Manuel Hiebel 2012-01-16 22:32:27 CET
Same things like bugs 4135

Depends on: (none) => 4135

Comment 2 Manuel Hiebel 2012-01-25 17:59:40 CET
Dan, can you try the new boot.iso for make an netinstall ? (or you can wait the beta 1 for the next month)

Keywords: (none) => NEEDINFO
Source RPM: (none) => drakx-installer-stage2

Comment 3 Marja Van Waes 2012-02-11 15:44:32 CET
bug 4135 got fixed, that is why Manuel asked to try the new boot.iso

CC: (none) => marja11

Comment 4 Marja Van Waes 2012-02-27 06:49:41 CET
@ Dan

Is this bug still valid for Mga2b1?
Comment 5 Dan Fandrich 2012-02-27 23:54:25 CET
Unfortunately, the machine I had this problem on is going to be inaccessible for at least another month, so I won't be able to test it until at least then.
Comment 6 Marja Van Waes 2012-02-28 16:36:40 CET
(In reply to comment #5)
> Unfortunately, the machine I had this problem on is going to be inaccessible
> for at least another month, so I won't be able to test it until at least then.

Thanks for the feedback. I'll close this bug as OLD for now, please reopen if the bug is still there when you test again with Mga2b2 or Mga2rc

While testing, please put a USB stick in your computer, switch to console 2 (by pressing 'Ctrl+Alt+F2') during installation and type: 

bug

then press Enter. It will put report.bug on the floppy/key. Please attach it here if the bug is still valid.

You can return to the installation screens by pressing Ctrl+Alt+F7

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

Comment 7 Dan Fandrich 2012-05-31 01:26:34 CEST
I've confirmed this still happens on the Mageia 2 install DVD (see bug #6180 for the underlying corruption issue). The end result is still an endless "Ok" loop.

Status: RESOLVED => REOPENED
Version: Cauldron => 2
Resolution: OLD => (none)

Comment 8 Dan Fandrich 2012-05-31 01:38:05 CEST
Created attachment 2407 [details]
ddebug.log after pressing Ok 10 times
Comment 9 Marja Van Waes 2012-06-10 18:31:11 CEST
(MGA2) on the whiteboard to show that this bug was last seen in Mageia 2 final

Assigning to maintainer

Keywords: NEEDINFO => (none)
Version: 2 => Cauldron
Assignee: bugsquad => pterjan
Whiteboard: (none) => (MGA2)

Comment 10 Pascal Terjan 2012-06-10 19:57:10 CEST
If you refuse to delete invalid partitions, the only solution would probably to shutdown instead of looking at them again.
Comment 11 Marja Van Waes 2012-06-10 20:31:12 CEST
(In reply to comment #10)
> If you refuse to delete invalid partitions, the only solution would probably to
> shutdown instead of looking at them again.


@pterjan

I understood there are no invalid or corrupt partition, but there is a detection failure (see bug 6180)

Did I misunderstand?
Comment 12 Dan Fandrich 2012-06-10 20:43:52 CEST
You are correct--there are no invalid or corrupt partitions, but that is really a separate issue. This bug has to do with the fact that in the face of bona fide corrupt partitions, it's impossible for the user to do anything about it. I would expect the Ok option of this dialog to drop the user into the partitioning utility so he can deal with the corruption.
Comment 13 Pascal Terjan 2012-06-10 23:34:01 CEST
This message is from the partitioning utility, and it means it can not make sense of the partition table so can not display anything, and can not work on it except by destroying it completely.
It can survive minor problems, like overlapping partitions, but not a meaningless partition table (like if the start of partition is after its end, etc). In that case it will refuse to work on it.
Comment 14 Marja Van Waes 2012-06-10 23:54:25 CEST
(In reply to comment #13)
> This message is from the partitioning utility, and it means it can not make
> sense of the partition table so can not display anything, and can not work on
> it except by destroying it completely.
> It can survive minor problems, like overlapping partitions, but not a
> meaningless partition table (like if the start of partition is after its end,
> etc). In that case it will refuse to work on it.

In other words: this can't be fixed

Closing as wontfix, then.

Status: REOPENED => RESOLVED
Resolution: (none) => WONTFIX