f10 installation using qemu-img/qemu-kvm from the shell

Clyde E. Kunkel clydekunkel7734 at cox.net
Mon Mar 23 14:41:38 UTC 2009


On 03/23/2009 10:18 AM, kashyap wrote:
> Hi folks,
>
> so has any one seen this weird behaviour, or is it me  ?
>
> what I'm trying to do : Install an F10 virtual machine  via qemu-kvm .
> (from the shell) . On a lenovo X200 running F10.
>
> How : I used the below
>
>    #sudo qemu-img create -f qcow2 f10.qcow2 10G
>    #sudo qemu-kvm -m 1024 -boot d -cdrom /export/isos/F10-i686-Live.iso
> -hda f10.qcow2 -localtime
>
> Here,I did an install on hard drive, once all the packages are
> installed, it fails to reboot(the screen blacks out). Now I try to
> invoke the VM via
> #sudo qemu-kvm fedora10.qcow2
>
> Result : the below error is what I'm thrown.
>
> -----------------------------
> could not detect stabilization, waiting 10 seconds
>
> Reading all physical volumes. This may take a while
>
> found volume group "volgroup00" using metadata type lvm2
> unable to access resume device (/dev/VolGroup00/LogVo101)
>
> mount: error mounting /dev/root on /sysroot as ext3 : no such file or
> diretory
> -----------------------------------
>
> Other Info:
> (1) I booted into "single" user mode, and my  /etc/fstab says the below
> ---------------------------------------
> [root at f10 /]# cat /etc/fstab
> #
> # /etc/fstab
> # Created by anaconda on Mon Mar 23 01:04:38 2009
> #
> # Accessible filesystems, by reference, are maintained under '/dev/disk'
> # See man pages fstab(5), findfs(8), mount(8) and/or vol_id(8) for more info
> #
> /dev/VolGroup00/LogVol00 /                       ext3  defaults         1 1
> UUID=5d9e7d9a-106a-48fa-a82a-1618a5c47a18 /boot
> ext3    defaults        1 2
> tmpfs                   /dev/shm                tmpfs
> defaults             0 0
> devpts                  /dev/pts                devpts  gid=5,mode=620  0 0
> sysfs                   /sys                    sysfs   defaults        0 0
> proc                    /proc                   proc    defaults        0 0
> /dev/VolGroup00/LogVol01 swap                    swap    defaults
> 0 0
> ----------------------------------------------
> (2) KVM version: kvm-74-10.fc10.i386
>
> Does anyone see anything weird here??
>
> Please let me know if any other information is required.
>
>
> -- kashyap
>

I believe you have hit the initrd fails to see root=UUID=etc, etc. 
Substitute the actual partition name, i.e.,

  root=/dev/VolGroup00/LogVol00 in the grub.conf kernel line.

The upgrade rpm, then rest of upgrades.




More information about the fedora-test-list mailing list