Red Hat Bugzilla – Bug 242492
Kickstart installation from DVD image on harddrive fails
Last modified: 2007-11-30 17:12:06 EST
Description of problem:
I tried a kickstart installation of Fedora 7 using a DVD image on the hard disk.
The first few lines of the ks.cfg file were as follows:
# Kickstart file automatically generated by anaconda.
harddrive --partition=sdb2 --dir=/upgrade/Fedora-7-i386
Anaconda aborted with the following message:
The following error was found while parsing your kickstart configuration:
The following problem occurred on line 4 of the kickstart file:
One of biospart or partition options must be specified.
Attempting to open this ks.cfg file in system-config-kickstart gives the same error.
Line 4 is the "harddrive" command, but the syntax of this looks correct (as far
as I can tell). I had a look at the parser code in pykickstart. After applying
the following patch to commands/method.py, the file loaded OK in
system-config-kickstart. I guess the same patch would allow a kickstart
installation to proceed, if it were applied to the installation media.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Create a kickstart ks.cfg file that includes the "harddrive" command
2. Launch a kickstart install using this file, or try to open it in
Fails with the error message shown above.
Kickstart install should proceed.
Created attachment 156083 [details]
Patch for commands/method.py
Thanks for the patch. This will be fixed in the next build of pykickstart.
This bug is now addressed by an updates image. It is available for download at:
Instructions for using updates disks are located at:
If possible, please test this image out and report if it fixes your issue or
not. Once we are confident that your issue is solved by this image, we are
going to announce it more publicly. This fix may also be included in an updated
anaconda package later for people who are making custom Fedora distributions.
Thanks for your time.
Yes, a kickstart install of Fedora 7 from hard disk completes OK using this
I noticed some error messages on the screen just as anaconda was exiting at the
end of the install. The system rebooted before I could read them properly. I
don't think they were there on an interactive install without the updates disk.
Sorry I can't be more precise - if I see them again I'll try to capture them.
The installed OS looks fine, on a quick check over.
pykickstart-1.1.1-1.fc7 has been pushed to the Fedora 7 testing repository. If problems still persist, please make note of it in this bug report.
pykickstart-1.1.1-1.fc7 has been pushed to the Fedora 7 stable repository. If problems still persist, please make note of it in this bug report.