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

Re: xen domu problems



On 2021-02-13 06:25, Manfred Haertel, DB3HM wrote:
Bill MacAllister schrieb:

# /usr/sbin/xl create /etc/xen/zoot-lab-2.domain.com.cfg
Parsing config from /etc/xen/zoot-lab-2.corp.domain.com.cfg
xc: error: panic: xc_dom_core.c:208: failed to open file '/boot/vmlinuz': No such file or directory: Internal error

The relevant part of zoot-lab-2.domain.com.cfg is:

kernel      = '/boot/vmlinuz'
ramdisk     = '/boot/initrd.img'
root        = '/dev/xvda1 ro'
disk        = [
'phy:/dev/vg_xen/zoot-lab-2.corp.dropbox.com-disk,xvda1,w',
               ]

Using this configuration you advise Xen to find the kernel at
/boot/vmlinuz on the *host*, not inside the disk image. The same thing
applies to the ramdisk.

In addition, your root specification should only contain the device,
and extra parameters (if needed) go to extra = 'ro'.

Thanks Manfred.  That explains my mistakes.

Bill

--
Bill MacAllister <bill@xxxxxxxxxxxxx>



 


Rackspace

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