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

RE: Automated Partitioning



That is a good question.  In my ks.cfg file, after language, network and
keyboard, I have the partition info:

# partitions
zerombr yes
#clearpart --all
clearpart --linux
part swap --size 512
part /boot --size 512
part /home --size 3000
part /multimedia --size 5000
part / --size 5000 --grow

I believe that you could either put variables in for the size/partitions, or
use if/then/else, looking for workstation/server and using the different
partitioning schemes.

Does this help?

Forrest



> -----Original Message-----
> From: Erik Williamson [mailto:erik cpsc ucalgary ca]
> Sent: Thursday, March 15, 2001 11:23 AM
> To: kickstart-list redhat com
> Subject: Re: Automated Partitioning
> 
> 
> That would be totally ideal - how do I go about doing this?
> 
> Thanks,
> Erik.
> 
> 
> Taylor, ForrestX wrote:
> 
> > Why not just pass them to the partitioning portion of the install?
> > 
> > 
> > 
> >> -----Original Message-----
> >> From: Erik Williamson [mailto:erik cpsc ucalgary ca]
> >> Sent: Thursday, March 15, 2001 10:55 AM
> >> To: kickstart-list redhat com
> >> Subject: Automated Partitioning
> >> 
> >> 
> >> Hi All,
> >> 
> >> I've written a script that gets executed in %pre which 
> >> figures out the 
> >> size of the first hard disk (just hda, for now), checks 
> the amount of 
> >> physical memory and then generates a corresponding partition 
> >> table.  It 
> >> takes a parameter which defines wether this is a workstation 
> >> build or a 
> >> server build.
> >> 
> >> Anyways, what I'm wondering is if anyone knows how I can 
> inject these 
> >> partition sizes into the installer. 
> >> 
> >> I've considered using sfdisk in the %pre environment (& not 
> >> specifying 
> >> the partitioning in the kickstart config), but I'm also 
> >> wondering where 
> >> in the instimage code is the section that takes care of the 
> >> partitioning, or if theres a config file that gets used 
> which I could 
> >> modify.
> >> 
> >> Hoping this makes sense,
> >> Erik.
> >> 
> >> 
> >> 
> >> _______________________________________________
> >> Kickstart-list mailing list
> >> Kickstart-list redhat com
> >> https://listman.redhat.com/mailman/listinfo/kickstart-list
> >> 
> > 
> > 
> > 
> > _______________________________________________
> > Kickstart-list mailing list
> > Kickstart-list redhat com
> > https://listman.redhat.com/mailman/listinfo/kickstart-list
> 
> 
> 
> 
> 
> _______________________________________________
> Kickstart-list mailing list
> Kickstart-list redhat com
> https://listman.redhat.com/mailman/listinfo/kickstart-list
> 





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