Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

Red Hat Kickstart errors

Posted on 2013-11-26
1
Medium Priority
?
638 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 2000 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

Moving data to the cloud? Find out if you’re ready

Before moving to the cloud, it is important to carefully define your db needs, plan for the migration & understand prod. environment. This wp explains how to define what you need from a cloud provider, plan for the migration & what putting a cloud solution into practice entails.

Question has a verified solution.

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

If you have a server on collocation with the super-fast CPU, that doesn't mean that you get it running at full power. Here is a preamble. When doing inventory of Linux servers, that I'm administering, I've found that some of them are running on l…
SSH (Secure Shell) - Tips and Tricks As you all know SSH(Secure Shell) is a network protocol, which we use to access/transfer files securely between two networked devices. SSH was actually designed as a replacement for insecure protocols that sen…
Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.
How to Install VMware Tools in Red Hat Enterprise Linux 6.4 (RHEL 6.4) Step-by-Step Tutorial
Suggested Courses

688 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