Bug 53759

Summary: kickstart: partition --ondisk fails without --size
Product: [Retired] Red Hat Linux Reporter: Mike McLean <mikem>
Component: anacondaAssignee: Jeremy Katz <katzj>
Status: CLOSED RAWHIDE QA Contact: Brock Organ <borgan>
Severity: medium Docs Contact:
Priority: medium    
Version: 7.3CC: jguallar
Target Milestone: ---   
Target Release: ---   
Hardware: i386   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2001-09-18 16:09:27 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 Michael A. McLean 2001-09-17 21:18:11 UTC
* re0917.1-ia64
* ia64 / any / any / minimal / Kickstart Install

Description of Problem:

Doing a kickstart install, the partition line for /boot/efi, which should
select an existing partition, gives a traceback complaining that the size
must be specified.  For an existing partition, this should not be
necessary.  Note, that these lines come directly from the anaconda-ks.cfg
file of a previous install.

e.g. something like
part /boot/efi --fstype vfat --onpart /dev/hda1

Comment 1 Josep Guallar-Esteve 2001-09-17 21:33:18 UTC
* test tree re0917.1 IA64

Installed a system with Kickstart. The ks.cfg file had this partitions section:

(...)
clearpart --linux --drives=sda
part /boot/efi --fstype vfat --size=100 --ondisk=sda
part swap --size=1000 --grow --maxsize=2000 --ondisk=sda
part / --fstype ext3 --size=700 --grow --ondisk=sda
(...)

I think that it did not format the /boot/efi partition: The 
/tmp/install.log said that kernel....rpm package was not installed because it 
already was there!

After finishing install, at /root/anacondaks.cfg, I found this partition 
section:

(...)
#clearpart --linux
#part /boot/efi --fstype vfat --noformat --onpart sda1
#part swap --size=1000 --grow --maxsize=2000 --ondisk=sda
#part / --fstype ext3 --size=700 --grow --ondisk=sda
(...)

Note the part on /boot/efi and how it is different of the ks.cfg part, 
specially the "--noformat" part.


Comment 2 Jeremy Katz 2001-09-18 16:09:22 UTC
First one fixed on the anaconda-7-2-branch... still looking at the second one
(which is something completely different)

Comment 3 Jeremy Katz 2001-09-18 19:49:04 UTC
Patch for the second bits being floated past anaconda-list first to avoid silly
problems; should be in CVS later today though.