Solved

Red Hat Kickstart errors

Posted on 2013-11-26
1
626 Views
Last Modified: 2013-11-27
Hi Guys,

I'm having issues with my ks.cfg that was auto-generated by anaconda and I'm trying to use it as a template to build 6 additional servers with the same settings. However when my kickstart is parsed by the Red Hat installation, I'm getting a partition was not created error. Does anyone know what I can be doing wrong or do I need to repartition everything from scratch?

Best regards

clearpart --all

#part None --fstype=efi --label="ESP" --onpart=sda1 --noformat
#part None --fstype=vfat --label="DIAGS" --onpart=sda2 --noformat
#part None --fstype=vfat --label="OS" --onpart=sda3 --noformat
#part /boot --fstype=ext4 --onpart=sda4
#part pv.008005 --grow --size=282478

Open in new window

0
Comment
Question by:Tbalz
1 Comment
 
LVL 19

Accepted Solution

by:
xterm earned 500 total points
ID: 39679431
The first 3 reference existing partitions that are selected to not be formatted, and there are no labelled partitions for swap or for root (/).  Also, pv.008005 is probably proprietary in some way to the first system you installed.  Finally, all are commented out anyway, so they're not even being read even if they were correct, which I'm sure they're not for your new systems.  Do your new systems already have pre-existing EFI and DOS/Windows partitions created?

This is what my (working) ks.cfg looks like for partitioning:

# Partition clearing information
clearpart --all
# Disk partitioning information
part /var --fstype="ext4" --size=16384
part swap --size=8192
part / --fstype="ext4" --grow --size=200

Open in new window

0

Featured Post

Master Your Team's Linux and Cloud Stack!

The average business loses $13.5M per year to ineffective training (per 1,000 employees). Keep ahead of the competition and combine in-person quality with online cost and flexibility by training with Linux Academy.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Determine Who is Runnig my Bash Shell Script 4 80
is my large folder zipped corrupted 4 66
Run same command on multiple files in Linux 3 32
ftp to port 21 4 43
Linux users are sometimes dumbfounded by the severe lack of documentation on a topic. Sometimes, the documentation is copious, but other times, you end up with some obscure "it varies depending on your distribution" over and over when searching for …
I. Introduction There's an interesting discussion going on now in an Experts Exchange Group — Attachments with no extension (http://www.experts-exchange.com/discussions/210281/Attachments-with-no-extension.html). This reminded me of questions tha…
Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.

770 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question