Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people, just like you, are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
Solved

Red Hat Kickstart errors

Posted on 2013-11-26
1
627 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

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
wifi not working on Raspberry Pi 3? 2 81
maybe no no httpd.conf 6 62
Bash script - Exit out of choice loop 2 44
AWS EC2 HTTP & HTTPS 2 44
Setting up Secure Ubuntu server on VMware 1.      Insert the Ubuntu Server distribution CD or attach the ISO of the CD which is in the “Datastore”. Note that it is important to install the x64 edition on servers, not the X86 editions. 2.      Power on th…
Note: for this to work properly you need to use a Cross-Over network cable. 1. Connect both servers S1 and S2 on the second network slots respectively. Note that you can use the 1st slots but usually these would be occupied by the Service Provide…
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.

829 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