RE: Automated Partitioning

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

 



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@xxxxxxxxxxxxxxxx]
> Sent: Thursday, March 15, 2001 11:23 AM
> To: kickstart-list@xxxxxxxxxx
> 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@xxxxxxxxxxxxxxxx]
> >> Sent: Thursday, March 15, 2001 10:55 AM
> >> To: kickstart-list@xxxxxxxxxx
> >> 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@xxxxxxxxxx
> >> https://listman.redhat.com/mailman/listinfo/kickstart-list
> >> 
> > 
> > 
> > 
> > _______________________________________________
> > Kickstart-list mailing list
> > Kickstart-list@xxxxxxxxxx
> > https://listman.redhat.com/mailman/listinfo/kickstart-list
> 
> 
> 
> 
> 
> _______________________________________________
> Kickstart-list mailing list
> Kickstart-list@xxxxxxxxxx
> https://listman.redhat.com/mailman/listinfo/kickstart-list
> 





[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