Bug 43085

Summary: RFE: support for block checking and new disk initialization in kickstart
Product: [Retired] Red Hat Linux Reporter: Seth Vidal <skvidal>
Component: anacondaAssignee: Jeremy Katz <katzj>
Status: CLOSED RAWHIDE QA Contact: Brock Organ <borgan>
Severity: medium Docs Contact:
Priority: medium    
Version: 7.1Keywords: FutureFeature
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Enhancement
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2001-07-11 23:03:42 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Seth Vidal 2001-05-31 18:18:52 UTC
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
zerombr yes
clearpart --all --initlabel
part / --size 1024 --badblocks

that would actually be quite nice.

thanks

Comment 1 Brent Fox 2001-06-04 15:11:56 UTC
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?

Comment 2 Seth Vidal 2001-06-04 15:17:46 UTC
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:

zerombr yes
clearpart --all
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.



Comment 3 Jeremy Katz 2001-07-17 18:48:44 UTC
Both options have been added to our internal trees and should be present in the
next release.