Bug 119179

Summary: Problems with creating partitons in Repair Mode
Product: [openSUSE] SUSE LINUX 10.0 Reporter: Matthias Bscheid <bscheid>
Component: YaST2Assignee: Thomas Fehr <fehr>
Status: RESOLVED FIXED QA Contact: Klaus Kämpf <kkaempf>
Severity: Normal    
Priority: P5 - None CC: jens-novell
Version: Beta 4   
Target Milestone: SUSE Linux 10.1   
Hardware: i686   
OS: All   
Whiteboard:
Found By: Other Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---
Attachments: y2log

Description Matthias Bscheid 2005-09-28 08:50:08 UTC
I've found a problem inside the Repair part of the Installation System in YaST:

Boot Installation from CD 1 (I used SuSE Linux 10.0 b4). Select Other > Repair
installed System
Choose Expert tools > Start Partitioning Tool

Make some changes eg. change a Partition size.
When accepting your changes the following message appears:

ERROR
YaST2 needs a root partition to install. Assign the root mountpoing "/" to a
partiton.

(There is no possibility to Assign mountpoints in the Repair partitioning tool)
Is this worth for a bug report?
Comment 1 Martin Lasarsch 2005-09-28 10:28:22 UTC
same with RC4, will attach y2log  
Comment 2 Martin Lasarsch 2005-09-28 10:29:41 UTC
Created attachment 51039 [details]
y2log
Comment 3 Thomas Fehr 2005-09-29 08:55:41 UTC
Jiri Suchomel is maintainer of repair tool.

Jiri maybe the failure of repair tool has something to do with new 
yast2-storage, of you need something changed just tell me.
Comment 4 Jiří Suchomel 2005-09-29 09:20:49 UTC
Thomas, the error message comes from partitioner; yast2-repair doesn't do the
partitioning on its own, it runs inst_disk and inst_prepdisk.


Sidenote for Martin: when attaching the logfiles, attach whole YaST directory,
not just last y2log file - see 
http://www.opensuse.org/Bug_Reporting_FAQ#YaST
Comment 5 Thomas Fehr 2005-09-29 10:00:50 UTC
So far yast2 custom partitioner does not allow levaing the module unless
there is a partition assigned to mount point "/". 

Should this check be disabled in repair mode?
Comment 6 Thomas Fehr 2005-09-29 10:17:12 UTC
I think I found it, so far I considered Stage::initial() returning true as
valid indication for being in mode for normal installation. 

I changed this to "Stage::initial() && ! Mode::repair()" and so the checks 
needed only during installation should be disabled again.
Comment 7 Thomas Fehr 2005-10-20 09:34:41 UTC
*** Bug 129665 has been marked as a duplicate of this bug. ***