Red Hat Bugzilla – Bug 232502
Kickstart fails to partition disk, installation fails
Last modified: 2007-11-30 17:11:59 EST
Description of problem:
I'm trying to kickstart F7T2 by booting off the F7T2 DVD, with my ks.cfg file on a floppy. Anaconda
silently fails to partition my disk, and not surprisingly installation later fails when it can't mount any
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Create ks.cfg using system-config-kickstart.
2. Boot system off F7T2 DVD, use 'linux ks=floppy' at the boot: prompt
Installation starts, but eventually stops with the error "An error occurred trying to initialize swap on
device sda2. This problem is serious, and the install cannot continue."
Hitting Alt-F5 shows a console with the message, "/tmp/sda2: No such device or address"
After the error appears, 'fdisk -l /dev/sda' (run from the shell in Alt-F2) shows no partitions at all on
the disk. From the shell, partitioning the disk by hand seems to work correctly.
Disk is partitioned correctly, kickstart installation completes normally.
My system is a development board with an AMD Geode LX 800. The disk is a 1.8" IDE disk (Toshiba
MK2004GAL). We use the system for kickstarting FC4 with no trouble.
Interactive installation works fine, it seems like just kickstart installs are broken.
I've seen this problem in qemu as well. Qemu lets you use a raw disk (launch with '-hda /dev/sdb') or a
disk image; the problem occurs with both raw disk and the image.
Created attachment 150162 [details]
Anaconda log from failed installation
Created attachment 150163 [details]
Created attachment 150164 [details]
Kickstart file with root password removed. I've tried a number of different
combinations of use existing partitions/create new ones, clobber/don't clobber
the MBR, etc. None of them have made a difference. Removing the swap partition
(so it's just / and /boot) doesn't make a difference.
*** This bug has been marked as a duplicate of 232936 ***