As discussed in Bug 757106, it is often useful in virtualized environments to write partitions directly to the raw disk devices exposed to the VM by the host. You might be tempted to achieve this by adding the following pre block: %pre mkfs.ext4 -f /dev/xvda %end part / --onpart /dev/xvda But then Anaconda fails with this: you have not created a bootloader stage1 target device /boot filesystem cannot be of type disk xvda must have one of the following disklabel types: gpt,msdos. Because it fails in "Automatic Partitioning Errors", I don't think there are logs. This is the correct thing to do for normal installs, so it probably should be a configurable option somewhere.
(In reply to comment #0) > As discussed in Bug 757106, it is often useful in virtualized environments to > write partitions directly to the raw disk devices exposed to the VM by the > host. Partitions do not exist without a partition table (aka disklabel). What you are describing is creating filesystems on unpartitioned disks. Please remind me why you cannot create a disklabel on the device. > Because it fails in "Automatic Partitioning Errors", I don't think there are > logs. There are always logs. > > This is the correct thing to do for normal installs, so it probably should be a > configurable option somewhere. I'm not sure where you got that notion from, but it is incorrect.
(In reply to comment #1) > Partitions do not exist without a partition table (aka disklabel). What you are > describing is creating filesystems on unpartitioned disks. Correct. > Please remind me why you cannot create a disklabel on the device. If the device has no disklabel on it, we can interact with the underlying LV in the host VM without having to use kpartx in order to read the partition table. We can and do have disklabels on our devices right now, but this treated more as a wart than expected behavior. > > Because it fails in "Automatic Partitioning Errors", I don't think there are > > logs. > > There are always logs. Where are they stored? (certainly not on the disk, which it failed to partition.) If there are logs, I guess they would have to be captured using remote logging? > > This is the correct thing to do for normal installs, so it probably should be a > > configurable option somewhere. > > I'm not sure where you got that notion from, but it is incorrect. I think there is a slight misunderstanding here: the "correct thing" is to error when we discover no disklabel on a partition. That is to say, if I am installing a Fedora machine on some physical hardware, it's reasonable for the installer to get confused if /dev/sda has no disklabel on it. So, what is being said here, is that *removing* these checks probably isn't a good idea, because they are usually correct. The request is to allow these checks to be disabled, if the user knows what they are doing.
This message is a reminder that Fedora 16 is nearing its end of life. Approximately 4 (four) weeks from now Fedora will stop maintaining and issuing updates for Fedora 16. It is Fedora's policy to close all bug reports from releases that are no longer maintained. At that time this bug will be closed as WONTFIX if it remains open with a Fedora 'version' of '16'. Package Maintainer: If you wish for this bug to remain open because you plan to fix it in a currently maintained version, simply change the 'version' to a later Fedora version prior to Fedora 16's end of life. Bug Reporter: Thank you for reporting this issue and we are sorry that we may not be able to fix it before Fedora 16 is end of life. If you would still like to see this bug fixed and are able to reproduce it against a later version of Fedora, you are encouraged to click on "Clone This Bug" and open it against that version of Fedora. Although we aim to fix as many bugs as possible during every release's lifetime, sometimes those efforts are overtaken by events. Often a more recent Fedora release includes newer upstream software that fixes bugs or makes them obsolete. The process we are following is described here: http://fedoraproject.org/wiki/BugZappers/HouseKeeping
Fedora 16 changed to end-of-life (EOL) status on 2013-02-12. Fedora 16 is no longer maintained, which means that it will not receive any further security or bug fix updates. As a result we are closing this bug. If you can reproduce this bug against a currently maintained version of Fedora please feel free to reopen this bug against that version. Thank you for reporting this bug and we are sorry it could not be fixed.