Re: Specifying an exact partition scheme?

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

 



I've tried this, and this still has kickstart (anaconda/whatever) choosing the partitioning scheme, which I want to specify _exactly_.

Anyone?

Thanks


-- 
Jake Gold
Systems Administrator
DTI Services

On Wed, 3 Dec 2003 08:26:25 +0530
"Joshi, Vinay (MED, GEMS-IT)" <Vinay.Joshi@xxxxxxxxxxxx> wrote:

> clearpart --all --initlabel
> part / --fstype ext3 --size 3000 --ondisk sda --asprimary
> part swap --fstype swap --size 1024 --ondisk sda --asprimary
> part /usr --fstype ext3 --size 3000 --ondisk sda --asprimary
> part /var --fstype ext3 --size 100 --ondisk sda 
> part /local --fstype ext3 --size 3000 --ondisk sda 
> part /opt --fstype ext3 --size 3000 --ondisk sda 
> part /logs --fstype ext3 --size 900 --ondisk sda --grow
> 
> this is what is use, and create sda1 to sda8
> and it works....
> 
> 
> 
> -----Original Message-----
> From: kickstart-list-admin@xxxxxxxxxx
> [mailto:kickstart-list-admin@xxxxxxxxxx]On Behalf Of Jake Gold
> Sent: Wednesday, December 03, 2003 5:25 AM
> To: kickstart-list@xxxxxxxxxx
> Subject: Specifying an exact partition scheme?
> 
> 
> Hello all!
> 
> I am creating a %pre script to setup the partition schemes dynamically for various drive sizes.
> I want to be able to specify the exact partitions to be used for the mount points, I don't want kickstart to have its way :-)
> 
> For example:
> 
> clearpart --all --initlabel
> part swap --size 1000 --onpart sda1
> part / --fstype ext3 --size 1000 --onpart sda2
> part /var --fstype ext3 --size 5000 --onpart sda3
> part /usr --fstype ext3 --size 5000 --onpart sda5
> part /home --fstype ext3 --size 1 --grow --onpart sda6
> 
> 
> As far as I can tell, you cannot use the --onpart option except when the partitions already exist, kickstart will not create these for you.
> And because I am clearpart'ing the partitions anyway there is no way the partitions will exist, nor would I want to set them up ahead of time.
> 
> Short of some ugly expect-style hacking of fdisk is there any way to do what I want?
> 
> Thanks in advance!
> 
> 
> -- 
> Jake Gold
> Systems Administrator
> DTI Services
> 
> 
> _______________________________________________
> Kickstart-list mailing list
> Kickstart-list@xxxxxxxxxx
> https://www.redhat.com/mailman/listinfo/kickstart-list
> 
> 
> _______________________________________________
> Kickstart-list mailing list
> Kickstart-list@xxxxxxxxxx
> https://www.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