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


ADVERTISEMENT

CentOS 5 :: Install From USB Flash To Hard Drive With Custom Kickstart

Oct 30, 2009

I'd like to install centos from a USB stick on to a hard drive and also include a custom kickstart on the USB stick to run post-build scripts or install additional packages, which the additional packages would also be on the USB stick..Are there any howto's already written?

View 2 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 :: Single Disk Kickstart: How To Use Upgraded Kernel

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

CentOS 5 :: How To Tell Kickstart / Anaconda / Mkinitrd To Use New Kernel Version Number?

May 5, 2009

I want a new kernel RPM in my custom CentOS 5 kickstart distro. I built the kernel, got a nice kernel RPM out, and replaced it in my ks.cfg. The install goes fine until the very end, where Anaconda prints some spurious stuff about mkinitrd failing.I get why it might fail -the kernel version argument to mkinitrd was no doubt for the old kernel. But I have no idea where this is -it's not in the ks.cfg afaict, and so I don't quite get where Anaconda / mkinitrd gets it from.

I'd eventually like to use this kernel for the installer as well, but I think I understand that process much better.How do I tell kickstart / Anaconda / mkinitrd to use the new kernel version number?

View 15 Replies View Related

CentOS 5 :: Create A Custom Kernel Using 2.6.31.5 Kernel Source?

Oct 31, 2009

I'm running CentOS 5.3 and would like to know what the "best" or "proper" method is to build a custom kernel using the generic kernel sources from kernel.org. Most of the references I've found talk about modifying the current CentOS kernel using the RPM way. I really want to have the latest kernel due to some important security issues that haven't been addressed in the current CentOS 5.3 kernel.

View 6 Replies View Related

CentOS 5 Server :: Building Custom Kernel 2.16.19-128.1.10?

May 27, 2009

I have builded my kernel through wiki manual, BUT, the kernel-headers rpm-package has not been builded. Now i have only two packages: kernel and kernel-devel. Is that ok? (i think, that it is not ok, because when i build the same version of kernel on x86_64 platform, after rpmbuild command i have kernel, kernel-devel and kernel-headers packages) My CentOS version is 5.2; platform i686; kernel, kernel-headers, kernel-devel packages 2.6.18-92.el5.

View 6 Replies View Related

CentOS 5 :: Unable To Build Custom Kernel

Mar 18, 2010

I am trying to build a custom kernel but I couldn't. Here are the steps to reproduce it:
1. Set Up an RPM Build Environment as its is explained in [URL]
2. Then follow the instructions in [URL]
3. When I try to install the kernel source rpm I get the following error:

[matias@Centos ~]$ rpm -i [URL
warning: user mockbuild does not exist - using root
warning: group mockbuild does not exist - using root . . .
warning: user mockbuild does not exist - using root
warning: group mockbuild does not exist - using root
error: unpacking of archive failed on file /home/matias/rpmbuild/SOURCES/linux-2.6.18.tar.bz2;4ba24901: cpio: read

View 8 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 :: Custom Kernel Config For High FPS Game Servers

May 5, 2009

I have been wanting to increase the fps rate of my current game servers, and I need to have a custom config for this cause I'm only hitting 500. I have, attached, a custom kernel config and not to sure what to do with it at this point. The file name is config-2.6.24-zen4-lld.no-po.2000hz

#
# Automatically generated make config: don't edit
# Linux kernel version: 2.6.24-zen4-lld.no-po.2000hz
# Tue Nov 25 22:54:23 2008
# Zen Options
# Kernel Tunables
# CONFIG_ZEN_SERVER is not set .....
# IO Schedulers
# CONFIG_FINGERPRINTING is not set

View 2 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

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 Hardware :: Compiling Custom Kernel For Apple Intel XServe

Jul 7, 2009

I need to compile a custom kernel for my xserve1,1. Or are there people who already managend using centos on their intel xserve? The current centos 5.3 kernel configuration does not support EFI. Right now I am able to boot the installation of centos to the welcome screen
and get stuck at the part where I need to skip or run the cd test. (keyboard and mouse won't work)

Just the boot screen
Screen where I pick option 2, the cd installer
Image shows ubuntu but it is centos. forgot to change the menuentry description name in grub.conf
ROMimage present
The screen that I see after image 3
The screen that I see after image 3
The window of centos

I tried the centos 5.3 86_64 DVD and netinstall. I already managed to run debian/ubuntu on my xserve1,1 with use of refit + grub2 but I need centos to use cpanel...

My xserve specs:
Xserve1,1
Dual-Core Intel Xeon
Processor Speed: 2 Ghz
Number of processors: 2
Total number of cores: 4
L2 Cache (per Processor): 4 MB
Memory: 8 GB
Bus Speed: 1.33 GHz
Boot Rom version: XS11.0080.B01
SMC Version (system): 1.11f5
LOM Revision: 1.2.8

Installed:
OSX 10.5.7 server
Developertools: 3.1.2
refit: 0.13

View 6 Replies View Related

CentOS 5 :: Custom Kernel For Enable Write Barriers With Xfs And Lvm2,worth?

Dec 7, 2010

I have read that when using xfs with lvm2, prior to kernel 2.6.29 write barriers are by deffault disabled.As i want to migrate /home to xfs (and create a external partition to hold some data in xfs too) i was thinking in compile a custom kernel 2.6.30 or higher from [URL].I have read the wiki, all the warnings , and that for compile a kernel.org kernel you should use the Linux Kernel in a Nutshel guide/book. But i don't really know if would worth do that only to have write barrier support , more when in one month i will buy a ups to be sure i can shutdown the pc well if the power goes out.Should i enable write barriers on xfs with lvm2 ,although going to have a ups ?

View 2 Replies View Related

CentOS 5 :: Custom Kernel Panic - Not Syncing: Attempted To Kill Init?

Apr 5, 2011

I got the following error after compiling kernel version 2.6.38.2 from sources with this Howto:[URL].. Creating root device.

Mounting root filesystem.
mount: could not find filesystem '/dev/root'
Setting up other filesystems.
Setting up new root fs
setuproot: moving /dev failed: No such file or directory
no fstab.sys, mounting internal defaults

[Code]...

View 2 Replies View Related

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 :: 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

OpenSUSE :: Build And Install Custom Kernel?

Jul 4, 2009

When I build the kernel 2.6.30 source, the rpm package is very big and needed or root filesystem 800-900 Mb. I use "make rpm" as described in Configure, Build and Install a Custom Linux Kernel - openSUSE.

View 7 Replies View Related

Debian Configuration :: Install Custom Kernel Image

Mar 11, 2016

I've a problem running jessie on a XEN supervisor; my running kernel and the installed kernel image differ, because the host system forces the kernel at boot time. Current loaded kernel is

Code:
Select all$ uname -r
3.18.12

But I'm not able to install this version from the standard repository.

Code:
Select all# apt-cache search linux-image
linux-headers-3.16.0-4-amd64 - Header-Dateien für Linux 3.16.0-4-amd64
linux-image-3.16.0-4-amd64 - Linux 3.16 für 64-Bit-PCs
linux-image-3.16.0-4-amd64-dbg - Debugging symbols for Linux 3.16.0-4-amd64
linux-image-amd64 - Linux for 64-bit PCs (meta-package)
linux-image-amd64-dbg - Debugging symbols for Linux amd64 configuration (meta-package)
nvidia-kernel-3.16.0-4-amd64 - NVIDIA binary kernel module for Linux 3.16.0-4-amd64
linux-image-2.6.32-5-xen-amd64 - Linux 2.6.32 for 64-bit PCs, Xen dom0 support

Now I'm facing issues loading kernel modules for iptables, because the module path does not exist. Is there an easy way to install a proper kernel image from the standard repositories?

View 5 Replies View Related

Fedora :: Install An Older Kernel - Custom - But RPM Wont Let ?

Mar 3, 2010

I am building a series of custom kernels...for one of them i am using a kernel that is older than my currently installed ones.

I am using rpm to install this kernel and it will not install, period. i don't get why i can't install this....what does it matter that i am installing an older kernel? and why is fedora/rpm designed to not let me do this?

Code:

There should be an easy way to get around this, but i haven't figured it out yet. i've googled around, no luck. i bounce between kernel versions all the time without problems on my system, so why is rpm setup for strict versions on a kernel? and is there no way around this, and i just have to delete all three of those kernels, i don't really want to. 2 of them are awesome and i shouldn't have to build them again, that would be complete crap! and i wouldn't have this problem on my debian setup, so why fedora? (i generally think fedora is better)

View 6 Replies View Related

OpenSUSE Install :: Installation From USB Stick With Custom Kernel

Feb 10, 2010

i need to install openSUSE 11.2 from an USB stick. I followed this article SuSE install from USB drive - openSUSE using the openSUSE-11.2-NET-i586.iso. Unfortunately the kernel provided in this image doesn't load on my target as it needs a few extra modules for its chipset.

Thus i copied our custom kernel (which is verified to run on the target) and its initrd to the usb stick and i also created a new entry in the syslinux.config. The kernel loads, but then it can't find the root device.Does anybody know, how i need to configure the initrd to make the USB stick the root device?

View 2 Replies View Related

Server :: Custom CentOS 5 Install With Ks.cfg File And CentOS All In One

Jan 14, 2010

What i want to be able to do is create a custom kickstart for my centOS 5 server. I want to create a bootable cd that I can pop in my server and basically walk away for 45 minutes and I come back and its fully installed. All the directions I have read so far tell me that I have to create a seperate ks.cfg and then I need my original centos cd to get it booted. Then the cd will ask for where the ks.cfg file is and I have to type the location. I just want to pop the CD in and type in linux_clean or something and have it perform a custom install based on the information and specification in my ks.cfg. How can I go about doing this?

View 1 Replies View Related

Ubuntu Installation :: Create A Custom Install Kernel And Initrd?

Mar 26, 2010

I need to install Ubuntu on approximately 50-60 netbooks. None of them have CD drives, and I don't want to have to install them individually, walking around with a USB stick. I figured the fastest way to install on so many machines is to use a combination of apt-cacher (http://www.debuntu.org/how-to-set-up...ith-apt-cacher) and netbooting. I have successfully booted one machine to test, but as soon as the kernel comes up, support for the network interface is gone. Specifically, the "atl1c" module is not included on the netboot initrd image. Also, I would like to try to use preseeding, and I need to get that onto the initrd as well.

So, to summarize my question: How can I create a custom install kernel and initrd? I have a feeling it's related to the "debian-installer" category in the package repository, but I have not found any good documentation about doing this.

View 2 Replies View Related

Hardware :: Load Custom Kernel/install Additional Application On Iomega IConnect?

Feb 28, 2011

I know how to get root access in iConnect and ssh into it. I wanted to know whether we can install any applications on it using the package manager and what package manager it supports, like apt(debian based) or is it based on some other distribution.

View 2 Replies View Related

CentOS 5 :: How To Install Custom Packages

Apr 10, 2009

I'd like to install a package named "pppoeconf" on my CentOS system. I try with "yum install pppoeconf" but the result is "nothing to do" (see below):
It seems that I have missing repositories and I don't know which repositories are good for CentOS. How to fix my repos?

[trixbox1.localdomain yum.repos.d]# yum install pppoeconf
Loading "installonlyn" plugin
Setting up Install Process
Setting up repositories
epel 100% |=========================| 2.1 kB 00:00
kbs-CentOS-Misc 100% |=========================| 951 B 00:00
atrpms-testing 100% |=========================| 2.2 kB 00:00
trixbox 100% |=========================| 1.1 kB 00:00
base 100% |=========================| 1.1 kB 00:00
trixboxaddons 100% |=========================| 951 B 00:00
updates 100% |=========================| 951 B 00:00
kbs-CentOS-Extras 100% |=========================| 951 B 00:00
extras 100% |=========================| 1.1 kB 00:00
atrpms-stable 100% |=========================| 2.2 kB 00:00
addons 100% |=========================| 951 B 00:00
Reading repository metadata in from local files
primary.xml.gz 100% |=========================| 98 kB 00:03 148/148
Reducing RHEL 4 5 - i386 - ATrpms to included packages only
Finished
Reducing RHEL 4 5 - i386 - ATrpms to included packages only
Finished
Parsing package install arguments
Nothing to do
[trixbox1.localdomain yum.repos.d]#

View 1 Replies View Related

CentOS 5 Server :: Make A Custom Ks.cfg DVD For 5 Install

Jan 15, 2010

I need to make a custom ks.cfg DVD for my centOS 5 install. I figured I would download the 5.4.iso. My question is will packages from previous version of centOS 5.0-5-3 work with my 5.4 centOS image?

View 3 Replies View Related

CentOS 5 :: Can't Install Any Rpms From Custom Appliance Build

Jun 15, 2011

We have an appliance with image being installed from CD/DVD installation
This appliance image is based on CentOS 4.7 kernel/installer/etc. Everything works fine, we ship this product for about 2 years. Recently I had to move it (port everything) to CentOS 5.5 Everything went fine and it works fine except one minor thing )) We can't install it from CD/DVD image yet. Actually it start fine, finds kickstart file, creates partitions correctly, copies install image to harddrive, but fails the next step when it tries to install RPM's

The message we get:

Quote:
the file termcap-5.5-1.20060701.1.noarch.rpm cannot be opened. This is due to a missing file, a corrupt package or corrupt media. Please verify your installation source. If you exit your system will be left in an inconsistent state that will likely require re-installation"

View 2 Replies View Related

Debian Configuration :: Nvidia Kernel Module With Custom Kernel

Jan 24, 2010

I have a problem with my custom kernel when I want to create the Nvidia kernel module.After this finished I installed the image and headers and created the Nvidia kernel module. Everything worked fine.However, if I remove the linux-source from my home directory then I can't create the kernel module.Even though I have the headers for the kernel installed.

View 2 Replies View Related

Fedora :: Customized Kernel For Kickstart Installation

Oct 13, 2010

I have successfully setup a kickstart environment for installing the original Fedora 13 using PXE/DHCP/TFTP. Now I want to build a customized kernel and install it using the same Kickstart setup. After building the new kernel.rpm file, what are right steps to do to replace the original kernel rpm in Kickstart RPM directory, like fixing modules dependency, creating new bzImage and intrid etc?

View 2 Replies View Related







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