Solved

Red Hat Kickstart errors

Posted on 2013-11-26
1
632 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
[X]
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
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

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Suggested Solutions

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…
In the first part of this tutorial we will cover the prerequisites for installing SQL Server vNext on Linux.
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:

734 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