Re: Logical partitions with kickstart

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Try:

part /boot --size 96 --onprimary=1
part swap --size 127 --onprimary=2
part / --size 1024
part /usr --size 3072
part ...etc...etc.

This will probably lead to a disk with primary partitions 1 and 2 defined as you want, and the others will start on partition not-5. (not-5 is whatever the next set of logical partitions is, if you skip putting logicals starting in partition two--if only one partition is forced into a primary, then the logicals start with 5). I've never actually bothered with putting anything on primary partitions, except /boot on partition 1, because there is no benefit to doing so.

Are you sure you need to have swap on a primary? Note also that primary 3 will not show up as partition #3, because you've put 5 partitions on it...by definition, that's a logical and will be identified by logical numbers.

Beware, I haven't actually tried this, but if the docs are correct, the results will be close to what you've asked for.

Good luck!

Phil P Roets wrote:

Hello everyone,

It would me very kind if someone can show me how to solve the following
problem:

I would like the ks.cfg to create the following partitions :

primary 1 : /boot
primary 2 : swap
primary 3 : logical (rest of disk) containing
                  a set of 6 partitions / , /usr, /tmp, /var, /home,
/sybase

No combinations of parameters gets even close to creating this
structure.

Someone got an example to get me going?

Thank you

Phil Roets

phil@xxxxxxxxx



                                  --
                     Joe Cooper <joe@xxxxxxxxxxxxx>
                 Affordable Web Caching Proxy Appliances
                        http://www.swelltech.com





[Index of Archives]     [Red Hat General]     [CentOS Users]     [Fedora Users]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]

  Powered by Linux