[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

can't start hvm with network



From: Paul Leiber <paul@xxxxxxxxxxxxxxxx>

Am 17.03.2025 um 16:01 schrieb Kevin Wang:

Unfortunately, I don't have the knowledge to analyze the output you
posted in detail. What comes to my mind, though: Did you set up a
network bridge on Dom0?

Duh, I thought I could setup xen from memory, so indeed I didn't have xenbr0

However, installing it didn't help, same failure.
 
On another note: Why are you using HVM for setting up a linux DomU?

Partially because this is the ~10th server I've set up, and I've been mostly using the same set of instructions.

...PV should the better option

Took me two hours to find instructions (not just HOWTOs that have unexplained dependencies like what /tmp/filename is) but this seems to work to at least get me into the installer. I'll have to reboot and set the system up after I get home from work:

mkdir /mnt/iso
mount -o ro /d/dmg/ubuntu-24.04-live-server-amd64.iso /mnt/iso
mkdir /d/dmg/ubuntu-24.04-casper
cp /mnt/iso/casper/vmlinuz /d/dmg/ubuntu-24.04-casper/vmlinuz
cp /mnt/iso/casper/initrd /d/dmg/ubuntu-24.04-casper/initrd
umount /mnt/iso

cat >/etc/xen/auto/couch5 <<'__EOF__'
kernel = "/d/dmg/ubuntu-24.04-casper/vmlinuz"
ramdisk = "/d/dmg/ubuntu-24.04-casper/initrd"
extra="modules=loop,squashfs console=hvc0"
disk = [
       'format=raw, vdev=xvda, access=w, target=/dev/mapper/ubuntu--vg-couch--disk',
       'format=raw, vdev=xvdb, access=w, target=/dev/mapper/ubuntu--vg-couch--home',
       'format=raw, vdev=xvdc, access=r, devtype=cdrom, target=/d/dmg/ubuntu-24.04-live-server-amd64.iso'
      ]
vif = ['bridge=xenbr0']
memory = 12288
name = "couch"
vcpus = 2
maxvcpus = 2
__EOF__
xl create /etc/xen/auto/couch5
xl console couch


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.