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


ADVERTISEMENT

Red Hat :: Centos/RHEL5.4 : Anaconda-Kickstart And UUID?

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

CentOS 5 :: Kickstart With Unknown Number Of Network Interfaces

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

CentOS 5 :: KickStart Fails With 5.5 Version

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

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

Slackware :: Mkinitrd -Warning: The Initial RAM Disk Is Too Big To Fit Between The Kernel A The 15M-16M Memory Hole"

May 7, 2011

I used mkinitrd to build an initrd from the slackware 2.6.37.6 sources. Lilo throws the following: "Warning: The initial RAM disk is too big to fit between the kernel a the 15M-16M memory hole. It will be loaded in the highest memory as though the configuration file specified "large-memory" and it will be assumed that the BIOS supports memory moves above 16M."

Also, I am running swap, / and home on an encrypted volume group. When the initrd boots (but prior to mounting the encrypted vg) I get a message saying that no modules are found-sounds like a daft question but is this expected? I expect that this is because initrd is looking for modules, but can't find them because the relevant partition isn't mounted.

View 2 Replies View Related

Slackware :: ERROR: No /lib/modules/2.6.33.4-smp Kernel Modules Tree Found For Kernel "2.6.33.4-smp" ... For Mkinitrd - Encrypted Installation

Jul 22, 2010

I am trying to setup Slacware 13.1 x86_64 to a encrypted partition. I used the README_CRYPT.TXT howto : [URL] At the step when I create an initrd.gz I get this error: Quote: ERROR: No /lib/modules/2.6.33.4-smp kernel modules tree found for kernel "2.6.33.4-smp"

I tried to look into the directory and there was only modules under 2.6.44.3. So I tried to change the command into: Quote: mkinitrd -c -k 2.6.33.4 -m ext3 -f ext3 -r cryptroot -C /dev/sda2

This command was successful, but I don't know if this is alright. I made the changes in lilo.conf, add initrd = initrd.gz. This is all on unencrypted /boot partition. The boot=/dev/sda1 I also set for the unencrypted boot partition. When I boot the system I get a kernel panic:

[Code]....

View 5 Replies View Related

Fedora Installation :: Once It Says Its Loading Anaconda, Screen Either Goes Blank, Or The Anaconda Fails And The Install Exits?

Apr 9, 2009

I'm trying to build a dual boot ubuntu 8.10 and fedora 10.I have ubuntu sucessfully installed. with a free partition ready for fedora.I cant seem to get fedora past the beginning of the install. Once it says its loading anaconda, my screen either goes blank, or the anaconda fails and the install exits, telling me to reboot my system.I have downloaded the DVD twice. once from the website, and i think when I bruned it it didn't burn right, I then downloaded it from torrent just to be safe and reburned at the slowest speed. It passes the media test.

I have been reading around it may be cause of my video card?My computer is the following.AMD Athlon +2400 XPXFX Nvidia Geforce 6800 GT or something close.80 gig hard drive1.5 gigs of DDR ram.MSI Motherboard not sure of model off top of my head.I really wanna get this dual boot working, As I feel fedora may have advantages over ubuntu. I was going to try to get ahold of another video card, and maybe try that. What do you think I should do

View 14 Replies View Related

Fedora Installation :: Mkinitrd Can Make Initrd Image With All Hdd Driver - Config To Everytime Update Kernel?

Jul 16, 2009

I install fedora on my usb-hdd. Sometimes i boot it from real machine, sometimes i boot from virtual machine (kvm). When I boot from real machine, hdd driver is usb-storage, when i boot from virtual machine hdd drivers are ata_generic and pata_acpi.

Everytime i update kernel, mkinitrd only create initrd image contains only hdd driver current running, and I must recreate initrd manual with all preload hdd driver. How to config fedora to everytime update kernel, mkinitrd can make initrd image with all hdd driver I need?

View 2 Replies View Related

CentOS 5 :: Cannot Install CentOS 5.4 On Embedded System Anaconda Exception?

May 1, 2010

I am trying to do a basic install of CentOS 5.4 on my embedded computer. It is a Linutop 2 system with a AMD Geode 800MHz CPU and 512Mb Ram. Have installed an IBM 40Gb 2.5" HD for OS storage. I am doing the install procedure in text mode. Everything goes as planned until I get to the package selection.

1. Booting from (i386) DVD with "linux text" parameter.
2. Skipping media check.
3. Selecting "English" install language.
4. Selecting "DK-latin1" as keyboard layout.
5. Selecting "Remove all partitions and create default layout" and selecting "no" to modifying partition layout.
6. Selecting "yes" to configure "eth0" and mark to enable "IPv4" on boot.
7. Selecting DHCP for IP configuration and Manual host name.
8. Setting time zone to "Europe/Copenhagen".
9. Setting root password to a 16 digit alphanumeric pass-phrase.
10. De-selecting "Desktop - Gnome" (no other entries selected).

When the system is checking for dependencies, an exception

Traceback (most recent call first):
File "/usr/lib/python2.4/site-packages/yum/packageSack.py", line 426, in returnNewestByName
raise PackageSackError, 'No Package Matching %s' % ui_pats
File "/tmp/treedir.22057/instimage/usr/lib/anaconda/yuminstall.py", line 1072, in getBestKernelByArch
pkgs = ayum.pkgSack.returnNewestByName(pkgname)

[Code]...

View 1 Replies View Related

CentOS 5 :: Mkinitrd Not Updated - Error Unpacking RPM Package

Jun 4, 2010

Recently I updated to centos 5.5 , every thing is fine , but the mkinitrd can't updated

When try:
yum clean all
yum update

The output :
Loading mirror speeds from cached hostfile
* addons: mirror.cogentco.com
* base: pubmirrors.reflected.net
* extras: mirror.highspeedweb.net
* updates: mirror.cogentco.com
Excluding Packages in global exclude list
Finished
Setting up Update Process .....

Error unpacking rpm package mkinitrd-5.1.19.6-61.el5_5.1.i386
error: unpacking of archive failed on file /lib/bdevid/ata.so: cpio: rename
Failed:
mkinitrd.i386 0:5.1.19.6-61.el5_5.1
Complete!

View 19 Replies View Related

CentOS 5 :: How To Update To Kernel Version >= 2.6.27 Via Yum

Oct 9, 2010

i'm currently running centos 5 with kernel version 2.6.18-92.1.22.el5 is there any way to update to kernel version >= 2.6.27 via yum ? if not via yum is it advisable to compile from source?

View 5 Replies View Related

CentOS 5 :: How To Downgrade Kernel Version

Feb 2, 2010

Currently I am running 2.6.18.10-1.el5 but I would like to go back to 2.6.18. I would like to know how this can be done via command line?

View 3 Replies View Related

CentOS 5 :: Any Possibility To Install Centos 5.5 On Ext4 By Anaconda?

Jul 14, 2010

It is any possibility to install centos 5.5 on ext4 by anaconda ? Is ext4 filesystem is secure for files server (samba) ?? In anaconda installer there is only ext2, ext3 choice.

View 16 Replies View Related

General :: CentOS 5.3 - Updating To Next Kernel Version

Feb 7, 2010

I have just downloaded CentOS 5.3. The kernel version is 2.6.18.xx However, when I updated the kernel version has not changed. Still 2.6.18. Unless something went wrong with the updates. The most up to date kernel is 2.6.31.xx I was thinking shouldn't it update to this new kernel? On my Fedora 12 I have 2.6.31. However, I thought the kernel of 2.6.18 would have been updated as least a little.

View 4 Replies View Related

CentOS 5 :: Why Is Kernel Much Older Than Current Stable Version?

Jan 21, 2010

I just ran "yum update" to download the latest kernel from the repository, and noticed that it's 2.6.18-164.11.1 while the latest on www.kernel.org is 2.6.32.4.Out of curiosity, why is there such a discripency between the two? Lack of resources to test and build binaries?

View 5 Replies View Related

CentOS 5 Networking :: Replacing The Kernel To The Non Xen Version If I Dont Have The Install CDs?

Jan 9, 2010

I have recently set up a CENTOS server using the kernel 2.6.18-164.el5xen (x64 5.4 Install I believe). Originally I set it up with Xen to becasue I was goig to create the odd VM on it, however I no longer need to do this.Further, I believe I am having networking issues due to the installation of Xen. The machine cannot seem to locate any network addresses (eg websites) unless I put in a hosts entry for them. I believe this networking issue would be easier to rectify if the virtual networking interfaces for Xen were not installed but to do this requires a Kernel replacement. Im not experienced with doing this and the machine is located remotely to me and I dont have the original install CD available.How would I go about replacing the kernel to the non Xen version if I dont have the install CDs?

View 1 Replies View Related

Fedora :: Anaconda Failure / "A Crash In The Anaconda-12.46-2.fc12 Package Has Been Detected"?

Sep 29, 2010

I have F12 and been using the livecd-creator command since F9 to create liveUSB devices which are used to install Fedora on all the systems (nearly 100) I support at different sites ensuring they have the same build/configuration. About a week ago, I created a new image and when I attempt to install to hard drive, there is an ABRT message displayed;

"A crash in the anaconda-12.46-2.fc12 package has been detected"

Also see attached file.Now I am not able to install to hard drive.

It appears this is a known bug which has been reported at url.and that there is not fix planned. Can anyone confirm this?

If this is the case, does it mean that the �Install to Hard Drive� feature will no longer be available?

View 2 Replies View Related

Server :: Customizing CentOS Welcome Message In Anaconda?

Jan 31, 2011

I am just customizing CentOS and would like to change "Welcome message[image is attached] to something that I wanted. I went trough the anaconda source rpm and found that OS name is being picked by %s and not sure what %s refers to or where is that variable it pointing to.

View 2 Replies View Related

CentOS 5 :: Install Crashes Upon Launching Anaconda

May 26, 2009

I've recently been trying to put Centos on a PC which I have had Windows 2000 server on up until now. The system has an Intel SCSI RAID Controller which seems to be successfully detected before the graphical stage is reached. The system is fairly old now and consists of a p3 processor and 320mb of ram. However when the installer reaches the point of launching Anaconda in graphical mode it seems to start to load but then the system immediately boots itself down Quoting an Abnormal Setup Termination however gives no more details than that. I have tried changing the graphics card to no effect. I am not sure if anyone knows what could be causing the problem the media also shuld be ok as I have used it successfully on other systems.

View 4 Replies View Related

CentOS 5 :: Anaconda Unmounting DVD From External Drive

Oct 25, 2010

I have an external DVD burner hooked up to an EEE PC 701SD. The disk has worked on a dell desktop computer, and a 701 (the first eee pc which I built the install on) without a problem, however when I boot up the install disk on the 701SD, I get a message telling me it's unable to download the kickstart file. It's being set to cdrom:/ks.cfg, which should work, but it isn't.... This exact same disk just did a full install on the 701 15 minutes before I ran it on this computer.

View 8 Replies View Related

CentOS 5 :: Anaconda Does Not Support DHCP Option 121 / Resolve This?

Nov 29, 2009

Following situation:
I'm trying to make a network-installation of my rootserver with CentOS 5.4 x86_64.
This server is hosted by 1and1 a company of the united internet group, which is a big player in europe.
The network environment of 1and1 is providing classless static routes via dhcp by using the dhcp option 121.
If i'm right anaconda does not support this dhcp option 121 and therefore does not "ask" for the routes.
Without the routes configured the traffic does not get through and the network installation fails.
An installation from fedora12 (anaconda 12.46) works without any problems.

Is there someone in the dev team that can patch or backport it?

View 13 Replies View Related

CentOS 5 Networking :: Network Install / Static Changes To Dhcp In Anaconda

May 10, 2010

I'm trying to install CentOS 5.4 from my local repo, booting the server from centos54-netinstall iso (vmware). I write "linux URL..." during boot. I eventually get prompted for network config, where I choose manual configuration. Hitting OK ignores my config and defaults back to dhcp, which won't work since I don't have any dhcp server available.Whats wrong? Is there a bug in anaconda?

View 1 Replies View Related

Debian :: Compiling Kernel - 2.6.26 Version Of Kernel Doesn't Longer Exist In Kernel.org Website

Sep 16, 2010

i'm using this guide videos - howto: debian linux kernel compilation, part 1 and the author says i need kernel 2.6.26 this version of kernel doesnt longer exist in kernel.org website and the only 2.6.26 i found is a patch here. should i use the patch? or download another version of kernel?

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

CentOS 5 :: System-config-kickstart Error In CentOS 5.3?

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

Fedora Installation :: Cannot Find Anaconda-runtime In /usr/lib/anaconda-runtime

Feb 16, 2011

After installing Fedora 14 and being satisfied with the behaviour and the packages installed for it, i want to replicate the same installation in a few more PCs, so i installed Revisor to make with it an iso file that reflects my actual installation.

The problem is that if i run the software from Applications->System tools->Revisor, nothing happens after giving the user password.

Then i run it from a consele and this error is produced after giving my password: "Cannot find anaconda-runtime in /usr/lib/anaconda-runtime"

But anaconda is the environment used for installation, so it is installed from the very begining. Why this happens?

View 1 Replies View Related

CentOS 5 :: Vsock: No Version For "VMCIDatagram_Send" Found: Kernel Tainted?

Sep 18, 2009

I upgraded form CentOS 5.2 to CentOS 5.3 and from VMware Server 2.0.0 to VMware Server 2.0.1 all work fine,but during boot when VMCI is loaded I've got the following message:kernel: vsock: no version for "VMCIDatagram_Send" found: kernel tainted.What does it mean? Have I to worry about it?

View 2 Replies View Related







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