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
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:
I am a long time Unix system admin and this one has got me stumped.When I try to run the system-config-network (or any of the system-config-xxx programs) from the links on the GNOME interface, I get a message pop-up that says, "Unknown error" and no additional information. I have also opened a terminal and run it from the command line (/usr/bin/system-network-config) and I get the same "Unknown error" pop-up. I was not the one who originally configured this server, so I am not sure of the history or how it might have been broken. I can't seem to find any debugging information or even any command line parameters that might give me a clue what the complaint is. There is no error number or any other helpful hint as to the cause of the problem.
I have been manually editing the config files so the server is up and running but it is tedious to manage the server without the GUI.Has anyone seen this before? I assume it is a configuration issue, but I am not sure where to look.uname -aLinux xxxxserver 2.6.18-164.15.1.el5 #1 SMP Wed Mar 17 11:30:06 EDT 2010 x86_64 x86_64 x86_64 GNU/Linux/etc/redhat-releaseCentOS release 5.4 (Final)
I'm using RHEL 5.4 and trying to use the system-config-kickstart to generate a ks.cfg file with all the settings already appeneded. After running the "system-config-kickstart --generate ks.cfg" command, the file gets created but it's missing the firewall configuration, partition information and so on.
How can these settings also be generated with the system-config-kickstart?
I'm installing CentOS for the first time to run mythtv on (I previously used Fedora, but the new version cycle was too quick). As part of the instructions I'm using, I am told to run system-config-boot (to ensure that centosplus kernel is loaded on boot). The problem is, I cant find this option in my installation of CentOS. Another option I have is to manually edit the grub.conf file, but I'm not sure exactly how I should edit it.
I am very interested in using CentOS as a server for diskless PXE booting and was wondering if this was a possibility. I have a working DHCP/TFTP/HTTP system set up and going and I can get my client machine to boot a linux image without any problems. Ideally I would like the diskless machines to be able to immediately load an image through PXE and store their own filesystems on the server through the use of NFS.I heard about system-config-netboot and got very excited because it sounded like something that would help me set up a diskless system. However, after doing some research I have heard from many that it is generally buggy and unlikely to work. When I tried using it I got the error: "The diskless directory must be NFS exported and contain a boot sub-directory"Even though my diskless directory WAS nfs exported and most definitely contained a boot sub-directory. Does anyone have any advice on using this tool, or using CentOS as a server for diskless clients?
system-config-samba doean't work from terminal neither it is shown in graphical mode, i cannot see system > administration > servers. Server is missing.
I trying to set up a LDAP server using openLDAP / db4. The server runs fine but I cannot get the client to work. Client and server are on the same machine, as for now. The problem seems to be in PAM. However I cannot start the system-config-authentication tool which should do the trick.
I have a Samba File Server that can authenticate users in my Windows AD to log into the server. Anyways, I have a good amount of Windows Admins on staff but our org wants to cut budget so our first "slash" as it were is cutting down the actual Windows based File Servers.So my question is, now that I have this test server up and authenticating for logins using Windbind....is there a way I can get system-config-samba to "see" winbind users and groups so that file servers can still be "point and click" for my Windows Admins?
I am getting a strange font problem (see attached screenshot) for a user logging in over VNC Server, I am also logged in over VNC however I am no experiancing any problems... This was the case on CentOS 5.3 and on 5.4. I have tried removing the .vnc dir in the users home dir and re running vncserver so that it recreates it, I found this in the logs:
1. (nautilus:14718): Pango-WARNING **: No builtin or dynamically 2.loaded modules were found. Pango will not work correctly. 3.This probably means there was an error in the creation of: 4.'/etc/pango/pango.modules' 5. You should create this file by running pango-querymodules. 6.Fontconfig error: Cannot load default config file
I've tried to read many of the topics in this forum first and tried to find a solution to my problem, but can't find one.I'm testing CentOS 5.5, it's the first time I'm using a CentOS Linux release.I'm trying to configure the proxy "client side " on it and cannot find how to do it.On other Linux release I've used the ENV variable like "http_proxy" or "HTTP_PROXY" etc etc.This time, I don't know why but it doesn't work.I've put the name and @ip of the proxy in /etc/hosts and tried different version upper/lowercase of "http_proxy" "HTTP_proxy" "ftp_pr.." but it doesn't work.If I configure manually Firefox and puting the name or @ip of the proxy we have on our network, it works.But if I try to use ENV variable it doesn't work...
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.
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...)
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.
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):
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
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.
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
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.
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.
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:
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.
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?