[libvirt-users] KVM Virtualisation, Console output no longer working

tony at specialistdevelopment.com tony at specialistdevelopment.com
Wed Dec 15 12:46:37 UTC 2010


> On Wed, Dec 15, 2010 at 12:06:27PM -0000, tony at specialistdevelopment.com
> wrote:
>> Hi,
>>
>> I used to use KVM for virtualisation and have now moved back to it, but
>> I
>> have a problem.
>>
>> When i used to install the guest machine with virt-install i used to use
>> the -x "extra args" part to set the console for the install and guest,
>> but
>> it no longer works.
>>
>> Here is the command i use:
>>
>> virt-install -n server01 -r 512 --os-variant=virtio26 -c /isos/c5u5.iso
>> --nographics --noautoconsole -f /storage/vm/server01 -s 5 bus=virtio -w
>> bridge:br0 -x "console=ttyS0 ks=http://www.domain.com/c5u5.cfg"
>> As you can see im setting the console to ttyS0, but then when i go to
>> connect to the console with:
>
> You are doing a CDROM based install. The kernel args for that are set
> in the syslinux config file inside the ISO image and can't be overriden
> using -x. The -x arg only works when doing a kernel+initrd install
> (ie --location instead of --cdrom/-c)
>
> Daniel
>

OK, still rather stuck, so i have created a directory with contents of the
DVD, now what do i need to do? I guess i need to get virt-install using
the initrd and vmlinuz from there? or is that wrong?

Kind Regards

Tony




More information about the libvirt-users mailing list