Bug 134594

Summary: wrong partitioning suggestion on Pegasos PPC
Product: [openSUSE] SUSE Linux 10.1 Reporter: peter czanik <peter>
Component: InstallationAssignee: Thomas Fehr <fehr>
Status: RESOLVED INVALID QA Contact: Klaus Kämpf <kkaempf>
Severity: Minor    
Priority: P5 - None    
Version: Alpha 3   
Target Milestone: ---   
Hardware: PowerPC   
OS: Other   
Whiteboard:
Found By: Other Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---
Attachments: YaST2 logs

Description peter czanik 2005-11-20 20:10:33 UTC
The partitioning suggestion on Pegasos PPC is wrong. I have the following partition table:
linux:~ # parted /dev/hda print
Disk geometry for /dev/hda: 0kB - 40GB
Disk label type: amiga
Number  Start   End     Size    File system  Name                  Flags
1       8225kB  1078MB  1069MB  ext2         boot
2       1078MB  2147MB  1069MB  linux-swap   swap
3       2147MB  12GB    9656MB  reiserfs     debian
4       12GB    21GB    9656MB  ext3         ubuntu
5       21GB    31GB    9656MB  ext3         gentoo
Information: Don't forget to update /etc/fstab, if necessary.

and

linux:~ # parted /dev/hdb print
Disk geometry for /dev/hdb: 0kB - 80GB
Disk label type: amiga
Number  Start   End     Size    File system  Name                  Flags
1       516kB   1024MB  1023MB  linux-swap   dhx
2       1025MB  20GB    19GB    ext3         dhx
3       20GB    80GB    60GB    ext3         dhx
Information: Don't forget to update /etc/fstab, if necessary.

I was suggested to format /dev/hdb2 for swap and use /dev/hda2 as swap, but there was no suggestion for a / partition at all.
YaST2 logs are attached.
Comment 1 peter czanik 2005-11-20 20:11:04 UTC
Created attachment 57814 [details]
YaST2 logs
Comment 2 Arvin Schnell 2005-11-22 10:03:19 UTC
The partition table was set to readonly since it's type is amiga and
thus not supported by libstorage.  Maybe the readonly flag causes the
partition proposal to fail.  We will look at this later.
Comment 3 Thomas Fehr 2006-01-17 16:35:06 UTC
Proposal for disks we cannot partition is unsupported.
Comment 4 peter czanik 2006-01-17 16:49:10 UTC
Then please don't make a proposal at all. A wrong proposal is worst than no proposal at all.
Comment 5 Thomas Fehr 2006-01-17 16:52:14 UTC
There will be no Pegasos specific changes as long as this is not a supported
architecture.
Comment 6 peter czanik 2006-01-17 16:59:05 UTC
It's nothing Pegasos specific. If "partition table != DOS" then "we don't suggest anything". A direct link to the expert partitioner would be an extra bonus, if YaST can not make a correct proposal, but at least there should not be a wrong proposal.
Comment 7 Thomas Fehr 2006-01-17 17:09:25 UTC
A partitioning proposal has nothing to do with the partition table type.
What you want is a modified proposal (or no proposal at all) for the 
Pegasos PPC. This can only be done if Pegasos is a supported architecture. 
So far hardware detection does not even tell me the fact that a certain 
machine is a Pegasos. So even if I were willing to make expecptions I do
not have the necessary information.

E.g. on Itaniums there is always a GPT partition table since the itanium bootloader EFI only supports GPT. Your above suggestion would break poposals
on Itanium machines.