Solved

Red Hat Kickstart errors

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

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

Using 'screen' for session sharing, The Simple Edition Step 1: user starts session with command: screen Step 2: other user (logged in with same user account) connects with command: screen -x Done. Both users are connected to the same CLI sessio…
Join Greg Farro and Ethan Banks from Packet Pushers (http://packetpushers.net/podcast/podcasts/pq-show-93-smart-network-monitoring-paessler-sponsored/) and Greg Ross from Paessler (https://www.paessler.com/prtg) for a discussion about smart network …
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

758 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

Need Help in Real-Time?

Connect with top rated Experts

22 Experts available now in Live!

Get 1:1 Help Now