Quantcast
Channel: Ubuntu Forums - Virtualisation
Viewing all articles
Browse latest Browse all 4211

Can't get it up... [eth0]

$
0
0
I have been working on migrating some very old VM's to proxmox.
The original VM's were imported from Xen a long time ago and consist of 3 raw images root/swap/var and used direct kernel boot on KVM. CLI reports ubuntu 4. So we really are talking about ancient alien technology here.

Here's my new config. The only fiddle I have had to do was to create the args line akin to KVM's in order to pass in the boot image etc.

root@proxmox:/etc/pve/qemu-server# cat 104.conf
args: -kernel '/mnt/pve/network-proxmox/images/102/vmlinuz-2.6.24-23-server' -initrd '/mnt/pve/network-proxmox/images/102/initrd.img-2.6.24-23-server' -append 'root=/dev/vda ro console=tty1 console=ttyS0,115200 2'
boot: order=ide2;net0
cores: 1
ide2: none,media=cdrom
memory: 1024
meta: creation-qemu=6.1.0,ctime=1643096624
name: dns
net0: e1000=26:10:6A:80:01:D6,bridge=vmbr1
numa: 0
ostype: l26
smbios1: uuid=558d3c91-171f-4a2c-94b1-1a183300454a
sockets: 1
virtio0: network-proxmox:104/dns-dhcpb2-disk-root.raw,cache=writeback,size=2G
virtio1: network-proxmox:104/dns-dhcpb2-swap.raw,cache=writeback,size=1G
virtio2: network-proxmox:104/dns-dhcpb2-disk-var.raw,cache=writeback,size=2G
vmgenid: ad5512cf-da10-46f0-8a93-e8f6c662640b

Then it boots up and I can log in and I can see the file systems have been mounted so deep joy an happiness except there is no network.
I specified an E1000 which the VM does pick up as eth0. I thought maybe it was too old, but no it recognises it ok.

$ip a shows loop back and eth0 but no inet4 addresses.
$ifconfig -a same.

$ifup eth0 shows
failed to open statefile /etc/network/run/ifstate: no such file or directory.

$ls -l /etc/network shows run is /dev/shm/network

$mount shows that tmpfs is mounted on /dev/shm

Now I don't really know how this part works, but it looks like it couldn't bring up the interface on boot and all the VM's I migrated are the same.
I imagine someone will know exactly where to look and may be able to help me here?

Viewing all articles
Browse latest Browse all 4211

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>