From jos at xos.nl Sat May 4 17:52:45 2013 From: jos at xos.nl (Jos Vos) Date: Sat, 04 May 2013 19:52:45 +0200 Subject: Kickstart install asks which drives to use Message-ID: <201305041752.r44HqkRH023597@jasmine.xos.nl> Hi, When kickstarting CentOS 6.4 on a system with 2 disks, the installer asks for selecting the disks to use. After adding both disks to this list, the rest of the installation works fine. My question: how can I avoid this question? These are the relevant parts of my kickstart file (I have partitioned both disks before, so I commented out zerombr and clearpart): #zerombr #clearpart --all --initlabel part /boot --onpart=sda1 --fstype=ext4 part swap --onpart=sda5 --fstype=swap part / --onpart=sda6 --fstype=ext4 part /var --onpart=sdb1 --fstype=ext4 part /home --onpart=sda7 --fstype=ext4 part /tmp --onpart=sda9 --fstype=ext4 As said, the system installs fine, except for that one interaction. Thanks, -- -- Jos Vos -- X/OS Experts in Open Systems BV | Phone: +31 20 6938364 -- Amsterdam, The Netherlands | Fax: +31 20 6948204 From parwar_shah at hotmail.com Sat May 4 23:19:38 2013 From: parwar_shah at hotmail.com (parwar shah ) Date: Sat, 4 May 2013 23:19:38 +0000 Subject: Auto Kickstart Message-ID: Hello friends, I am making an automated system install, I already make the whole kickstart file which can auto install the CentOS in a barebone Pcs network. My question is tht how come it can connect to dhcp and itself work as a dhcp server to assign. Ips to the other PCs of the network. Any help would be really appreciated. Regards Shah Sent from my BlackBerry? wireless device From bernd.nies at gmail.com Tue May 14 13:38:25 2013 From: bernd.nies at gmail.com (Bernd Nies) Date: Tue, 14 May 2013 15:38:25 +0200 Subject: Initializing disk with kickstart and parted Message-ID: Hi, We're using the following kickstart pre script to create partitions in the order we want on VMware ESX. By default the swap partition is put as the last partition which makes it difficult to resize the root partition on ESX server. But now kickstart always complains that drives must be initialized. Can't use the clearpart --initlabel in that case because this will destroy the partition table. Any ideas how to do this with parted or tell kickstart to do the initlable with out deling partition table? Thanks in advance. Regards, Bernd %pre PATH="/bin:/sbin:/usr/bin:/usr/sbin" set $(list-harddrives) let numd=$#/2 disk0=$1 case $(dmidecode -s system-product-name) in VMware*) # Overwrite Master Boot Record dd if=/dev/zero of=/dev/${disk0} bs=512 count=1 # Partition must start at sector that is multiple of 8. # 8 * 1 Sector (512 Bytes) = 4096 Bytes (Netapp Block Size) parted -s /dev/${disk0} mklabel msdos parted -s /dev/${disk0} mkpart primary ext4 2048s 1023999s parted -s /dev/${disk0} mkpart primary ext4 1024000s 17801215s parted -s /dev/${disk0} mkpart primary ext4 17801216s 100% # Don't use LVM. It's not supported by gparted. # Don't put swap as last partition. Makes resizing vmdk easier. cat >/tmp/partitions.ks <<-==EOF== bootloader --location=mbr partition /boot --onpart=${disk0}1 --fstype=ext4 partition swap --onpart=${disk0}2 --fstype=swap partition / --onpart=${disk0}3 --fstype=ext4 ==EOF== ;; *) # Office Workstations and rest cat >/tmp/partitions.ks <<-==EOF== zerombr ignoredisk --only-use=${disk0} bootloader --location=mbr clearpart --all --drives=${disk0} --initlabel partition /boot/efi --ondisk=${disk0} --asprimary --fstype=vfat --size=200 partition /boot --ondisk=${disk0} --asprimary --fstype=ext4 --size=500 partition swap --ondisk=${disk0} --asprimary --fstype=swap --recommended partition / --ondisk=${disk0} --asprimary --fstype=ext4 --size=4096 --grow ==EOF== ;; esac %end -------------- next part -------------- An HTML attachment was scrubbed... URL: From rangsan.au at gmail.com Wed May 15 12:16:24 2013 From: rangsan.au at gmail.com (Rangsan A) Date: Wed, 15 May 2013 19:16:24 +0700 Subject: Kickstart-list Digest, Vol 110, Issue 2 In-Reply-To: References: Message-ID: maybe you can try clearpart before create partition table On Tue, May 14, 2013 at 11:00 PM, wrote: > Send Kickstart-list mailing list submissions to > kickstart-list at redhat.com > > To subscribe or unsubscribe via the World Wide Web, visit > https://www.redhat.com/mailman/listinfo/kickstart-list > or, via email, send a message with subject or body 'help' to > kickstart-list-request at redhat.com > > You can reach the person managing the list at > kickstart-list-owner at redhat.com > > When replying, please edit your Subject line so it is more specific > than "Re: Contents of Kickstart-list digest..." > > Today's Topics: > > 1. Initializing disk with kickstart and parted (Bernd Nies) > > > ---------- Forwarded message ---------- > From: Bernd Nies > To: kickstart-list at redhat.com > Cc: > Date: Tue, 14 May 2013 15:38:25 +0200 > Subject: Initializing disk with kickstart and parted > Hi, > > We're using the following kickstart pre script to create partitions in the > order we want on VMware ESX. By default the swap partition is put as the > last partition which makes it difficult to resize the root partition on ESX > server. But now kickstart always complains that drives must be initialized. > Can't use the clearpart --initlabel in that case because this will destroy > the partition table. > > Any ideas how to do this with parted or tell kickstart to do the initlable > with out deling partition table? > > Thanks in advance. > > Regards, > Bernd > > > > > %pre > PATH="/bin:/sbin:/usr/bin:/usr/sbin" > set $(list-harddrives) > let numd=$#/2 > disk0=$1 > > case $(dmidecode -s system-product-name) in > > VMware*) > # Overwrite Master Boot Record > dd if=/dev/zero of=/dev/${disk0} bs=512 count=1 > > # Partition must start at sector that is multiple of 8. > # 8 * 1 Sector (512 Bytes) = 4096 Bytes (Netapp Block Size) > parted -s /dev/${disk0} mklabel msdos > parted -s /dev/${disk0} mkpart primary ext4 2048s 1023999s > parted -s /dev/${disk0} mkpart primary ext4 1024000s 17801215s > parted -s /dev/${disk0} mkpart primary ext4 17801216s 100% > > # Don't use LVM. It's not supported by gparted. > # Don't put swap as last partition. Makes resizing vmdk easier. > cat >/tmp/partitions.ks <<-==EOF== > bootloader --location=mbr > partition /boot --onpart=${disk0}1 --fstype=ext4 > partition swap --onpart=${disk0}2 --fstype=swap > partition / --onpart=${disk0}3 --fstype=ext4 > ==EOF== > ;; > > *) > # Office Workstations and rest > cat >/tmp/partitions.ks <<-==EOF== > zerombr > ignoredisk --only-use=${disk0} > bootloader --location=mbr > clearpart --all --drives=${disk0} --initlabel > partition /boot/efi --ondisk=${disk0} --asprimary --fstype=vfat > --size=200 > partition /boot --ondisk=${disk0} --asprimary --fstype=ext4 > --size=500 > partition swap --ondisk=${disk0} --asprimary --fstype=swap > --recommended > partition / --ondisk=${disk0} --asprimary --fstype=ext4 > --size=4096 --grow > ==EOF== > ;; > > esac > %end > > > _______________________________________________ > Kickstart-list mailing list > Kickstart-list at redhat.com > https://www.redhat.com/mailman/listinfo/kickstart-list > -------------- next part -------------- An HTML attachment was scrubbed... URL: From rocha at abracops.info Thu May 23 23:46:49 2013 From: rocha at abracops.info (Sebastiao Rocha) Date: Thu, 23 May 2013 20:46:49 -0300 Subject: How to install fc18 without =?UTF-8?Q?firewalld=3F?= In-Reply-To: References: Message-ID: Hi guys, i want to install fedora 18 without firewalld, i try: %packages -firewalld ( wont works!!! anaconda insists to install it ) -system-config-firewall-base ( wont works!!! firewalld is installed any way ) i want to not install it, remove it after install is not an alternative. any one know how to do it? best regards... -------------- next part -------------- An HTML attachment was scrubbed... URL: From tibbs at math.uh.edu Fri May 24 00:09:00 2013 From: tibbs at math.uh.edu (Jason L Tibbitts III) Date: Thu, 23 May 2013 19:09:00 -0500 Subject: How to install fc18 without firewalld? In-Reply-To: (Sebastiao Rocha's message of "Thu, 23 May 2013 20:46:49 -0300") References: Message-ID: I just remove it in %post. I guess that's not an option for you for whatever reason, so I guess you need to dig into the anaconda code and patch out the line near the end of pyanaconda/install.py where it gets force-installed and see what breaks. - J< From rocha at abracops.info Wed May 29 17:43:24 2013 From: rocha at abracops.info (Sebastiao Rocha) Date: Wed, 29 May 2013 14:43:24 -0300 Subject: Kickstart freezes for a minute before continue, second NIC disconnected In-Reply-To: References: Message-ID: <399ea4f695b09156c15c5cdcd2e5ad8a@localhost> Hi Guys, i trying to use kickstart on a dell server and it freezes for a minute or more, waiting for a second nic cable and ip, but second nic does not have connected cable, it is unpluged. any way to tell kickstart to not use/wait for a second nic? best regards. Sebastiao Rocha. -------------- next part -------------- An HTML attachment was scrubbed... URL: From flloreda at redhat.com Fri May 31 11:05:33 2013 From: flloreda at redhat.com (Francisco Javier Lloreda Sanchez) Date: Fri, 31 May 2013 13:05:33 +0200 Subject: Kickstart freezes for a minute before continue, second NIC disconnected In-Reply-To: <399ea4f695b09156c15c5cdcd2e5ad8a@localhost> References: <399ea4f695b09156c15c5cdcd2e5ad8a@localhost> Message-ID: <51A883FD.5020707@redhat.com> Hi, Did you try ksdevice=ethX in the kernel cmdline? Regards. -- Francisco Javier Lloreda Red Hat Consultant ( RHCA , RHCDS , RHCVA ) #110-651-718 flloreda at redhat.com Mobile: 0034 600 48 39 73 c/ Jose Bardasano Baos, No. 9 Edificio Gorbea 3 Madrid, 28016 SPAIN El 29/05/13 19:43, Sebastiao Rocha escribi?: > > Hi Guys, > > i trying to use kickstart on a dell server and it freezes for a minute > or more, waiting for a second nic cable and ip, but second nic does > not have connected cable, it is unpluged. > > any way to tell kickstart to not use/wait for a second nic? > > best regards. > > Sebastiao Rocha. > > > > _______________________________________________ > Kickstart-list mailing list > Kickstart-list at redhat.com > https://www.redhat.com/mailman/listinfo/kickstart-list -------------- next part -------------- An HTML attachment was scrubbed... URL: