Description of problem:
Apparently there has been a change in the way that anaconda handles the install harddrive option from the kickstart file. Based on the documentation at
the --dir parameter of the harddrive option should point to the root directory of the installation tree.
Instead, we found that for the correct operation, we have to give the full path of stage2's install.img in the --dir parameter.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Unpack the Fedora 10 installation DVD on an empty ext3 partition (/dev/sda6).
2. Create a kickstart file (ks.cfg) on the same partition, specifying harddisk --partition=/dev/sda6 --dir=/
3. Create a boot loader entry with the kernel and initrd found in the images/pxeboot/ directory of the install DVD, specifying ks=hd:/dev/sda6/ks.cfg in the kernel parameters, and boot with this configuration.
Installation fails after starting STEP_STAGE2. The relevant log messages:
mounting device sda6 for hard drive install
Path to stage2 image is /mnt/isodir
failed to mount loopback device /dev/loop0 on /mnt/runtime as /tmp/install.img
Installation should continue with STAGE2.
Replacing --dir=/ with --dir=/images/install.img in the kickstart file gives the expected results.
Is this better in rawhide? There was a bug I fixed that prevented finding the install.img correctly, which could also have fixed this bug too.
(In reply to comment #1)
> Is this better in rawhide? There was a bug I fixed that prevented finding the
> install.img correctly, which could also have fixed this bug too.
Chris, can you point us to related fixed bug?