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
ADVERTISEMENT
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
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
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
Apr 29, 2010
I am currently trying to add a new user on a linux box in the %post section of the kickstart file. The user however doesn't get created after I reboot the box after install. Am I missing anything ?Just for info. I am installing RHEL5.4 on a 64 bit box, I know this should not matter, but what the heck!!
View 4 Replies
View Related
Apr 6, 2009
I'm trying to do a red hat Advanced server 4 update 7 install using a kick start file on the network. The server with the kickstart file and dvd contents is on the same subnet as the server receiving the install. We have done it before in the past just fine using:linux nofb text ks=http://serverip/path at the boot/install screen. After that the ip address info is entered manually and the kickstart does its thing. When doing this with update 7, the install acts like a regular install. When i check the http access logs on the other server, it shows no access from the server receiving the install.I have tried adding an ip address to the install command. Such as:
View 2 Replies
View Related
Nov 8, 2010
I m facing a problem from few days i try to sort it out but i fail to overcome from this problem .
i configure a pxe boot server and mount the RHEL iso to /bootins/tree directory
Then after i created a /kick/client.cfg kickstart file. and share both the directory /bootins/tree and /kick with nfs
below is the entry of my /etc/exports directory
/bootins/tree 192.168.10.0/24(rw,sync)
/kick 192.168.10.0/24(rw,sync)
my client machine can successfully boot from the server but after booting an error msg is come, the msg is unable to load a kickstart file , i dont know why this happens coz i can successfully mount both the above share from another linux machine but dont know why at booting time this msg is appears firewall is off
View 1 Replies
View Related
Mar 18, 2010
I'm unable to create a linux boot cd with a kickstart file. I have a working kickstart file and a working boot image (tested by booting using the network for the kickstart file), but I can't seem to put them both on the DVD.
Here are the steps I took
1. mount the *.iso file to /mnt/isosetups
2. Recursively copy all the files from /mnt/isosetups to /mnt/bootcd
3. removing /mnt/bootcd/isolinux/boot.cat
4. running the mkisofx command (used -c to recreate boot.cat)
5. put the new image on a windows box and burned to a dvd using roxio
The result was that I could enter the red hat boot menu but the server couldn't find the boot image on the cd. I could go into more detail about what commands I entered, my environment, what I tested, etc.
View 1 Replies
View Related
Dec 16, 2010
I am running into a strange problem where kickstart installation fails with Error failed to read Rpm header, This happens when installation starts formatting of disk is also completed some of the rpms installed and then suddenly installer stalls with failed to read rpm header.
I have kept kickstart and install media on same host. I have changed the install media from http/nfs/ftp just to check is there any problem with the media but no luck.
However same installation with the same kickstart file works fine when both install media and ks file is kept on another linux host.
I am using RHEL 4 ,I do checked /var/log/messages it does not give any information on the failure and this started happening recently till that i was using the same server for my linux deployment.
Note: pxe setup, boot server ,install media and ks file all are in same server.
View 2 Replies
View Related
Mar 18, 2010
I have been using a boot disk with a kickstart file that calls rpm files that are on RHEL4.8. The rpm files tk-devel,tcl-devel,nss-devel and nspr-devel respond back during the install of RHEL5.e with a pop-up saying they do not exist,but when I look on the RHEL5.4 DVD they do exist in the Workstation directory.
View 1 Replies
View Related
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
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
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
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
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
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
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
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
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
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
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
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
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
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
Aug 19, 2010
For portability reasons; I am building a standalone kickstart ISO; based of Cent5.2. I am to the point where I can load my ks file (linux ks=cdrom:/ks.cfg), it reads it fine; and performs the install as I want.
Where I am having a problem; is a good way to have the install use upgraded RPM's, not the base; specifically a kernel with a few needed tweaks in it; which is packaged in an rpm.
I attempted to place my kernel rpm's into the CentOS directory and rerun creatrepo; but I simply managed to corrupt the base repo on the install media.
View 2 Replies
View Related
Sep 14, 2010
I recently set up a kickstart server using Centos 5. I copied all 7 of the centos 5 install cd's to the tree. I made the install cd, it boots fine. I'm using http, when I'm prompted, I put in the web site: 1.1.1.1 and the Centos directory of /network-install/RPM
I get the following error:
Unable to retrieve [URL]
I've been told the double slashes after the ip address is not a problem, and I've tested that through a browser, by browsing the same location. (not sure if
that's a valid test, but it did find the directory and display the files.)
View 2 Replies
View Related
Nov 23, 2010
we use for the installation of our machines bladelogic. We have different servers. Some servers have only one network interface, but it can be 2, 4 or may be more. There is always one network device for using PXE, but it is not always eth0.Is there any way to run kickstart without the entering of the PXE-Device so, that kickstart checks all the network devices in the system?
View 3 Replies
View Related
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
Feb 27, 2011
I am looking for a way to partition 2 disks automatically with are both connected to 2 different scsi controllers.
I want one disk on one controller to be partitioned with boot and lvm and the other one with a different partition layout.
I there a way in kickstart to do this, like for instance specify the drive module?
View 1 Replies
View Related
Mar 18, 2011
I am trying to create a workflow for upgrading various systems using kickstart. I was hoping folks can point me in the right direction.I have a system which already has Centos installed on it. However it is a stripped down version of Centos using a custom kickstart installer. Now I would like to upgrade these systems, using an updated kickstart file spec. I would like to be able to copy over required files into a partition on the system, make a change in the grub.conf, reboot the system and expect the system to use the kickstart file and the iso file located on a partition on the system to self upgrade the entire system.The partition which holds the iso on these systems may be raided, or it may be an LVM partition.
How do I specify in the kickstart file that the location of the iso is on an LVM partition? Is this even supported? I have tried specifiying the disk like so:
< -- isolinux/ks/harddrive.cfg -- >
upgrade
text
harddrive --partition=mapper/VolGroup00-LogVol02 --dir=/isolinux
[code]...
But the installer did not seem to like it. Instead of the iso, can I put the entire tree instead? Would that work?
View 8 Replies
View Related