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
ADVERTISEMENT
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
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
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
Apr 14, 2010
That the Linux bridge configuration does not work afer I upgraded the kernel to 2.6.33.2. Why I can't find the device vmbr0?
[Code]...
View 10 Replies
View Related
Jun 24, 2009
I dont know if this is possible or not but here what I would like to do. I have 6 linux server and each has 100GB disk space. All of these 6 box are compute nodes and space are not used really. However, If I can combine 6 servershard disk that will in total 6*100GB gives you quite a bigger space. Is there any tool or ways to mount these drive in one volume instead of mounting individually ?
View 2 Replies
View Related
Jul 1, 2010
I need to install a voice recording application on a server.My problem is that I have four hard disks with 150 GB storage space each. So I have 150*4 = 600 GB Storage available as whole .I need all four hard drives (600 GB ) as single volume to store and retrieve recording .
View 1 Replies
View Related
Apr 9, 2011
I am installing a number of boxes with RHEL 6, using a kickstart file I made and put on a boot disk.I am having trouble, however, when using this disk. The boot loader recognizes my kickstart file, but when it prompts me that it can't find the RHEL distro on my disk, and that I need to insert the DVD that contains the distro, I cannot eject the CD. Button pushy, no ejecty. I tried a paper clip to open the drive, but even after inserting the distro disk this way, it doesn't see it. It's like anaconda is wrapped around the mount of the boot disk and won't let go.
There's nothing special I need to have in the kickstart file for this to work right? I have thought about putting an eject statement in the post section, but that isn't even used until the OS is installed is it? I can get around this by creating a distro DVD with my kickstart file, but I'd rather not do that, and use the kickstart/boot disk functionality as intended.
View 2 Replies
View Related
Oct 16, 2009
my Fedora 11 system is not starting anylonger. It stops with the message:
Code:
VFS: Can't find ext4 filesystem on dev dm-0
The system told me since a while, that a lot of the sectors of one disk of the (software) RAID compound are failed already. So tried to disconnect each of the disks and start them separately. Unfortunaltly this is not working (for one its is not working at all, the other wents the same far as with both), when I tried to recover the system with the Fedora DVD, it said no distribution found. I am quite new and do not know so much about linux system, so i do not know what further information you could need. Maybe it can be important, that both disks are encryped (the system wents so far, that I can type in the password).
View 2 Replies
View Related
Aug 1, 2010
I had done a new lucid install to a 1 TB RAID 1 array using the alternate CD a few weeks back. I messed up that system trying to some hardware working that lucid doesn't have drivers for yet, so I gave up on it and reinstalled to a single 80 GB disk that I now want to move over to the RAID array.
I moved all of the existing files on the array to a single folder, then copied all of the folders from the 80 GB disk over to the array with permissions and symlinks (minus the contents of /proc and /sys, which I created empty).
These are the commands I used:
Quote:
p -a -d -R -v -t /media/raid_array /b*
cp -a -d -R -v -t /media/raid_array /d*
cp -a -d -R -v -t /media/raid_array /e*
cp -a -d -R -v -t /media/raid_array /h*
[Code]....
I tried to change fstab to use the 689a... for root, but when I try to boot, it's still trying to open /dev/disk/by-uuid/412d...
So then I booted from the single disk again and chrooted into the array, then ran update-initramfs -u. I got 3 "grep: /proc/modules: No such file or directory" errors, and "cat: /proc/cmdline: No such file or directory"- so I created directory /proc/modules, created an empty file /proc/cmdline, and ran the initramfs update again. Then I tried to shut down, which hung (probably because I was doing all of this from a terminal window in Gnome), so I killed the power after a couple of minutes.
It's still trying to use /dev/disk/by-uuid/412d... to boot.
What am I missing? I assume I just have to change the UUID to mount as root, but I don't know how.
View 2 Replies
View Related
May 6, 2009
I have an old server based on Tyan Thunder LE-T (s2518UGN),: embeeded VGA - ATI Rage XL two Intel Pentium III (PGA370) processors at 1133 MHz 512 MB ECC RAM embeeded Dual Intel 82559 LAN controllers 10/100Mbps embeeded Adaptec 7899W NT Ultra160 SCSI Adaptec SCSI RAID 2000S (PCI card to support for bootable RAID 5) 3x Seagate HDD ST318438LW connected in RAID 5 instaled OS was RedHat 8 rack case (2U) It worked fine but one disk from array failed.
I provided backup and decided use two mirrored SATA disks Seagate ST3500320NS HDD ES.2 500GB with PCI SATA controler Kouwell KW-5125 (SiI3124 chipset) inserted through PCI riser card (2U case). (I can't replace old SCSI disk because it isn't available any more.) I disabled SCSI controler in BIOS and removed Adaptec SCSI RAID 2000S PCI card. I inserted PCI SATA controler connected both SATA disks and configured mirroring.
[Code]....
View 10 Replies
View Related
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
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
Dec 14, 2010
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.
View 6 Replies
View Related
Jun 24, 2010
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...)
View 7 Replies
View Related
Sep 18, 2009
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.
mkdir /mnt/sysimage/mnt/temp
mount -t nfs 10.1.1.1:/home /mnt/sysimage/mnt/temp
cp -f /mnt/sysimage/mnt/temp/passwd /etc/passwd
cp -f /mnt/sysimage/mnt/temp/group /etc/group
[code].....
View 6 Replies
View Related
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
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
Jun 20, 2010
I had upgraded to 10.04 but can not use kernel 2.6.32-22.32+, I had to go back to kernel 2.6.31-21. because of the default video driver had change from the one kernel to the other, and I do not know how the correct it. In 2.6.32-22 the font would change and to a smaller size and I can barely view anything because it looks like some two year old puke a box of crayons all over the screen.
Second issue is it does not matter what power-saving mode I am in, in 5 minutes time it with go into suspension. Or right after coming out of hibernate, it will go into suspension indefinitely and no coming out of it and must to a hard boot.
View 6 Replies
View Related
Oct 17, 2010
I just upgraded the kernel from 2.6.32-24 to 2.6.32-25. When it was finished it logged me out of XFCE without warning (is that normal)? Now if I try to log in to XFCE the screen goes blank and I just get returned to the login screen. I can log in to GNOME however. I get the same problem if I boot into -24 or -25.
View 2 Replies
View Related
Aug 25, 2010
I recently upgraded my Debian kernel to 2.6.35 via backports and reinstalled my graphic driver. But when I try to use certain apps, it just sits there in the taskbar trying to load for a couple minutes, then automatically closes itself. Specifically I've noticed the nvidia x-server menu and open office doing this, while they both worked fine before I upgraded the kernel. some apps will do this, while others will work fine.
View 3 Replies
View Related
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
Jan 6, 2010
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:
Code:
# Kickstart file
#
[code]....
View 3 Replies
View Related
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
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
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
Nov 5, 2010
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:
%pre
cp /mnt/source/disks-ks.cfg /tmp/
%include /tmp/disks-ks.cfg
%post
[Code]...
View 9 Replies
View Related
Apr 22, 2011
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.
View 3 Replies
View Related
Aug 28, 2010
I just installed kernel version 2.6.26-rc2.5.1, but "uname -r" is still giving me 2.6.36-rc2-5-default. Am I booting with the new kernel? How can I tell? If not, how do I create a new boot option?
View 9 Replies
View Related
Feb 5, 2010
This the second time it has happened after the security upgrade to kernel 2.6.31-19 with a clean shut down it goes into the grub menu and will not boot.
View 9 Replies
View Related