Red Hat Bugzilla – Bug 154862
kickstart fails to install grub on previously unformatted partition
Last modified: 2007-11-30 17:11:04 EST
Description of problem:
When kickstart installing on a (SATA) disk where the root partition has not
previously been formatted with mkfs.*, grub fails to install.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Totally erase the disks (dd if=/dev/zero of=/dev/sda)
2. Repartition the disk
3. Do a kickstart install
The root filesystem is formatted as part of the kickstart installation, then
grub fails as follows:
grub> root (hd0,4)
File system type unknown, partition type 0x83
grub> install /boot/grub/stage1 d (hd0) /boot/grub/stage2 p (hd0,4)
Error 17: Cannot mount selected partition
After rebooting, the system hangs.
A bootable system.
Rerunning kickstart solves the problem, since then grub correctly picks up the
filesystem type from the previous installation, so it seems like grub tries to
pick up the filesystem type from some location that is initialized at boot,
instead of reading it from the partition.
This should be fixed with post-fc3 grub.