CentOS 5 :: Yum Still Running During Kickstart Post Installation Script

Sep 13, 2011

I put a script into the post installation of kickstart and the log showed that the yum that is started in the script had to wait for yum to finish. I understand I can (and will) put this package in the packages section, but isn't it bad that yum is still finishing up when the post installation is initialized? Has anyone else noticed this?

View 2 Replies


ADVERTISEMENT

CentOS 5 :: Kickstart Doesn't Run Post Install Commands

Oct 19, 2009

I am trying to copy an updated splash.xpm.gz at the end of a system build but everything in the post section is total ignored.

#--- Post-installation script
%post
#!/bin/sh
#...Mount the installation CD

[code]....

View 8 Replies View Related

CentOS 5 :: Kickstart File Post - Copy / Paste Scripting

Feb 23, 2010

I want to design a kickstart file that creates an unattended installation (I've passed that part). After it installs, I want it to automatically read the device's MAC address and change the hostname to match the MAC address with the separators removed. (For example if the MAC address is 01-02-03-04-05-06, the prompt after login should read "root@010203040506")

I know this is entered in the "%post" section of the kickstart file, and I know I'm supposed to use the "cut" and "sed" commands, but I have no idea what I'm doing or how to do it. script so I can copy/paste it into my kickstart file?

View 5 Replies View Related

Software :: Post Installation In Kickstart File

Mar 22, 2011

I have created a customized RHEL 5.4 DVD and placed a Kickstart file in it.It is running fine except the post installation steps.I need to copy some files from DVD to the newly built server. For this I have modified my Kickstart file as below, but no luck.

View 3 Replies View Related

Fedora Installation :: Error At Post Install Scripts For Fedora 10 Kickstart Installation

Nov 18, 2009

I am trying to install fedora 10 kickstart on my server.But I can't, because my kickstart installation hangs at post install scripts.It is not showing any message & stopped.

View 1 Replies View Related

CentOS 5 :: Xen Vm 'POST' And Error Messages - Guest Not Running

Jul 31, 2009

I'm running xen as installed from the CentOS Virtualization Suite and I'm having some problems. One of my VMs powers off immediately after an error during 'POST'. Is there a way to stop it from immediately powering off so I can see the error? And there's also at least one error message that appears for a split second after the vm craps out, before the gui console reports 'Guest not running'.

View 3 Replies View Related

Red Hat :: Kickstart Mount Partition In %post?

Feb 18, 2011

I am trying to automate installs of Red Hat 5.5 x86. I have a FAT32 partition on my disk at /dev/sda1 that I want to mount to /cdrv folder of the installed OS and I use this line in the %post section for this:"mount -t vfat -o iocharset=utf8,umask=000 /dev/sda1 /cdrv"
For some reason, this does not mount the partition.onfirm using "fdisk -l>>/post.log" that /dev/sda1 is FAT32 and is the Boot partition. I can create any folders or files using the %post section but just this mounting doesnt seem to work.

View 1 Replies View Related

General :: Using Kickstart Post Install To Copy Remote Files

Feb 1, 2010

CentOS 5.3 32bit
I'm having trouble trying to copy files from an nfs mounted remote machine during the the post install with kickstart.

My post install:
%post
mkdir /mnt/foo
mkdir /mnt/foo/downloads
mount 206.xx.xx.xxx:/downloads /mnt/foo/downloads
ln -s /mnt/foo/downloads /downloads
sed -i '$ afoo:/downloads /mnt/foo/downloads nfs exec,dev,suid,rw,bg,soft,rsize=8192,wsize=8192 1 1' /etc/fstab
%end
%post --nochroot
cp -r /downloads/thirdparty/importantFolder /mnt/sysimage/opt
%end

View 11 Replies View Related

Software :: RedHat Kickstart Post Fglrx Rpm Install Not Working

Feb 23, 2010

As the title says, I'm building a kickstart for a RedHat installation.I'm trying to incorporate the firegl driver rpm installation and its halfway working, not completly. What I've tried so far is to place the rpm in the --nochroot and in the normal chroot enviornment and neither one works. In the --nochroot, install it with rpm --root /mnt/sysimage/ and in the normal post i just do an rpm -ivh. In either case the fglrx folder is built within /lib/modules, however everything thats supposed to be installed never makes it to the newly installed root. I'm thinking that its actually getting installed to the installation / as opposed to the new /.

View 3 Replies View Related

CentOS 5 :: Kickstart Installation Hangs At GetNetConfig?

Apr 22, 2011

I am trying to do a kickstart installation of CentOS 5.5 x86 using a static IP on eth1. (The machine has 4 ethernet ports). I set ks, ksdevice, ip, netmask, and noipv6 when the boot disc asks for the init commands.I have similar networking information configured in the kickstart script. I have tried switching the order of the network config lines in the kickstart script to place eth1 at the top. Either way the installation hangs. On tty3 I can see that the command last called is getNetConfig. All of this configuration is using static IPs. I'm not sure why it thinks it has to do anything extra... Is there a problem trying to reuse the same eth1 NIC for the second stage? I have tried using the same and different IPs on the same subnet but nothing changes the outcome. Both the kickstart file and the install tree are on the same subnet, the same server in fact. Both are accessed via FTP but I had this problem with NFS as well.

View 3 Replies View Related

CentOS 5 :: System Gets Corrupted When Abort A Kickstart Installation?

Dec 14, 2010

System gets corrupted when I abort a kickstart installationI have a simple kickstart installation of CentOS 5.5 (same issue on 5.3)The only user interaction is the partitioning screen.if, in my cfg file, I state :-

# Partition clearing information
clearpart --all --initlabel
or

[code]....

View 5 Replies View Related

Fedora Installation :: F14 Installation Hung On "running Post-installation Scripts" For 90 Minutes

Jun 22, 2011

I'm trying to perform an install of F14 (fresh install over F13), and it has been showing "running post-installation scripts" for 1 1/2 hours now. I am wondering if this is unusual and what the implications might be of power-cycling and rebooting. I'd note this is a fairly fast machine with 2 quad-core Xeons (I forget their model number).

View 1 Replies View Related

CentOS 5 Server :: Ready To Use Kickstart Template For Minimal Installation (KVM)?

Feb 13, 2010

Does anyone have a ready to deploy kickstart file for creating KVM images? I don't have access to a CentOS machine or a spare computer and would need to create images for a machine on the other side of the Atlantic.I would need something that would create an absolute minimal CentOS installation. I tried to search for something online, but couldn't find anything.

View 1 Replies View Related

Red Hat :: CentOS 5.3 Installation From An USB Pendrive - Ks - %post Mount ?

May 20, 2009

What I have solved:

8 GB Pendrive
FAT32 (vfat) bootable
CentOS 1-7.iso's are in directory /CentOS

kickstart is called with:

installation is PERFECT!

but

I CAN'T GET THIS TO WORK and I can' find and detailed document's on this

View 1 Replies View Related

CentOS 5 :: System-config-kickstart Error In CentOS 5.3?

Apr 10, 2009

I tried to run system-config-kickstart when after full installed CentOS 5.3,it report error as following,does anyone face the same problem?

[root@localhost ~]# system-config-kickstart
Loaded plugins: fastestmirror, kernel-module, priorities, protectbase,
: versionlock

[code]....

View 2 Replies View Related

CentOS 5 :: Install CentOS 5.2, And The Installation Ran Out Of Disk Space After Running For About 2 Hours?

Feb 18, 2010

I am trying to install CentOS 5.2, and the installation ran out of disk space after running for about 2 hours.I checked the FAQ, and it said 1.2 GB. The disk is 3 GB. The default install was selected, and I think that it checks for sufficient available disk space before installing. Still, it ran for quite a while before announcing that it was out of disk space.The Installation Guide is not very helpful, since there is a blank page where the disk space requirement is supposed to be. I just picked the default installation. A search of the forums on "not enough disk space" did not return much.

View 13 Replies View Related

Server :: CentOS Installer -not- To Use LVM In A Kickstart?

Dec 14, 2010

Does anyone know of a way to tell the CentOS installer -not- to use LVM in a kickstart? We've been using a system that lets us define which particular drives to use during the installation as part of our deployment system. This does not work now that LVM is the 'default' in CentOS. I've looked over the options and I see how to FORCE particular LVM configurations, but I see no way to just turn it off.

View 6 Replies View Related

Red Hat :: CentOS Kickstart Does Not Save Screenshots?

Jun 24, 2010

I created a kickstart file and put it on a floppy. I have installed several times to refine the process and confused. I am not sure if the kickstart file is even being used by grub. I specified

autostep --autoscreenshot The install STILL asks me all those questions I was trying to avoid by doing autostep in the first place, and /root/anaconda-screenshots coes not exist.

I specified
linux = hd:fd0:/ks.cfg

as a Grub command line option. I got that line off a forum, so it may be inaccurate. Anyone know if that is correctd? If I screw that up, shouldn't anaconda complain about file-not-found? Are the screenshots only applicable to graphics mode or also to text mode? (I have been using text mode, assuming text file screen dumps would appear in that subdirectory...)

View 7 Replies View Related

CentOS 5 Server :: Cp Not Working In Kickstart?

Sep 18, 2009

I am trying to kickstart and want in post install to copy some files from a shared directory, to enable passwd less ssh and having
same users across the clusters. But the cp does not work, nor does .ssh directory is getting created I have pasted my post install script below.

mkdir /mnt/sysimage/mnt/temp
mount -t nfs 10.1.1.1:/home /mnt/sysimage/mnt/temp
cp -f /mnt/sysimage/mnt/temp/passwd /etc/passwd
cp -f /mnt/sysimage/mnt/temp/group /etc/group

[code].....

View 6 Replies View Related

CentOS 5 :: 5.5 Kickstart Install From Harddrive?

May 23, 2010

I'm trying to install CentOS 5.5 from harddrive using a kickstart file. Kickstart file is read correctly, it contains the following 3 lines (+ additional config):

install
harddrive --partition=sda11 --dir=repos/CentOS/5.5/isos/i386
repo --name="CentOS-5.5 - Updates" --baseurl=hd:sda11:repos/CentOS/5.5/updates/i386

I've downloaded both CentOS-5.5-i386-bin-DVD.iso and CentOS-5.5-i386-bin-1of7.iso, but anaconda (the installer) asks: - What partition and directory on that partition holds the CD (iso9660) images for CentOS? ...

VT3 gives these messages:
INFO: partition /dev/sda11 selected
INFO: mounting device sda11 for hard drive install
INFO: mntloop loop7 on /tmp/loopimage as /tmp/hdimage/repos/CentOS/5.5/isos/i386/CentOS-5.5-i386-bin-1of7.iso fd is 12

[Code]....

View 4 Replies View Related

CentOS 5 :: KickStart Fails With 5.5 Version

Sep 15, 2010

I have been using the same kickstart more or less since release 5.2 but it fails with 5.5. It looks like it is good all the way to the final stages. Does anyone know what has changed in anaconda for this release? I think the first boot process has changed as well.

View 5 Replies View Related

General :: Use Kickstart To Install Centos From Cdrom?

Apr 12, 2010

when i use kickstart to install centos from cdrom (i make it myself in my way),i got a %post script problem with the kickstart file. 1.%post script used to copy my own software from cdrom to hard disk.then make install automaitlly with bash script.

the %post script like :
%post
mkdir -p /myownsoftware
cp -r /mnt/myownsoftware/* /myownsoftware
cd /myownsoftware

[Code]...

View 10 Replies View Related

General :: Error With CentOS Kickstart File?

Jan 6, 2010

I have downloaded the following kickstart file for installing minimal < 300 MB space centOS 5.2. I have created a Virtual Machine for Linux and attempting to install CentOS.here is my kickstart file:

Code:
# Kickstart file
#

[code]....

View 3 Replies View Related

Red Hat :: Centos/RHEL5.4 : Anaconda-Kickstart And UUID?

Mar 21, 2011

I am using the "harddrive" option in a kickstart config to have it pick up isolinux files from a USB flash drive. I have been able to get it work by specifying the device name directly, but if I specify a LABEL or UUID, it does not work.Here is what my ks.cfg looks like.

Code:
install
text
harddrive --partition=LABEL="/install" --dir=/
lang en_US.UTF-8

[Code]...

It almost seems like the version of Anaconda in Centos5.4 does not support specifying UUID or LABELs, but I have not been able to confirm that from the Release notes.Appreciate any tips/references/documentation.

View 2 Replies View Related

CentOS 5 :: Unable To Get The Clients To Do A Kickstart Install?

Sep 8, 2009

we can't get the clients in our lab to do a kickstart install. we're doing the install by booting from the Centos 5.3 net install cd and anaconda starts, but terminates abnormally reporting a SIGSEGV fault. Interestingly, attempts at doing an install from a CD and without the network connection results in this error:

X11TransSocketINETConnect() can't get address for localhost:6001. Temporary failure in name resolution.

View 7 Replies View Related

CentOS 5 :: Add Repo At Install Time -> Kickstart?

Oct 22, 2009

In the release anouncement there is mention of adding additional repo's at install time. Is this also possible in the kickstart file?

View 1 Replies View Related

CentOS 5 :: Install Custom Kernel Rpm Via Kickstart

Mar 3, 2010

I have compiled and created a kernel rpm kernel-2.6.18165.11.1.el5-3.i386.rpm
then created initrd image

I have installed the above via kickstart installation

%post
mount xxx.xxx.x.xx:/var/www/html/os/i386 /mnt/tmp
cd /mnt/tmp
rpm -uvh kernel-2.6.18165.11.1.el5-3.i386.rpm
cp initrd-2.6.18-165.11.1.el5.img /boot

[Code]....

View 2 Replies View Related

CentOS 5 :: 5.5 Kickstart %include Generated By %pre Script Ignored?

Nov 5, 2010

I'm trying to dynamically write command section stubs with a pre-script to be included via %include. The simplest of these contains the disk partitioning commands. Following the canonical examples,[URL].. for one, of this found in every source of documentation for RHEL/Fedora variants does not work. Anaconda attempts to prompt for interaction to get the partitioning scheme and a cmdline install stops with "In interactive mode parttype, can't continue". I've stripped things down to the following two cases:

%pre
cp /mnt/source/disks-ks.cfg /tmp/
%include /tmp/disks-ks.cfg
%post

[Code]...

View 9 Replies View Related

CentOS 5 :: Kickstart Bootloader Append To Kernel Line

Feb 3, 2010

I'm building kickstart files for my various machines.On my xen virtualization servers, I'm trying to get dom0_mem=512M added to the grub kernel line. Unfortunately, the bootloader --append option gets added to the linux kernel line, not the xen kernel line, which doesn't have the desired effect.Is there another way to put this into the kickstart file or should I use sed to put it into grub.conf in my post install section?

View 1 Replies View Related

CentOS 5 :: Unattended Kickstart Install Supporting Both IDE (hda) / SCSI (sda)?

Apr 6, 2010

Can an unattended Kickstart support both IDE (hda) and SCSI (sda)? The goal is to to create a new virtual machine from scratch. What I have works for Parallels in which a new VM defaults to emulate an IDE hard disk. It does not work for VMware Workstation which defaults to emulate a SCSI disk.

The relevant Kickstart section: bootloader --location=mbr --driveorder=hda --append="rhgb quiet"

clearpart --all --initlabel --linux --drives=hda
part /boot --fstype ext3 --size=100 --ondisk=hda
part pv.2 --size=0 --grow --ondisk=hda
volgroup VolGroup00 --pesize=32768 pv.2
logvol / --fstype ext3 --name=LogVol00 --vgname=VolGroup00 --size=1024 --grow
logvol swap --fstype swap --name=LogVol01 --vgname=VolGroup00 --size=1024 --grow --maxsize=2048

Can the Kickstart file be made to not care what drive type is there, or conditionally handle either type?

View 4 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved