CentOS 5 :: How To Automate The Installation Of CentOS 5
Nov 25, 2010
I have a quick question. I want to install CentOS as a part of Guest OS on my Hyper-v Main hardware node. It is because I want to start providing linux based VPS to my customers. I am searching around in Google to get module/tool from which I can automate the installation of CentOS 5. But, I could not get much information from Google. So is there any automate tool available in CentOS like sysprep in Windows from which I can automate the installation of centos without giving answers of installation manually?
Problems with xen 3.1.2 creating and installing domU CentOS 5.5 I am trying to do a virt-install --prompt --paravirt, and the install error out while trying to download install RPMs. I have googled for xen centos virt-install and various permutations. I have found similar howtos for 5.4 and 5.3, but they resulted in the same outcome. I did find several posts with similar issues, but no solution was posted.[URL]..
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.
i am trying to install centos 5.5 x86_64 as a guest OS in vmware server 2.0.2 using netinstall iso. Installation runs fine until the point, when it tries to install selinux-policy-targeted-2.4.6-279.el5.noarch, the whole virtual pc hangs at this.any ideas? i tried to google few things about this, but i have found nothing. this has happened 3 times in row, whole virtual pc always hangs at the same package. i dont have any other problems with vmware, gentoo runs and installs fine in it.i would prefer to do installation using netinstall.iso, it would take a lot of time to download all cds or whole dvd and all i require is a very basic set of packages.
I am trying to install Centos 5.6 on a motherboard with a built in Marvel 88SE61xx drive controller.NO drive arrays are configured using the Marvel BIOS configuration utility.During the install CENTOS displays loading MARVEL_PATA driver and it waits and waits and waits.Looking on one of the system message screens I get the following types of messages:qc timeoutfailed to identifyI/O errorLink is slow to respondSRST failed errno=16ata4: reset failed - giving upAny ideas as to how to get CENTOS to recognize the drives connected to the motherboard Marvell controller on a NON-RAID configuration?
3 partitions (in order): Windows 7, CentOS and shared data partition.
I need to increase the size of the Windows 7 partition (c:windowswinsxs seems to be something not easily remedied).
GParted didn't work in moving things around (bad sector) so I wiped out its partition (# 2 out of 3) and I was able to increase the size of the Windows 7 partition (I can reinstall CentOS easily and not much work lost).
Except ... no more grub menu (unsurprising). This incantation does allow me to boot into Windows 7.
Is there any way of rebuilding the grub menu short of reinstalling CentOS (5.5)?
I am trying to clone the hard drive to a slightly smaller hard drive in the same computer, same setup.What software or commands do you use to clone the entire system and resize the partition automatically?The original HD is a little larger than the destination HD. The source partition only has about 20 GB in use and the rest is blank.
I have 2 partition, a small 100MB boot partition and another 500GB LVM partition.I can't just clone from the original disk to the new disk. (for another long reason) I need to make an image of the original disk on an external USB drive first, then move that image onto a new disk.I have tried creating an image of the whole disk with Clonezilla, but then the restoration didn't work because the target drive is smaller than the original.
I am trying to install CentOS 5.2 on an HP rp5700 desktop unit. These units were originally sold as a Point of Sales unit I believe, but HP also markets it as a high life cycle server for SMB market.I tried to load CentOS on this unit via CD (created from downloaded ISO of course). It presents the initial CentOS banner page and waits for the obligatory "enter" to continue. It begins the boot process up to discovering the PCI stuff and just locks up, no response. I have to power down to restart.Since this does not even get to the point of installing. I am at a loss what to do next. Has anyone had a similar issue with other PCs.The boot stops at the lineACPI: PCI Root Bridge [PCI0] (0000:00)
I installed centos 5.1 in my system, it installed perfectly, but when I am trying to install centos 5.2 then it is not let me install.
My system has 220 SATA HardDisk Intel Core 2 Duo 4 GB RAM Intel Desktop Board DG41TY when I try to install centos 5.2, it show me menu bar After hit enter key to install centos 5.2, it show me loading usb drive and then showing some strange font. System is hang after this Can you please tell how I install centos 5.2
I download the xxxx.tar.bz2 file extracted it, when i run ./configure under the directory i get the following error code...
i even followed the link http://wiki.winehq.org/WineOn64bit also http://forum.winehq.org/viewtopic.php?p=28622&sid=17383eb0b922b2c230238f9ab50b265a. and several googling. i think the architect of the OS and the wine is not matching. So guide me to solve the above problem.
U have spent 4 days trying to configure my router thinking that it is my router that is not working but when I go to my dynamic dns or my static ip address it takes me to my admin router on the local computers.when I type httpd it says it cannot bind to port 0.0.0.0:80 i checked it is set up to listen to port 80 this is really confusing me i am beginning to think the people who built my server did not set it up properly if i go to localhost or 0.0.0.127 it goes to the apache default page fine.I have not changed anything since it wad installed except the centos 5 updates any ideas?When i login my password is root and the password is the default I have changed nothing else on the system as I still have no clue about it.Just to clarify on my router I have port 80 and port 443 set to my static ip address is this correct or should it be the eth0 Bcast ip address?Can anyone give me an idea of what i need to check? On my router I have set up port 80 and port 443 and dynamic dns and static ip address.Sorry I am totally new to linux never used it before would be nice if anyone has any ideas how i can proceed with this.
Once i install the centos in my mac pro, it ask for reboot after completion, and on reboot it does not see the hard drive with centos in it. Any clue to get around this problem?
Installation CentOS 5.3 on server HP Proliant ML110 passes without problems. At installation I choose breakdown of disks by default.All is established without problems. After reboot HP stops. Last message on the screen the such:
Filesystem type is ext2fs, partition type 0x83 kernel /vmlinuz-2.6.18-92.el5 ro root=/dev/VolGroup00/LogVol00 rhgb gniet [Linux-bzImage, Setup=0x1e00,size=0x1b7034] initrd/initrd-2.6.18-92.el5.img [Linux-initrd@ 0x37cf5000,0x2fa44c bytes]
Further loading does not go. It is probably connected with RAID a file? On HP it is adjusted hardware SATA RAID1 Embedded. In what a problem?
I've just install a new Virtual Machine with Centos 5.4 on a server running VMWare Server 2.0. I need to install Acronis 10 Linux Agent (latest version). My kernel version is 2.6.18-164.11.1.el5. I already install Acronis Agent. Compile kernel for module snapapi26 0.7.47.When I reboot machine it starts correctly, but when I connect to it from my Acronis Console running on host machine, Centos freeze and keyboard led start blinking.
Is it possible to alter questions to the CentOS installer?
eg/ it could ask what platform you're on, instead of what packages you want to install, and it would then perform a function (eg/ installing drivers) based on the platform (be it dell etc.)
Is this possible and can anyone point me in the right direction to accomplish this?
There is a way to have a CentOS installation very very minimal?Not like Damn Small Linux, but similar (as footprint)My need is create some Virtual Machine that only have BIND and SSH on it.
I am in the process of building a new server on an Asus P5QPL-AM motherboard and an Intel E8600 processor.explain to me the difference between the two versions and what would you recommend.Also, is there any advantage of SATA over IDE hard drives?
I installed CentOS 5.5 x86_64 on server as xen dom0. When i try to install CentOS 5.5 x86_64 as guest (hardware virtualization) i see "Kernel panic"...Installation not started: i see install cd's boot menu, press Enter... that's all.
Dom0 kernel: 2.6.18-194.26.1.el5xen, xen 3.0.3 Only standart installation, repo's and update's...
I did my first CentOS installation today. From the very beginning I couldn't do that graphically, so I chose text mode installation.The installation was successful, but when the OS boots, I have no GUI, and instead just the command line.I read a lot of posts describing the problem, tried to generate a new xorg.conf file, but useless. The X server won't startI installed the OS on my Dell 3400 laptop that comes with a built-in video adapter,Below is the info from the xorg.conf file:
My upgrade route with Ubuntu is to do a complete fresh install - then reacquire all my favorite applications and packages using a combination of Add/Remove and Synaptic. This is a time-consuming process, and I generally forget several packages the first time through.Is it possible to automate the packages (and/or applications installation so that I get everything rebuilt for the new os in a single pass?
The installer can't see my raid controller (I assume) as I'm getting the following error:"Error opening /dev/mapper/isw_jbhgjgjj_Vol0: No such device or address"It just sees them as 4 individual drives: sda, sdb, sdc and sdd.Please note that I have set up the RAID 5 in the controller bios interface and the image name is Vol0, which it seems that it tries to load but for some particular reason it can't.I have also tried different bios settings and nothing worked.
I'm running a fresh install on an intel i7 system on an asus p6t deluxe v2 motherboard with the onboard NIC (Marvell Technology pci-e). I know the NIC is working as when I boot into the onboard OS that Asus provides (Asus Express Gate SSD)I have a working net connection.Booting up CentOS hangs at determining IP information for eth0 and eventually fails with the following error:PING xxx.170.30.1 from xxx.170.31.231 eth0: 56(84) bytes of data---xxx.170.30.1 ping statistics ---4 packets transmitted, o received, +3 errors, 100% packet loss, time 2999ms, pipe 3 failed.
I'm trying to install a dual booting machine with OpenSUSE v11.1 32bit and CentOS v5.2 64bit. I installed OpenSUSE first and allowed it to install and configure grub in the MBR and after that I wanted to proceed with CentOS v5.2. The installation went fine with two notable exceptions:- when I had to configure grub installation parameters, CentOS offered me only 2 solutions: either install it on the MBR of the first hard disk or not installing it at all. Other distributions are more flexible allowing you to install it in the boot sector of the root partition for example. Because I didn't want to ruin the existent grub onfiguration, I reluctantly accepted not to install it for CentOS assuming that I could manually configure the entry later in grub's menu.lst file.
- when I was presented with the options for software components installation, I've clicked on virtualization category/function because I intend to use the machine as a VMware host. There was no guidance on screen at that point and I blindly assumed that by choosing the virtualization function I would get necessary tools and drivers that will help me further on. It seems that this was a wrong move as you can see it below.
After completing the installation, I tried to search for a template or guiding on how the menu entry in menu.lst should look like but the grub directory was empty, not surprisingly because I've told CentOS earlier not to install it. Using the files in the /boot directory from the CentOS installation I tried to improvise a menu entry but it's not working. The boot stops with famous Error 13: Invalid or unsupported executable format. Using the file command to check what kind of files I'm trying to load as kernels I'm getting :
marte:~ # file /mnt/vmlinuz-2.6.18-92.el5xen /mnt/vmlinuz-2.6.18-92.el5xen: gzip compressed data, from Unix, last modified: Tue Jun 10 19:20:51 2008, max compression
The first server I installed installed fine. The second server, installed with the same config, went to "kernel panic not syncing no init found try passing init= option in kernel" error. I tried reinstalling but it keeps going to that error after install reboot. The storage is ISCSI connected via Intel Server Adapter, which allows it to boot from ISCSI. Not sure if that's the cause for the problem, but the first server is connected to the same ISCSI and installed just fine.
Is there a way that I can make sure ISCSI module installs during installation? Although I think it is installed since it's able to copy the files and setup /dev/sda. I just wana make sure that it installs during setup.
I'm trying to create a CentOS based liveCD that mounts a NFS share and executes one script there. The NFS never mounts altough while logged I can mount it with the very same command that I use in the KS.
In the %post I have :
%post --log=/tmp/post.log --erroronfail mkdir /mnt/nfs mount -o nolock 10.23.1.1:/csc/RemoteHome /mnt/nfs
I added the --log in order to debug, but nothing is written in /tmp/post.log. I tried redirection on the mount command with >> /tmp/debug.log but this is not written. Maybe during the post sequence /tmp is RO ? Anyway, I tried with ifup lo, service portmap start in the %post, but doesnt change (I even have a service : command not found in the live cd creator output).
Here is the remainder of the KS : lang en_US.UTF-8 keyboard us timezone US/Eastern
I've got two USB webcams I'm trying to get running with CentOS 5.4 x86_64. I've downloaded and installed the gspca driver from http://mxhaard.free.fr/spca5xx.html. Running lsusb yields:
Bus 002 Device 003: ID 0ac8:307b Z-Star Microelectronics Corp. USB 1.1 Webcam Bus 002 Device 002: ID 0ac8:307b Z-Star Microelectronics Corp. USB 1.1 Webcam