KS won't partition drives

Blair Lowe kickstart at zedemail.ca
Tue Aug 17 18:41:49 UTC 2004


Hi,

Yes we need one too.

I tried "fdisk /dev/hda" but that resulted in "unable to open /dev/hda".

Then I tried "fdisk hda" and of course that did not work either: infact
there are no hd* devices during kickstart pre.

I tried parted, but it is more complex than fdisk and I am obviously not
very complex;)

Blair.

On Wed, 2004-08-11 at 07:32, Scott Weston wrote:
> do you have an example script using partd?
> 
> 
> 
> -----Original Message-----
> From: Tom Diehl [mailto:tdiehl at rogueind.com]
> Sent: Wednesday, August 11, 2004 5:51 AM
> To: Discussion list about Kickstart
> Subject: Re: KS won't partition drives
> 
> 
> On Sat, 10 Apr 2004, johnpaul wrote:
> 
> > hi
> > 
> > i tried the same thing for creating four partition, but in the kickstart
> > installer code it has written such a way to handle only for the primary
> > partitions
> > 
> > i have not looked in the source code
> > if you find that please update me to
> > 
> > most probably it will be taken care by the loader.c of anaconda
> 
> Parted is your friend. run it in %pre to build whatever you like.
> 
> > 
> > John
> > ----- Original Message -----
> > From: "Scott Weston" <sweston at forbin.com>
> > To: "'Discussion list about Kickstart'" <kickstart-list at redhat.com>
> > Sent: Tuesday, August 10, 2004 8:25 PM
> > Subject: RE: KS won't partition drives
> > 
> > 
> > > Thanks. So I guess what we have to use is /boot / and swap then huh? Is
> > > there any other way to work around this?
> > >
> > >
> > >
> > > -----Original Message-----
> > > From: johnpaul [mailto:johnpaulmp at amiindia.co.in]
> > > Sent: Saturday, April 10, 2004 9:55 AM
> > > To: Discussion list about Kickstart
> > > Subject: Re: KS won't partition drives
> > >
> > >
> > > hi
> > >
> > > The problem here is
> > > you cannot ask the kernel to make more partitions than the first three
> > > primary partitions
> > > if the partitioning no is less than or equal to 3 then it will be done
> > > automatically
> > >
> > > also
> > > i have a slight different opinion for what james has written
> > > actually we can do software raid for swap also
> > >
> > > regards
> > > John
> > >
> > >
> > > ----- Original Message -----
> > > From: "Scott Weston" <sweston at forbin.com>
> > > To: <kickstart-list at redhat.com>
> > > Sent: Tuesday, August 10, 2004 7:32 PM
> > > Subject: KS won't partition drives
> > >
> > >
> > > > Can you see why when trying to do the ks install that it doesn't
> > partition
> > > > the drives accordingly? It wants to do it the normal way and asks me
> for
> > > > server/workstation/custom setup. Did I miss something here?
> > > >
> > > > I boot from cd using ks.cfg
> > > >
> > > >
> > > > #Generated by Kickstart Configurator
> > > > #platform=x86, AMD64, or Intel EM64T
> > > > #System language
> > > > lang en_US
> > > > #Language modules to install
> > > > langsupport en_US
> > > > #System keyboard
> > > > keyboard us
> > > > #System mouse
> > > > mouse genericwheelps/2
> > > > #Sytem timezone
> > > > timezone America/Chicago
> > > > #Root password
> > > > rootpw --iscrypted
> > > > #Reboot after installation
> > > > reboot
> > > > #Install OS instead of upgrade
> > > > install
> > > > #Use CDROM installation media
> > > > cdrom
> > > > #System bootloader configuration
> > > > bootloader --location=mbr
> > > > #Clear the Master Boot Record
> > > > zerombr yes
> > > > #Partition clearing information
> > > > clearpart --all --initlabel
> > > > #Disk partitioning information
> > > > part raid.01 --size 100 --ondisk hda
> > > > part raid.02 --size 1000 --ondisk hda
> > > > part raid.03 --size 3000 --ondisk hda
> > > > part raid.04 --size 10000 --ondisk hda
> > > > part raid.05 --size 6000 --ondisk hda
> > > > part raid.06 --size 1 --grow --ondisk hda
> > > > part raid.07 --size 100 --ondisk hdc
> > > > part raid.08 --size 1000 --ondisk hdc
> > > > part raid.09 --size 3000 --ondisk hdc
> > > > part raid.10 --size 10000 --ondisk hdc
> > > > part raid.11 --size 6000 --ondisk hdc
> > > > part raid.12 --size 1 --grow --ondisk hdc
> > > > raid /boot --level=1 --device=md0 --fstype ext3 raid.01 raid.07
> > > > raid swap --level=1 --device=md1 --fstype swap raid.02 raid.08
> > > > raid / --level=1 --device=md2 --fstype ext3 raid.03 raid.09
> > > > raid /var --level=1 --device=md3 --fstype ext3 raid.04 raid.10
> > > > raid /usr --level=1 --device=md4 --fstype ext3 raid.05 raid.11
> > > > raid /home --level=1 --device=md5 --fstype ext3 raid.06 raid.12
> > > > #System authorization infomation
> > > > auth --useshadow --enablemd5
> > > > #Network information
> > > > network --bootproto=dhcp --device=eth0
> > > > #Firewall configuration
> > > > firewall --disabled
> > > > #Do not configure XWindows
> > > > skipx
> > > > #Package install information
> > > > %packages --resolvedeps
> > > > @ Server Configuration Tools
> > > > @ Administration Tools
> > > > @ System Tools
> > > >
> > > >
> > > > _______________________________________________
> > > > Kickstart-list mailing list
> > > > Kickstart-list at redhat.com
> > > > https://www.redhat.com/mailman/listinfo/kickstart-list
> > >
> > >
> > > _______________________________________________
> > > Kickstart-list mailing list
> > > Kickstart-list at redhat.com
> > > https://www.redhat.com/mailman/listinfo/kickstart-list
> > >
> > >
> > > _______________________________________________
> > > Kickstart-list mailing list
> > > Kickstart-list at redhat.com
> > > https://www.redhat.com/mailman/listinfo/kickstart-list
> > 
> > 
> > _______________________________________________
> > Kickstart-list mailing list
> > Kickstart-list at redhat.com
> > https://www.redhat.com/mailman/listinfo/kickstart-list
> > 
> 
> 
> _______________________________________________
> Kickstart-list mailing list
> Kickstart-list at redhat.com
> https://www.redhat.com/mailman/listinfo/kickstart-list
> 
> 
> _______________________________________________
> Kickstart-list mailing list
> Kickstart-list at redhat.com
> https://www.redhat.com/mailman/listinfo/kickstart-list





More information about the Kickstart-list mailing list