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
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 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?
While attempting to install CentOS 5.4 x86_64 from DVD (downloaded torrent), I encountered a fatal error that aborted the install and dumped a bunch of log files. I attempted this a couple of times resulting in the same error. I tested my hardware via CentOS 5.4 x86_64 live cd without exception. Here is my install configuration:
1)Booted to DVD 2)Skipped media test 3)English (English) 4)U.S. English
before i proceed,I'll like to say that I'm a complete newbie, but enjoying my time with Ubuntu.
Recently, due to hard disk failure, some of the System files got corrupted, I have no idea to which files, but booting Ubuntu from the latest kernel is not working, instead I have to select the previous version from the grub screen.
How to recover these files? Is there a way by which Ubuntu automatically scans and repairs the system files.
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.
I am running centos 5.4, kernel 2.6.18. Also running httpd (apache2) as a reverse proxy with the following modules mod_ssl mod_cache mod_proxy_*
Recently after updating these modules: mod_ssl x86_64 1:2.2.3-31.el5.centos.2 httpd x86_64 2.2.3-31.el5.centos.2 distcache x86_64 1.4.5-14.1
I am getting wierd errors in the error logs: [Wed Feb 10 15:44:18 2010] [error] (103)Software caused connection abort: cache: error returned while trying to return disk cached data [Wed Feb 10 15:44:45 2010] [error] (103)Software caused connection abort: cache: error returned while trying to return disk cached data [Wed Feb 10 15:44:48 2010] [error] (103)Software caused connection abort: cache: error returned while trying to return disk cached data .....
My HP Netbook crashed. The Windows XP system files corrupted and Windows absolutely will not run. I planned on using Ubuntu to recover it, and then install Ubuntu permanently to save it in the future. Before you ask, every other utility has failed on me. UBCD included, which did nothing but provide me with errors upon errors just trying to run it.
The netbook has no CD drive.The only internet around is a wireless signal... my netbook has a broadcom wireless card that is never recognized. I'm using someone elses working laptop to connect online and get things I need, make boot devices, research for help, etc.This laptop has barely any hard drive space. Currently it has 1 gb remaining for doing anything.I have three flash memory devices:2 gb SD card. My netbook refuses to recognize it as a boot device.2 gb flash stick (that's actually an mp3 player). My netbook refuses to recognize it as a boot device.512 mb flash stick. This DOES work as a boot device.
So far my 512 mb flash stick has run Damn Small Linux and Ubuntu Minimal on my netbook. Of course, both are useless because the netbook cannot access internet, nor does either OS recognize my wireless card. This flash stick is, obviously, too small for a regular Ubuntu installation or any other Linux distribution that can help (as far as I know).
So, in order for this to work, I have to be able to do one of the following:
Install Ubuntu from a different OS, like Damn Small Linux or something small enough to boot on my 512 mb stick. Ubuntu can be put on one of the other, larger devices, maybe to be accessed for installation. No idea how to do this, let alone safely.
Install Ubuntu Minimal OFFLINE. This question was asked multiple times on these forums and none were answered. Is there a way to run minimal, and use offline sources for the install?
Get the normal Ubuntu installer under 500 mb. Its overwhelmingly frustrating that I'm just barely unable to do this. I've read of Ubuntu Customization Kit, which ended up being lots of useless files and reams of gobbldegook. I've heard Ubuntu is packed with additional, nonrequisite software which makes it so large. Why can't there be a halfway version between normal and minimal?? Not everyone has internet and not everyone has a CD drive or large USB stick! Is there a way this can be accomplished? Does this version exist?
I have limited time and resources. Before you ask, no, I cannot afford a larger USB stick. I'm pinching pennies right now and there's nowhere near here that sells them anyway.
I'm COMPLETELY new to linux. I"m running Ubuntu 9.10 and TRYING to install Devede. I have tried the Terminal, Synaptic Manger, and the Add/Remove and still keep getting this same error. I'm running a regular 32 bit Pentium 3 process to test if I like Linux or not. this is what it says: E: /var/cache/apt/archives/libavcodec-extra-52_4%3a0.5+svn20090706-2ubuntu3_i386.deb: corrupted filesystem tarfile - corrupted package archive this is not a DUAL boot computer either.
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'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.
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?
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
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 using Ubuntu since release 8.10, but it is first time when i can`t solve problem
when i tried to create new NTFS partition on unallocated disk space with Paragon Partition Manager (damn, that was stupid). Process was aborted with error (later i finally made it with Gparted without problems)
After reboot mine Ubuntu say:
Code: Errors were found while checking the disk drive for /
Press F to attempt to fix errors, I to ignore, S to skip mounting or M for manual recovery. I pressed "F" but that had help only for a boot and doesn`t really fix error :`(
Later i booted from liveCD and had checked partition (/dev/sdb1; file system - ext3) with gparted (result - aborted fixing process with error) Now i can`t even boot from that partition and even mount it from other linux system.
I think that my external hard drive was either "unsafely removed" or powered off at a critical moment because when I tried to connect it to any OS Mac, Windows Ubuntu etc. It could not be read. I forget the Windows error message but the Ubuntu one was "mount error 2".In any case I downloaded testdisk asked it to analyze my hd and about half way through it said that the number of heads per cylinder were 128 and it more than likely should be 255 (or the other way around I forget which but I know the numbers are right). So I went and changed the geometry of the external HD such that the number is what testdisk told me was and the result is that my computers can read it but it seems that all the files are missing.
I used photorec and I have recovered all the files (unnamed and disorganized of course)So this leads me to the following question: is there any way I can repair my file system or access the files so that I don't have to go through the 16,000+ files rename and reorganize them again?
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?
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"