Red Hat Bugzilla – Bug 43085
RFE: support for block checking and new disk initialization in kickstart
Last modified: 2007-04-18 12:33:30 EDT
In kickstart, if the disk is brand new you have to have a keyboard and a
console to tell it to initialize the disklabel. If there was some way of
telling kickstart to initialize the disk label it would mean I wouldn't
need a console on brand new systems being setup.
Additionally it would be nice if I could tag all or certain disks being
formatted to be checked for badblocks.
So something like
clearpart --all --initlabel
part / --size 1024 --badblocks
that would actually be quite nice.
Can you attach a copy of the kickstart file that you are using?
You are saying that kickstart installs on brand new hard drives require input
from the user?
I can send you one but its kinda moot. Its the same as any other. If you have a
disk that has NO formatting, no dos label, nada then anaconda will ask you about
initializing the disk label before continuning w/the kickstart.
the drive related sections:
part /boot --size 35
part swap --size 1000
part / --size 4000
part /xtmp --size 1000 --grow
lilo --location mbr
if the drive has not been formatted or partitioned before it will pop up a box
and ask you to initialize or cancel.
I think I can get around it with a %pre that calls fdisk and creates a dos
label. but thats not very tidy.
Both options have been added to our internal trees and should be present in the