As of May 31, 2023, we have updated our Code of Conduct.

Questions tagged [kickstart]

Kickstart is the method of automated installation of Linux Systems based on Red Hat or their clones (CentOS, Scientific Linux, Unbreakable Linux, ...)

Filter by
Sorted by
Tagged with
0 votes
0 answers
18 views

Kickstart %ksappend Filepath

I'm trying to modularize my kickstart file; in particular, I'd like the %pre section to live in a separate file brought in using the %ksappend statement. However, this consistently fails with the ...
SixDegrees's user avatar
1 vote
2 answers
759 views

install rhel9 system using kickstart over http fails

I am trying to install a rhel9 system (vm) with a kickstart file. The kickstart file was created using the anaconda-ks.cfg from a manual install of a previous rhel9 system (changed the ks file with ...
eliko's user avatar
  • 53
2 votes
0 answers
125 views

Module RPMs makes kickstart installation of RHEL based distributions unusable

The title of the post has it all. The first steps to migrate from CentOS 7 to Rocky Linux 8 fail (in my eyes) because of module RPMs. If something is installed the traditional way via dnf, dnf notices ...
Volker Raschek's user avatar
0 votes
1 answer
120 views

Questions about PV.<ID> syntax in ks.cfg

Here just for example: part pv.01 -size=100 -grow -ondisk=/dev/sda part pv.02 -size=300 -grow -ondisk=/dev/sdb Is the purpose of the PV.<ID> usage merely used to customize the initial size of ...
lylklb's user avatar
  • 3
2 votes
0 answers
36 views

completely media-less kexec install of a rhel-based distro?

I'd like to be able to install a small redhat server from kexec without media being present on the system during the installation (no hdd, removable media, or network). This seems feasible because I ...
Brian Chrisman's user avatar
0 votes
0 answers
84 views

Kickstart for CentOS9

Is there a kickstart feature in CentOS9? When I try to install system-config-kickstart I am getting the following message No match for argument: system-config-kickstart Error: Unable to find a match: ...
Imran Afzal's user avatar
0 votes
1 answer
135 views

Kickstart Partitions

Hi I wrote the kickstart file for centos 7. It works great but in some machines because of partitioning 2 disk drives which should be determined like sda and sdb I have issues USB boot drive is ...
gertz's user avatar
  • 3
0 votes
0 answers
64 views

AppStream dependencies in offline kickstart medium

I have the requirement to provide an installation medium based on Rocky minimal, which contains several packages out of the AppStream repo (but not all, due to media size constraints). To accomplish ...
user39950's user avatar
  • 101
0 votes
1 answer
67 views

Force to create admin user, if root was locked

I've created a kickstart file for automated installation of CentOS 7. Idea is to make foolproof oem installation, so root is locked, user have to be created on final part of installation. But here is ...
Artem Chernyshev's user avatar
0 votes
0 answers
353 views

Kickstart installation with media on USB and kickstart file on hard drive

Is it possible to perform a kickstart installation using install media on a USB drive and a kickstart file on a hard drive? The only solutions I have been able to find online suggest adding the ...
Ibanez's user avatar
  • 1
0 votes
0 answers
55 views

How to access (mount) the local hard drive and create a file in the %pre module of the Kickstart script?

I want to access (mount) the local hard drive and create a file in the %pre module of the Kickstart script. But it doesn't seem to work. Please help me, thanks! The ks.cfg code is like this: %pre #!/...
CPUHOW's user avatar
  • 1
1 vote
0 answers
67 views

Spacewalk kickstart installation does not automatically begin until the enter key is pressed

I am trying to automate the linux installation process using Spacewalk 2.10. Everything else seems to be working, except I have to select the boot option by manually pressing the enter key. Otherwise, ...
heavyguidence's user avatar
0 votes
0 answers
62 views

Have Kickstart generate a root password based on boot menu input

Is there a way to have kickstart generate root password based on boot menu input? For example if boot menu is: LABEL TEST_BOOT KERNEL mykernel APPEND -c test.cfg ks=file://kickstart.cfg ...
user2719735's user avatar
0 votes
0 answers
1k views

Centos Stream 9 boot iso stuck during kickstart

I am trying to install a Centos Stream 9 boot iso on my mac M1 via VMware Fusion. I already solved a lot of issues that were preventing me to start installation. Now I get to the installation (I am ...
YFrickx's user avatar
0 votes
0 answers
523 views

Kickstart Fedora server iso using usb

Hi I need to create a Fedora Server image with my application in it using kickstart installation. I have executed following steps : Downloaded the fedora35 Image from https://getfedora.org/en/server/...
dchourey's user avatar
0 votes
1 answer
406 views

Centos Kickstart - partitioning fails because of arbitrary disk order

I've prepared a kickstart file for a Red Hat Virtualization 4.4 VM with 3 virtio-scsi disks with different disk sizes: # System bootloader configuration bootloader --append=" crashkernel=auto&...
msr's user avatar
  • 33
1 vote
0 answers
577 views

How to prepare custom Alpine Linux ISO for unattended installation

I am evaluating Alpine Linux to replace CentOS, Currently we prepare Custom ISO with kickstart for unattended installations. In my case from unattended I mean that deployer just put USB and after that ...
ImranRazaKhan's user avatar
1 vote
1 answer
339 views

Can you use a proxy server to retrieve a kickstart file?

I would like to access a kickstart file through a proxy. The kickstart file is hosted on the public internet but the server doing the install can only access the internet through a proxy. The ...
dranobob's user avatar
  • 151
1 vote
1 answer
459 views

How to redirect the kickstart output to the serial console?

I am trying to automate a server build using HP's ILO virtual serial interface to avoid the advanced license. When the kickstart file is running, none of the output is sent to the serial console. ...
dranobob's user avatar
  • 151
0 votes
0 answers
95 views

How to force creating an extended partition in before the last primary partition in kickstart?

I am searching for a way to write a kickstart partition section where I can control precisely which partitions are primary, and which partitions are secondary partitions in a extended partition. I don'...
iXô's user avatar
  • 111
1 vote
1 answer
397 views

Can't install RedHat 8.4 offline from DVD

I'm trying to install RedHat 8.4 on a workstation in an isolated network. Is there a way to do it without connecting to the web or a server on the same network ? The GUI does not seem to provide the ...
cg_foreau's user avatar
  • 113
1 vote
2 answers
2k views

OEL8 kickstart install on ESXi - hangs at "Reached target Basic System" - why?

I am trying to install OEL8 on ESXi 7 with a kickstart file. I have the ks.cfg hosted on an http server on the local subnet. The ks.cfg settings are taken from a manually installed OEL VM's anaconda-...
ohlylo's user avatar
  • 11
1 vote
1 answer
559 views

KVM/QEMU CentOS 8 kickstarted VMs have broken networking, are unreachable

I can't understand why the VMs I create using virt-install & kickstart do not have networking that can be accessed reliably from foreign hosts. The VMs I created using virt-manager can be logged ...
mr.zog's user avatar
  • 911
1 vote
0 answers
228 views

IPXE boot on amd based architecture with NVME

We have a quite big infrastructure and now we started to use AMD based servers instead of the intel ones with 1 nvme only for os. We are using ipxe to kickstart the servers but for some reason with ...
Rebron Treborn's user avatar
0 votes
1 answer
677 views

Ubuntu Kickstart - LVM Partitioning using two HDD's not working and fdisk -l output makes no sense on successful single disk deploy

I have read so many kickstart configs and pressed recipes that my head is spinning, and I just need some help or clarification regarding this. Before I go too much into the config, the gist is that I ...
PM5K's user avatar
  • 101
0 votes
0 answers
277 views

Centos 8 Kickstart installation ignoring custom partioning

I am installing Centos 8 on a hard drive that already has a Centos 7 installation. I created a kickstart file by performing the installation manually. When I try to use the kickstart file it fails ...
user810702's user avatar
4 votes
0 answers
1k views

Users created in Kickstart unable to authenticate

Thanks to the answers to this question, I've been happily generating Kickstart files for Scientific Linux 6 and 7 for the past 5 years. However, we're now starting to build out some test systems with ...
miken32's user avatar
  • 914
0 votes
0 answers
713 views

CentOS 8 KVM under CentOS 7 -- Kickstart Network Install Fails

We have CentOS 8 KVM running under CentOS 7. Everything seems to be working well for us once the KVM is up and running. We are using kickstart to bootstrap the KVM. We are having problems ...
Greg Sims's user avatar
  • 101
1 vote
1 answer
358 views

Centos7 PXE Network Install with Kickstart Script - How to copy across folders / files from network during install?

I have a PXE server for network installations (configured similar to, e.g. https://www.linuxtechi.com/configure-pxe-installation-server-centos-7/) and am using a Kickstart script to automatically ...
SLater01's user avatar
  • 113
1 vote
1 answer
3k views

Kickstart create users and add to groups

I'm doing a CentOS 8 automated install. I've previously had no problem creating a single user and adding it to a group like so: user --name=othername --password=big_long_hash --iscrypted --groups=...
miken32's user avatar
  • 914
1 vote
2 answers
2k views

PXE kickstart install of CentOS 8 wants files that don't exist on DVD

I'm trying to use the CentOS-8-x86_64-1905-dvd1.iso as the http source for my PXE/kickstart install. I'm struggling to understand why the installer is looking of squashfs.img and a directory named ...
mr.zog's user avatar
  • 911
0 votes
0 answers
94 views

pass an anaconda boot option to a kickstart file in rhel7 initial install

Is there a way to pass an anaconda boot option to a kickstart file, where it could be used as a variable. Say anaconda boot cmd is xxxx ip=xxx.xxx.xxx.xxx netmask=255.255.255.0 gateway=xxx.xxx.xxx.1 ...
BMc's user avatar
  • 1
1 vote
1 answer
184 views

Where to store configuration files available in kickstart into custom Centos ISO

Context Centos 7 Kickstart Issue According to RH documentation : --nochroot: Allows you to specify commands that you would like to run outside of the chroot environment. The following ...
Alrick's user avatar
  • 143
0 votes
0 answers
41 views

Creating a script for Kickstarting servers; issue with created softraid 1 server based on CentOS 7

First off; I am sorry if my title is incorrect, but I didn't want to "clutter" it too much. I am creating a bash script which is used to install various servers based on CentOS 6 and CentOS 7 with ...
HudsonHawk's user avatar
0 votes
1 answer
189 views

Bonding Fails in Kickstart %pre Section

I am trying to setup a bonded network from the %pre section of a CentOS 7 kickstart. I can prove the the following bonded network works: network --device=mynetwork --bondslaves=eth0,eth1 --bootproto ...
Agricola's user avatar
  • 131
0 votes
0 answers
326 views

Ubuntu 16.04. Netinstall kickstart fails

i'm trying to install a server via pxe with ubuntu 16.04. server. So what does fine is the PXE Boot label install (x86_64 - Ubuntu 16.04) menu label Installer (x86_64 - Ubuntu 16.04) ...
Kjellson's user avatar
0 votes
0 answers
524 views

kickstart installation is not starting on redhat linux (AWS)

I want to make a kickstart installation of centos 7 however, the VM starts but route me to a manual textuel installation (which succeeds). I run this commad to start the installation virt-install -...
Adel ESSAFI's user avatar
0 votes
1 answer
2k views

Execute half of the %post section of a kickstart in a nochroot environment and the other half in a chroot environment

I am trying to execute a script that performs certain security configurations on my recently installed system. Much of the script refers to files starting with / as the base directory which presents ...
peachykeen's user avatar
0 votes
1 answer
3k views

Have a kickstart file run an independent script file from its %post section

If I wanted to run a shell script that was its own file from my RHEL7 kickstart's %post section, where would I need to put that extra file and what would be the path I would use to run it? For example,...
peachykeen's user avatar
1 vote
3 answers
7k views

Kickstart CentOS 7 with pre-defined static IP and hostname (%pre) and used in KS, possible?

I don't know if this is possible, but going to ask anyways. I am trying to Kickstart newer servers of us with CentOS 7. So far I got most working, however for some reason if I use variables in the %...
HudsonHawk's user avatar
0 votes
0 answers
2k views

Unable to open input kickstart file curl#37

Getting the below error while installing from ks.cfg unable to open input kickstart file curl#37 Couldn't open file /tmp/swappart Here am trying to include /tmp/swappart file from pre section under ...
user3132525's user avatar
3 votes
2 answers
4k views

Kickstart CentOS 7 with software RAID 1, but no LVM needed

I am going to Kickstart a CentOS 7.x installation with software RAID 1 remotely for the first time. So I am kinda inexperienced at this and wondering what I need to make this work correctly. A CentOS ...
HudsonHawk's user avatar
0 votes
1 answer
619 views

GRUB installing CentOS 7 on CentOS 6 machine with kickstart

I am wondering if someone can provide some help. I am trying to do an automated install (with kickstart file) with CentOS 7 on a CentOS 6 server. However I have failed multiple times so far. I did ...
HudsonHawk's user avatar
1 vote
1 answer
1k views

RHEL 7.6 - Bootable USB created with kickstart only works on the system it was created on

[Edit] I got it to work using this thread: https://access.redhat.com/discussions/1422213 The actual script was simlar to this: mkdir "/var/tmp/RHEL-7.6 Server.x86_64" # cd "/run/media/jradtke/...
Jack BeNimble's user avatar
2 votes
1 answer
271 views

Can I use variables when referring to volume groups and logical volumes in a kickstart file?

I have variables set up in the %pre section that look like this: %pre VOLGROUP=$(lvdisplay |grep VG | awk '{print $3}' |head -1) vgchange -a y $VOLGROUP ROOTVOL=$(lvdisplay |grep root | grep Path | ...
mr.zog's user avatar
  • 911
2 votes
1 answer
3k views

Kickstart install: what disk name should I tell Anaconda to use? (Installer running from USB thumb drive.)

I'm running the CentOS 7.6 installer from a USB thumb drive using a kickstart file. I'm installing to a system that has only one disk. In the bash shell of the installer, my system's hard drive shows ...
mr.zog's user avatar
  • 911
1 vote
1 answer
270 views

Using a kickstart file with liveinst

I have a kickstart file that I generated while doing a manual, graphical install. I'm trying to use this kickstart file while booted to CentOS-7-x86_64-LiveGNOME-1810.iso and running /usr/bin/...
mr.zog's user avatar
  • 911
1 vote
2 answers
312 views

How do I resize a logical volume to the size of the filesystem within it?

Target system is CentOS 6.x but resizing operations will be done in %pre section of CentOS 7.6 kickstart. I have already run resize2fs -M /dev/mapper/centos-home successfully. If I mount the volume,...
mr.zog's user avatar
  • 911
1 vote
1 answer
227 views

Is it possible to check the available space of a Linux logical volume without mounting it?

I have a project that requires me to shrink the root and home volumes on an existing CentOS 6 install to make room for a CentOS 7 install on a customer's bare metal host. Yes, I know what a bad idea ...
mr.zog's user avatar
  • 911
0 votes
2 answers
1k views

Firewall rules not working in post script of kickstart

I am installing centos with kickstart and during installation in post script it suppose to update device over tftp. in my script i trigger that device which ultimately copy firmware from my system(...
ImranRazaKhan's user avatar

1
2 3 4 5 6