Description of problem: I am installing Fedora Core 3 to a machine with one IDE drive and one SCSI drive (hda and sda). I am doing a reinstall of the entire system using kickstart (all partitions on both drives removed and rebuilt). The IDE drive get partitions hda1 (ext3, /boot) and hda2 (LVM). The SCSI drive gets partition sda1 (LVM). The partitions get created, the filesystems get formatted, and the installation works just fine. When the system reboots afterwards, I get the message "mount: LABEL=/boot duplicate - not mounted". It turns out that hda1 and sda1 are both labelled as /boot. Version-Release number of selected component (if applicable): How reproducible: Every time I re-install this system Steps to Reproduce: 1. Re-install system 2. Reboot Actual results: Error mounting /boot Expected results: /boot mounted Additional info:
This is because the pvcreate on sda1 isn't wiping out the ext3 metadata.
I assume that "dd if=/dev/zero of=/dev/sda bs=1024 count=?" will clear this out to eliminate the message, but how much so I need to clear?
So pvcreate needs to check for this and optionally wipe it.
Suggest we add the -Z option to pvcreate [like lvcreate], with default value 'yes' unless 'restorefile' or 'uuid' are specified.
In CVS, will get rolled up into next release.
BTW the ext label to wipe is in sector 2 ie wipe 512 bytes at 1024
*** Bug 144827 has been marked as a duplicate of this bug. ***
*** Bug 145082 has been marked as a duplicate of this bug. ***
An advisory has been issued which should help the problem described in this bug report. This report is therefore being closed with a resolution of ERRATA. For more information on the solution and/or where to find the updated files, please follow the link below. You may reopen this bug report if the solution does not work for you. http://rhn.redhat.com/errata/RHBA-2005-192.html