Bug 1204

Summary: Kickstart unable to make to swap partition
Product: [Retired] Red Hat Linux Reporter: nickg <nickg>
Component: installerAssignee: David Lawrence <dkl>
Status: CLOSED CURRENTRELEASE QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: 5.2CC: sfalvey
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 1999-03-11 23:27:10 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description nickg 1999-02-16 16:55:52 UTC
Hi,

I'm not sure where to put this since there is no
specific Kickstart section (I could find anyways).

There is no way of making two linux swap paritions.
We are making an unusual disk configuration as such:

Primary /     256M
Primary swap  128M
Primary swap  128M
Extended
 many other paritions

Under kickstart, it makes one primary parition,
and then one big extended parition.  My understanding
is that Linux can't use more than 128M of swap space
per parition, (true?) so we wanted to double it up as
such.  That may or may not be true, but the bug is
Kickstart doesn't allow this configuration.

Ideally, the "part" kickstart command should take
another paramter "--primary" as a hint to make a
primary configuration.

thanks,

--nickg

Comment 1 David Lawrence 1999-03-11 23:27:59 UTC
This is not a bug, the current libfdisk partitioning algorithm that is
used in the install process does not support more than 1 primary
partition. You will need to use fdisk by hand or change the swaps to
extended logical partitions.

Comment 2 Jeff Johnson 1999-06-07 11:38:59 UTC
*** Bug 3311 has been marked as a duplicate of this bug. ***

When laying out a disk with the following lines in the
ks.cfg

clearpart --all
part / --size 1024 --grow
part swap --size 127
part swap --size 127

kickstart fails to create the second swap partition.


------- Additional Comments From sfalvey.com  06/07/99 07:07 -------
Just noticed bud id 1204. It should at least complain telling you it
is unable to perform the partitioning requested.

Comment 3 Pug Bainter 2000-03-01 16:04:59 UTC
*** Bug 9893 has been marked as a duplicate of this bug. ***