I tried this also without the "size" argument for "disk"
Now, the install begins ok. I do a http install from a nearby mirror.
BUT when it is time to do partitions, I get
> Which drive(s) do you want to use for this installation? |
> |[*] vda 0 MB (Unknown) ^ |
> |
And if I now try to create partitions, I get "no space" error.
What is going on??
Cheers to CentOS!
- Jussi
--
Jussi Hirvi * Green Spot
Suvilahdenkatu 1 B 78 * 00500 Helsinki * Finland
Tel. +358 9 493 981 * Mobile +358 40 771 2098 (only sms)
jussi.hirvi@greenspot.fi * http://www.greenspot.fi
_______________________________________________
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos
04-21-2011, 04:04 PM
Paul Heinlein
KVM virt-install on disk image - "no space"
On Thu, 21 Apr 2011, Jussi Hirvi wrote:
> I guess I need the list again.
>
> I try to install my first KVM guest. Here is what I do, and finally,
> what I stumble on.
>
> First I created a qcow2 img:
In my experience, virt-install will create the disk image when passed
a filename via --disk="path=/path/to/nonexistent/disk.dsk,size=15"
In other words, I'd suggest skipping the disk-creation step...
--
Paul Heinlein <> heinlein@madboa.com <> http://www.madboa.com/
_______________________________________________
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos
04-21-2011, 08:17 PM
Jussi Hirvi
KVM virt-install on disk image - "no space"
On 21.4.2011 19.04, Paul Heinlein wrote:
> In my experience, virt-install will create the disk image when passed
> a filename via --disk="path=/path/to/nonexistent/disk.dsk,size=15"
>
> In other words, I'd suggest skipping the disk-creation step...
Thanks Paul - it works! I wonder if the disk image will be of type
qcow2. I guess I will soon find out.
- Jussi
--
Jussi Hirvi * Green Spot
Suvilahdenkatu 1 B 78 * 00500 Helsinki * Finland
Tel. +358 9 493 981 * Mobile +358 40 771 2098 (only sms)
jussi.hirvi@greenspot.fi * http://www.greenspot.fi
_______________________________________________
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos
04-21-2011, 08:25 PM
Jussi Hirvi
KVM virt-install on disk image - "no space"
On 21.4.2011 23.17, Jussi Hirvi wrote:
> I wonder if the disk image will be of type
> qcow2. I guess I will soon find out.
Nope. Command "qemu-img info.." tells me that the image type is "raw".
But I don't think I need any of the qcow2 specialties.
- Jussi
--
Jussi Hirvi * Green Spot
Suvilahdenkatu 1 B 78 * 00500 Helsinki * Finland
Tel. +358 9 493 981 * Mobile +358 40 771 2098 (only sms)
jussi.hirvi@greenspot.fi * http://www.greenspot.fi
_______________________________________________
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos
04-21-2011, 11:57 PM
Tsuyoshi Nagata
KVM virt-install on disk image - "no space"
Hi Jussi
After installing guest image,
Convert it from raw to qcow2 by "convert" command.
qemu-img convert -f raw disk0.raw -O qcow2 newdisk0.qcow2
Now you can mount newdisk to empty VM with virt-manager.
Or you can edit <DOMAIN>.xml as follows..