[SOLVED] Migration ubuntu VHDX proxmox

Kenny43

New Member
Feb 15, 2024
9
1
3
Im migrated hyper-v UBUNTU os proxmox. Ubuntu working now but ı have network problem this picture
ubuntu.JPG
 
What Proxmox VE Version did you use? "pveversion -v"

Do you use an Container or a full virtual machine?

Please post your vm configuraton:

Container: "pct config <CTID>"
VM: "qm config <VMID>"

What networkcontrol tool did you use in the VM? Network Manager, Netplan....?
 
I migrated my virtual machine, which normally runs in hyper-V, to Proxmox 8.2.2 with StarWind V2V Converter. When I start my machine, there is a situation like the picture in the post. There is no IP coming from DHCP.

Netplan


Ekran Alıntısı.JPG
 
Last edited:
Thank you for the VM-config. You can still optimize here, but the VM should definitely be runable with everything that goes with it.

Basically, Ubuntu's are very easy to migrate everywhere. You make an export from hyperv and import it back into Proxmox. Or copy everything with rsync into a prepared virtual machine.
Maybe something went wrong with the automatic converter.

What you get with the following commandos in ubuntu?
Code:
networkctl
nmcli
ip a
cat /proc/net/dev

And importan, the logs inside from the ubuntu vm. For example, only the erros:

Code:
journalctl -r -p3
or a bit more information:
Code:
journalctl -r -p4
 
Solved my problem step by step

open Ubuntu console

rm /etc/netplan/*.yaml

then shutdown ubuntu

Open proxmox VM hardware delete networkadapter and then add new networkadapter

Start VM ubuntu

ifconfig

Seen adapter name enp6s18

sudo nano /etc/netplan/01-netcfg.yaml

write new yaml file insert

network:
version: 2
renderer: networkd
ethernets:
enp6s18:
dhcp4: true

ctrl+o then ctrl+x save file

sudo netplan apply

Now working my virtual machine Dhcp.;);)
 
  • Like
Reactions: fireon
Solved my problem step by step

open Ubuntu console

rm /etc/netplan/*.yaml

then shutdown ubuntu

Open proxmox VM hardware delete networkadapter and then add new networkadapter

Start VM ubuntu

ifconfig

Seen adapter name enp6s18

sudo nano /etc/netplan/01-netcfg.yaml

write new yaml file insert

network:
version: 2
renderer: networkd
ethernets:
enp6s18:
dhcp4: true

ctrl+o then ctrl+x save file

sudo netplan apply

Now working my virtual machine Dhcp.;);)
I'm glad it works now. And thanks for showing the solution with us! :)
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!