[libvirt-users] How to create a guest os from existing disk image file with virt-install

Rajiv Rajaian rajiv.care at gmail.com
Thu Jul 22 04:35:29 UTC 2010


Hi Carla Araujo

I have tried the option with --import still the guest os is not
booting.. If any body tried this option please help me


On 7/19/10, Carla Araujo <carla.asouza at gmail.com> wrote:
> Hi Rajiv
>
> On Mon, Jul 19, 2010 at 02:45, Rajiv Rajaian <rajiv.care at gmail.com> wrote:
>
>> Hi
>> I want to the create the guest os from existing configured disk
>> /var/lib/libvirt/images/centos.img.. What modifications should be done
>> with
>> my configuration file ??
>>
>
> You can import the *.img* executing virt-install with this parameters (this
> is just an example):
> virt-install --name NewVM --ram 512 --vcpus 1 --disk path=/var/lib/libvirt
> /images/centos.img *--import* --noautoconsole --force
>
> -- Carla
>




More information about the libvirt-users mailing list