Hello,
I have Qcow2 image and I prepare to import it to KVM with virt-install command. I am not sure what should I type to os-variant directive. Is it generic virtio26 ? Thank you for any help.
Import to KVM
Re: Import to KVM
Hello corsairetc,
I believe the correct variant is debian10. Please let us know if that works for you.
I believe the correct variant is debian10. Please let us know if that works for you.
Best regards,
MarshMan NY, USA
MarshMan NY, USA
-
- Junior Member
- Posts: 5
- Joined: Fri Dec 04, 2020 3:26 am
Re: Import to KVM
Hello, thank you for your advice os debian10 is work fine. But I found much more bigger problem. I am able import the qcow disk but serial access to it not working and I am not sure how to get in for fisrt init :-)
Re: Import to KVM
Hi,
Not sure what you mean by serial access but you should ssh into the server with the username and password of nemsadmin. Use the instructions in the docs here: https://docs.nemslinux.com/en/latest/ge ... ation.html
Not sure what you mean by serial access but you should ssh into the server with the username and password of nemsadmin. Use the instructions in the docs here: https://docs.nemslinux.com/en/latest/ge ... ation.html
Best regards,
MarshMan NY, USA
MarshMan NY, USA
-
- Junior Member
- Posts: 5
- Joined: Fri Dec 04, 2020 3:26 am
Re: Import to KVM
Hello, I mean by serial access console=ttyS0 there is no dhcp server for my kvm network. Whole machines has own static IP address.
I try this command for import.:
Problem is I cant use argument without location but this not work with --import option.
I was enable dhcp server for the kvm network and the nems machine not lease ip I a m not sure what happened inside :-)
I try this command for import.:
Code: Select all
sudo virt-install --name lvs02 --memory 2048 --vcpus 2 --import --disk /mnt/wd1TBraid1/kvm/nems2.qcow2,device=disk,bus=virtio --os-variant debian10 --nographics --network bridge:br0
Code: Select all
--extra-args
I was enable dhcp server for the kvm network and the nems machine not lease ip I a m not sure what happened inside :-)
- Robbie Ferguson
- Posting Freak
- Posts: 835
- Joined: Wed Mar 07, 2012 3:23 pm
- Location: Ontario, Canada
- Contact:
Re: Import to KVM
Hi corsairetc.
Correct me if I'm wrong, but this looks like something that would be good to ask the KVM community. It sounds more like an issue with your KVM setup, not NEMS Linux itself.
Maybe I misunderstand (please feel free to set me straight - haha!) but that's what it looks like.
Good luck - hope you get it figured out!
Cheers,
Robbie // The Bald Nerd
Correct me if I'm wrong, but this looks like something that would be good to ask the KVM community. It sounds more like an issue with your KVM setup, not NEMS Linux itself.
Maybe I misunderstand (please feel free to set me straight - haha!) but that's what it looks like.
Good luck - hope you get it figured out!
Cheers,
Robbie // The Bald Nerd
Re: Import to KVM
Hello,
I agree, this is a KVM implementation issue. Ensure your network is setup to bridge properly otherwise you will get a 192.168.x.x type address which is probably not what your network is using. When I first setup mine, that was my issue.
I am running DHCP and cannot disable it to test.
I also did not use the --nograhics option to get mine up and running
I agree, this is a KVM implementation issue. Ensure your network is setup to bridge properly otherwise you will get a 192.168.x.x type address which is probably not what your network is using. When I first setup mine, that was my issue.
I am running DHCP and cannot disable it to test.
I also did not use the --nograhics option to get mine up and running
Best regards,
MarshMan NY, USA
MarshMan NY, USA