Bug 53759 - kickstart: partition --ondisk fails without --size
Summary: kickstart: partition --ondisk fails without --size
Alias: None
Product: Red Hat Linux
Classification: Retired
Component: anaconda   
(Show other bugs)
Version: 7.3
Hardware: i386
OS: Linux
Target Milestone: ---
Assignee: Jeremy Katz
QA Contact: Brock Organ
Depends On:
TreeView+ depends on / blocked
Reported: 2001-09-17 21:18 UTC by Mike McLean
Modified: 2007-04-18 16:37 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2001-09-18 16:09:27 UTC
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

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 

#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.

Note You need to log in before you can comment on or make changes to this bug.