Bug 214284

Summary: incorrect partitioning info
Product: [openSUSE] openSUSE 10.2 Reporter: edwin schepers <yez>
Component: YaST2Assignee: Thomas Fehr <fehr>
Status: RESOLVED FIXED QA Contact: Jiri Srain <jsrain>
Severity: Major    
Priority: P5 - None    
Version: Alpha 5   
Target Milestone: Beta 1   
Hardware: 32bit   
OS: SUSE Other   
Whiteboard:
Found By: Beta-Customer Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---
Attachments: screenshot, no custom partitioning
Expert partitioner
y2logs

Description edwin schepers 2006-10-22 20:53:14 UTC
Hello,
Trying to install opensuse, the installation offers to install on /dev/hda5, but I want to install on /dev/hda6. So I choose "Create Custom Partition Setup". I choose 1.IDE (first HD) and after that I check the checkbox for /dev/hda6. This screen also shows me /dev/hda10 being "Linux swap", which is correct. When I now click Next, The "Installation Settings"-screen tells me it wants to delete /dev/hda6 and to "create root partition /dev/hda10 (4.8 GB) with reiserfs". My /dev/hda10 partition is 290Mb. This doesn't look right to me.
Then, I choose to change again, but now I select "Custom Partitioning (for experts". Now, /dev/hda9 has become my swap partition and /dev/hda10 has become a 4.8Gb partition.
My real partitioning is the following :
[root@brink14 ~]# fdisk -l /dev/hda

Disk /dev/hda: 40.0 GB, 40020664320 bytes
255 heads, 63 sectors/track, 4865 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

   Device Boot      Start         End      Blocks   Id  System
/dev/hda1   *           1         638     5124703+   7  HPFS/NTFS
/dev/hda2             639        4865    33953377+   5  Extended
/dev/hda5   *         639        1276     5124703+  83  Linux
/dev/hda6            1277        1914     5124703+  83  Linux
/dev/hda7            1915        2552     5124703+  83  Linux
/dev/hda8            2553        3827    10241406   83  Linux
/dev/hda9            3828        4828     8040501    7  HPFS/NTFS
/dev/hda10           4829        4865      297171   82  Linux swap / Solaris

It looks like the error is that a 4.8Gb Linux partition is shifted to the end of the list.
I could attach some screenshots, but I can't find how to attach files.

Regards,
Edwin
Comment 1 edwin schepers 2006-10-22 20:55:30 UTC
Created attachment 102233 [details]
screenshot, no custom partitioning
Comment 2 edwin schepers 2006-10-22 20:57:04 UTC
Created attachment 102234 [details]
Expert partitioner
Comment 3 Andreas Jaeger 2006-10-23 11:55:26 UTC
We need the YaST log files as documented in:

http://en.opensuse.org/Bugs/YaST

Please supply them as well.
Comment 4 edwin schepers 2006-10-23 19:36:26 UTC
Created attachment 102351 [details]
y2logs

Hi,
Here it is. Unfortunately I can't choose content type "tar.gz archive (app/x-gunzip)" from the dropdown, so I chose auto-detect.
Comment 5 Lukas Ocilka 2006-10-24 07:31:01 UTC
Thomas, this looks a bit strange:

first screenshot | second screenshot
/dev/hda8 4.8 GB matches /dev/hda7 9.7 GB
/dev/hda9 7.6 GB matches /dev/hda8 7.6 GB (not mounted)
/dev/hda10 290.2 MB matches /dev/hda9 290.2 MB (mounted as /windows/D)

Edwin, next time, it should be enough to press [Print Screen] key and save the PNG image by YaST. You don't need to use your camera. However, thanks for screenshots and logs.
Comment 6 Thomas Fehr 2006-10-24 10:41:00 UTC
The behavior is not really wrong but pretty ugly.
YaST2 decides to remove the selected partition hda6, this implicitely
renames former hda7 to hda6, hda8 to hda7, hda9 to hda8, hda10 to hda9.
Newly created partition is then hda10.
If there were more than one partition selected there is no way around
deleting the selected partitions and recreating new ones.

For exactly one selected partition there is special code that should 
avoid removing and re-creating the partition. This special code was not
executed. I fixed this now in SVN head fix will be on beta#2 maybe even in
beta#1.
Comment 7 Thomas Fehr 2006-10-24 11:45:30 UTC
Fix will be in beta#1