Red Hat Bugzilla – Bug 518621
can't install from livecd image in qemu, Formatting does not complete
Last modified: 2010-03-02 09:23:36 EST
Description of problem:
Trying to install Fedora 11 in a virtual machine fails during creation of filesystems.
Version-Release number of selected component (if applicable):
always (well, I tried twice)
Steps to Reproduce:
1. dd if=/dev/zero of=F11.img count=10M
2. wget http://download.fedoraproject.org/pub/fedora/linux/releases/11/Live/i686/Fedora-11-i686-Live.iso
3. qemu -cdrom Fedora-11-i686-Live.iso -boot d -m 512 F11.img
4. run Install to Hard Drive
5. next, next ...
6. partitioning => Use entire drive
7. next ...
the message box:
Creating filesystem on /dev/sda1...
with oscilating progress bar is shown and it stays there "forever" (well, I left it overnight), qemu process takes all the available time of one cpu
the filesystem gets created within a few seconds and the installation moves on
Inside the virtual system, there doesn't seem to be anything working hard - the process with most cpu usage is Xorg, I guess because of redrawing the progressbar ...
There were a bug report a while ago, quite close to yours. IIRC, however, it was related to virtio disks that yours don't use. So probably not that.
One thing to keep in mind, is that your disk is too small. If you are using a journaled filesystem, it might not even be enough to fit the journal. So although it does not make this behaviour acceptable, I'd like to see results using a bigger disk. Please test and tell me if this still happen.
(In reply to comment #1)
> One thing to keep in mind, is that your disk is too small. If you are using a
> journaled filesystem, it might not even be enough to fit the journal. So
> although it does not make this behaviour acceptable, I'd like to see results
> using a bigger disk. Please test and tell me if this still happen.
I'm a bit confused, please could you specify how big the disk should be?
- the mentioned command "dd if=/dev/zero of=F11.img count=10M" prepares a file of size 5 GiB to be used as the disk image, this doesn't seem too small to me
... however, I've tried doubling that, and it is the same also with 10 GiB image
(In reply to comment #0)
> Actual results:
> the message box:
> Creating filesystem on /dev/sda1...
> with oscilating progress bar is shown and it stays there "forever" (well, I
> left it overnight), qemu process takes all the available time of one cpu
Okay, I can reproduce that with /usr/bin/qemu but not /usr/bin/qemu-kvm
Could you confirm that qemu-kvm works for you? (assuming you have a KVM capable machine available)
Any chance you could downgrade to qemu-0.10.5 and see if that helps? How about rawhide qemu?
Oh, btw - I tried booting an existing VM under /usr/bin/qemu with a secondary 5GiB IDE disk and mke2fs worked just fine
No response to needinfo since 2009-09-04, closing
um, sorry, I forgot to report back ... lazy to try F11 again, F12 seems to work just fine (oh and F13 alpha too)