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


ADVERTISEMENT

Fedora :: Recover .config After Building Customized Kernel

Oct 18, 2010

Supposed I have built customized kernel rpm four times in a row and the latest built kernel failed. If I still have all four kernel.xxx.rpm files, is there any way that I could get back the .config file used for each of those four builds? I really could not recall exactly what changes I had made in .config for each build.

View 3 Replies View Related

Fedora Installation :: 13 Partitioning Ignores Customized Partitions

Jun 19, 2010

I'm trying since days to set up my netbook with Fedora and FreeBSD dual-boot and leave some space for a third OS. Most guides suggest to install first FreeBSD and then Linux, that attempt ended up in a disaster (BIOS hangs with the FreeBSD formatted HD connected; disconnect it => boot from USB => reconnect HD => format HD solved that). So I tried the other way around but the installer doesn't like my partitioning all to much.

[Code]...

after the installation sda2 is 300.000MB (the 50G unused were added to /home). Furthermore cfdisk can't open sda anymore (FATAL ERROR: Bad primary partition 1: Partition ends in the final partial cylinder). at my last try the installer canceled due to an error from python. But apparently after it wrote the partition table, cfdisk could display the HD partitions without error and it even was correct! "replace existing Linux systems" didn't work after that either - the partition manager suggested the usual partitioning (using the whole disk), however, "using free space" was able to display the real partition and after repartitioning (suggestion was to keep the old partitions on sda1 and 2 and create the new system in

Code:
rest (~50.000MB) unused ) I could for the first time install the system on the partitions i actually told it to. Unfortunately this doesn't mean the problem is solved for me because I (I did not censor that!! =>) ****ed my HD again with the next try to install FreeBSD (same scenario as mentioned above, but that's a story for the FreeBSD forum) so I'll run into the same issue after I restored my HD (unless i can reproduce the exception).

View 3 Replies View Related

Fedora Installation :: Error At Post Install Scripts For Fedora 10 Kickstart Installation

Nov 18, 2009

I am trying to install fedora 10 kickstart on my server.But I can't, because my kickstart installation hangs at post install scripts.It is not showing any message & stopped.

View 1 Replies View Related

Fedora Installation :: 13 Kickstart Install From HDD ISO?

Jun 1, 2010

I have not used Fedora in a long while (since version 5 I think).I am moving back to it for my new home server but there is something that is driving me completely crazy. Can you no longer do HDD installs from a ISO?I whipped out my old kickstart files and worked off of them and all seams to be OK but every time it says it is unable to find the install source.Here are the first two lines of my KS file:

Code:
install
harddrive --partition=sdb1 --dir=/linux_install/fedora/iso

[code]....

View 1 Replies View Related

Fedora Installation :: F13 Alpha Kickstart On Usb Crashes?

Apr 11, 2010

I am trying to kickstart the F13 alpha from a usb drive.The usb drive is labeled "disk" and is setup with extlinux and can boot fine.My laptop has one hard drive (sda) and the only other drive is the usb (sdbThe ISO is copied on the root of the usb diskI extract the boot files from the F13 Alpha ISO and copy them on the disk also

Code:
cp /mnt/ISO/images/install.img /media/disk/images/install.img
cp /mnt/ISO/isolinux/vmlinuz /media/disk/boot/Fedora/.

[code]....

View 1 Replies View Related

Fedora Installation :: %pre Section In Kickstart Config?

May 2, 2011

Which directly is accessible during the %pre section? I try to use wget to retrieve a file from FTP to /root but after the machine is build, I don't see that file in /root directory.

View 3 Replies View Related

Red Hat / Fedora :: Complete Automated Installation Using Kickstart

Jan 25, 2010

I want to install Red hat based custom OS in a complete automated mode.I ll have my kick start file inside the CD rom and when I boot with that ISO or CD.The OS should start installing by taking parameters from the kick start file without having to specify the path of the kick start file inside the CD.like "linux ks=<path>".Is it possible to achieve this by writing any script or something so that when the CD boots the kick start path is passed automatically to the anaconda installer.

View 5 Replies View Related

Fedora Installation :: Get F14 Updates As Part Of A Kickstart Installation

Apr 5, 2011

I'd like to write a kickstart file that installs available Fedora 14 updates as part of the installation process, much as if I was doing a standard Fedora 14 installation and had enabled the 'updates' repo.

So my question is, is there an easy way to do this? I don't want to have to go down the route of downloading all updated packages and maintaining my own update repo (or indeed, creating a repo with the dependencies listed above).

View 1 Replies View Related

Fedora Installation :: Kickstart DVD Always Requires Internet Access

Sep 7, 2009

I'm trying to set a kickstart DVD for automatically installing Fedora 10 without touching the existing data partitions on our systems. I've got a kickstart file that works great from a kickstart server however I'm having issues with creating an unattended kickstart DVD. I've attached a copy of the kickstart file from the DVD. For some reason even though all the packages we are installing are on the DVD, anaconda always attempts to connected to the internet to get repository information after completing the partitioning. I have changed the install type to 'cdrom' before anyone asks! I have removed my %pre and %post sections as these just copy in some config files and do not touch anything other than local paths.

View 3 Replies View Related

Fedora Installation :: Encrypted Partition Configuration On Kickstart?

Feb 16, 2011

couldn't find anything similar on the forum.I am writing a kickstart for fedora 14 with a partition table similar to:

part / --asprimary --fstype="ext4" --size=10000 --encrypted --passphrase=pass1
part /boot --asprimary --fstype="ext4" --size=130
part /var --fstype="ext4" --size=5000 --encrypted --passphrase=pass1

[code]...

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

Fedora Installation :: Generate A Kickstart File From An Existing Setup ?

Jan 4, 2009

I have recently been given the task of setting up some thirty odd netbooks with F10 and i was wondering if there is a way to generate a kickstart file from the first netbook (my one lol ) that i have setup to our needs so as to use it to create the same install on the rest of the netbooks. i had thought that i could use the anaconda-ks.cfg file in root's home dir but it is not at all representative of the custom package list i chose during the install.

View 8 Replies View Related

Fedora Installation :: F11 - Kickstart Setup For Mirrored Volume Group

Oct 22, 2009

Fedora 11. I am trying to setup kickstart so it lays out a mirrored volume group. I have 2 disks sda and sdb. I want a primary partition on each disk 200mb in size for /boot. This is to be mirrored onto raid device md0 (raid 1). The rest of each disk is to be setup partition which grows to use the remaining space, and is also mirrored (raid 1) md1. Onto md1, I want an LVM volume group called rootvg, and logical volumes set up on there for /, /home, /usr, /tmp etc. I can lay this out manually, and it works fine. However, the code below, which is slightly amended from a previous anaconda-ks.cfg file doesn't work.

Code:
clearpart --linux --drives=sda,sdb --initlabel
part raid.11 --asprimary --size=200 --ondisk=sda
part raid.12 --grow --size=1 --ondisk=sda
part raid.21 --asprimary --size=200 --ondisk=sdb
part raid.22 --grow --size=1 --ondisk=sdb
raid /boot --fstype=ext3 --level=RAID1 --device=md0 raid.11 raid.21
raid pv.1 --level=1 --device=md1 raid.12 raid.22

volgroup rootvg --pesize=32768 pv.1
logvol / --fstype=ext4 --name=rootlv01 --vgname=rootvg --size=512
logvol /home --fstype=ext4 --name=rootlv02 --vgname=rootvg --size=256
logvol /tmp --fstype=ext4 --name=rootlv03 --vgname=rootvg --size=128
logvol /usr --fstype=ext4 --name=rootlv04 --vgname=rootvg --size=3072
logvol /var --fstype=ext4 --name=rootlv05 --vgname=rootvg --size=1024
logvol /opt --fstype=ext4 --name=rootlv06 --vgname=rootvg --size=1024
logvol swap --name=LogVol06 --vgname=rootvg --size=1024

View 2 Replies View Related

Fedora Installation :: User Created W/Kickstart Password Is Wrong

Aug 13, 2010

I have a kickstart script that attempts to create user "joeblow" with an encrypted password. The user is created okay, but the password does not seem to "take". After installation is complete, and the system is rebooted, this is the relevant portion of /etc/passwd:

Code:

This is the relevant portion of /etc/shadow:

Code:

Where there are two exclamation points, I would expect the encrypted password (as is the case for the root user, which is also created in the kickstart file).

The relevant line in my kickstart file looks like this:

Code:

That password string, which is 34 characters, is the word "password", encrypted with this command:

Code:

Also in my kickstart file is this line:

Code:

After the install is complete, I reboot and attempt to log in as "joeblow", but no dice. If I log in as root, and manually put the above encrypted password into /etc/shadow for jowblow, I can then log in as joeblow.

View 2 Replies View Related

Fedora Installation :: FC12 Kickstart Installation From CD

Sep 8, 2010

I have made the ks.cfg file with system-config-kickstart and placed it in the root Disk1.iso's root directory.I then made the Disk1.iso with the changes done and burnt the whole Installation image on a CD-ROM.The machine was booted with the the Disk1 and it went well till disk partitioning.Then suddenly installation halted with a message: "Unable to read package metadata. This may be due to a missing repodata directory. Please ensure that your install tree has been correctly generated.

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

Ubuntu Installation :: Create A Customized DVD

May 4, 2010

how I can create a customised Ubuntu Iso.Cause ive spent hours trying to customise ubuntu and finally it meets my requirements .I dont want to go through the process of doing all that again incase anything goes wrong.I like to have a DVD which if I install would load all the codecs, wallpapers, applications the way they are right now. so in other words : I would like to create an ISO image with all my applications and stuff that would install automatically If Godforbid I reinstall Ubuntu again.

View 3 Replies View Related

Ubuntu Installation :: Customized Install Of 10.04rc From CD?

Apr 24, 2010

I have the cd image for the install cd of ubuntu 10.04 release candidate. Before I install it, is there anyway to specify which of the default packages I DO NOT want to install (via command line arguments or some other means). There is ALOT of things I DO NOT want, like firefox, "cloud one", "social features", totem, rythmbox, "music store", empathy. I know that the cd allows you to adjust the command arguments for the install command, and something tells me that there should be an argument for specifying which packages to install/not-install or to choose from a list or something to the same effect.

View 1 Replies View Related

Ubuntu Installation :: Make A Customized Bootable Dvd?

May 9, 2011

i have installed ubuntu on a virtual machine. i have also installed it on a hardisk partition. i have edited some package files and install the packages. it works great. now i want to ship this whole thing to my client. Can anybody tell me how could i make a bootable ubuntu cd so that my customized file are there in the cd and when the client installs ubuntu from this dvd he will get all the cusotmized packages preinstalled

View 2 Replies View Related

Red Hat / Fedora :: Make A Customized ISO Of The Operating System?

Dec 30, 2010

Can one make a self booting installation ISO on a flash drive of Fedora 14 as it is, with all my files being in the new install, so I can install this modified operating system on my relatives computers just like I have it on mine, or for if ever the operating system on mine fails, so I can use this flash drive ISO to reinstall the operating system on mine just like I like it, just like it is now? If this can be done, please tell me how you do it, or kindly provide me with a link to a page that has this information.

View 4 Replies View Related

Fedora Installation :: How To Install Kernel Source Tree Of Fedora 14's Current Kernel?

Feb 23, 2011

I have installed the fedora 14, but there is no kernel source tree.I read the doc "building a custom kernel".But I don't want to rebuild a new kernel.I just want to install the source tree of current kernel.Could someone tell me the way?

View 6 Replies View Related

Fedora Installation :: FED13 Kickstart - Client Failed - Loader Failed To Mount

Jun 27, 2010

I have configured the remote installation of Fedora 13 with kickstart with nfs installation method. All work ok until I boot the Fedora 13 client system.

Fed13 client system receives the IP address from dhcp, receives the loader, loads vmlinuz and initrd.img from tftp, load anaconda, configures the network and dev eth0, mounts nfs server to load kickstart file, loads kickstart file (language...) but when it tries to mount nfs server to install from Fedora 13 installation tree it fails.

First, I thought that I had an error on my NFS configuration but I was wrong. I opened tty with ALT+F4 on the Fedora 13 client and I sew this error:

Code:

Is this a bug or can I modify anything to correct this error? How?

View 3 Replies View Related

Fedora Installation :: Error "Unable To Read Group Information From Repositories" - Kickstart Install Of F11

Jun 19, 2009

I'm doing a Kickstart install of Fedora 11 with a DVD ISO as the installation source and the ks.cfg file in the root folder of the DVD. The error message I get is: "Unable to read group information from repositories. This is a problem with the generation of your install tree."

View 3 Replies View Related

Fedora :: Where To Customized *desktop Files Go For System Wide Changes

Jul 4, 2011

making changes to *.desktop files in /usr/share/applications works for all users, but gets overwritten when those packages are updated. You lose all customizations. Placing the customized ones in~/.local/share/applications works, but you have to do that for all users (pain!). So, what folder do they go in for system wide changes, but safe from updates?

View 2 Replies View Related

Fedora Installation :: Errors For VirtualBox / Kernel Source For Kernel 2.6.32.11-99.fc Cannot Be Found?

Apr 21, 2010

Trying to install virtualbox in F12 but fails when recompiling kernel module. Output of vbox-install log is:

Attempting to install using DKMS
removing old DKMS module vboxdrv version 3.1.6
Deleting module version: 3.1.6
completely from the DKMS tree.
Creating symlink /var/lib/dkms/vboxdrv/3.1.6/source ->
/usr/src/vboxdrv-3.1.6

DKMS: add Completed.

Error! Your kernel source for kernel 2.6.32.11-99.fc12.i686.PAE cannot be found
at
/lib/modules/2.6.32.11-99.fc12.i686.PAE/build or /lib/modules/2.6.32.11-99.fc12.
code....

View 6 Replies View Related

Fedora Installation :: Making A Kernel Patch Work With F11 Kernel?

Jun 12, 2009

there is an issue with the way the Linux Kernel addresses memory by default and the graphic drivers for my Asus G1Sn. I have a patch that I had compiled against a custom kernel for 2.6.27.xx how ever it does not work with the latest kernel in Fedora 11. It is beyond me to rewrite the patch to work with a different kernel.

View 1 Replies View Related

Fedora Installation :: Xen-kernel - Unable To Boot In Normal Kernel

Feb 11, 2010

I use a pretty fresh installed RHEL 5.4, which should be very similar to Fedora. After the basic installation I installed xen and xen-kernel via yum with no errors. I can select the xen-kernel at boot time. But after booting the normal kernel shows up.

[root@noname boot]# uname -r
2.6.18-164.11.1.el5

My /boot/grub/menu.lst looks like:

default=1
timeout=5
splashimage=(hd0,0)/grub/splash.xpm.gz

[code]....

I can't see anything wrong and I did not change/try anything.

View 11 Replies View Related







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