I have installed RHEV in one HP G9 blade. Now I want to create a guest VM with Linux. In order to proceed I have copied the image to RHEV machine and mounted that iso in /mnt/iso. I am using below command to install:
virt-install --accelerate --hvm --connect qemu:///system \ --network=bridge:control,model=virtio --ram=4096 --vcpus=2 --os-type=linux \ --os-variant=rhel5.4 --nographics --location=/mnt/iso --name=TestVM2 \ --extra-args='console=ttyS0' --disk none
--location=/mnt/iso is my mount point and the iso image is in
I am getting blocked in below screen . Could anyone suggest how to proceed??
What type of media contains the installation image?
The problem is that you provided a directory to the
--location option. When you do this, virt-install can only boot with the kernel/initrd in that directory, but the contents of the directory are not provided to the virtual machine.
The man page also warns about this:
DIRECTORY Path to a local directory containing an installable distribution image. Note that the directory will not be accessible by the guest after initial boot, so the OS installer will need another way to access the rest of the install media.
Using a directory for
--location has this limitation, but other possible parameters do not.
If you intended to provide boot media to the virtual machine, you should instead provide the location of the ISO image. You do not need to mount the image. For example:
This work is licensed under a Creative Commons Attribution-ShareAlike 3.0 Unported License.