partition customisation for kickstart file

2 small queries

                                         
## Partion Declaration

part /boot --fstype=ext4 --size=256
part pv.1 --size=25600
part pv.2 --size=15360   ( i want this pv should grep all size left apart from 25600 of pv1)

in above code i want to configure pv in such a way so that 1 pv take fix size and 2 pv took rest of the disk size for ex.

disk size = 100 gb

pv1 i define 20 the pv2 automatically select 80 gb because i want to make it feasible with diff size of disks.

Second for now my kickstart menu is design like i need to select and enter - i want it like a menu but instead of slecting using cursor i want to type and enter to start.

for ex.

Kickstart Menu
1. standard
2. high

type standard or high to start the installation
standard enter


thanks
The RockAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

joolsSenior Systems AdministratorCommented:
Take a look at the grow examples in the docs here https://www.centos.org/docs/5/html/Installation_Guide-en-US/s1-kickstart2-options.html#s2-kickstart2-options-part-examples

For your example youd do something like

part /boot --fstype=ext4 --size=256
part pv.1 --size=25600
part pv.2 --size=15360  --grow

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
The RockAuthor Commented:
Thank you so much for help
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Linux

From novice to tech pro — start learning today.