Installing openSUSE 15.4 as a PV Xen Guest (DomU) on Debian 11 - cannot find kernel to link in xen-tools configuration
1
vote
1
answer
162
views
we are currently trying to set up a virtualized environment in which we would like to use openSUSE 15.4 Leap as a Xen Guest (DomU) on a Debian 11 Host.
To do so I have found some resources which adress the matter, but may be a little bit dated:
- How to install a openSuSE domU on a Debian dom0
- Building an RPM based (Red Hat, Fedora, CentOS) Xen Guest Root Filesystem using Rinse
My configuration file looks like this currently:
#
# Configuration file for the Xen instance test2, created manually
#
#
#
# Kernel + memory size
#
kernel = '/opensuse-15.4/boot/vmlinuz-5.14.21-150400.24.33-default'
ramdisk = '/bootfiles/initrd'
vcpus = '4'
memory = '16384'
#
# Disk device(s).
#
root = '/dev/xvda2 ro'
disk = [
'file:/home/xen/domains/testsuserpm/disk.img,xvda2,w',
'file:/home/xen/domains/testsuserpm/swap.img,xvda1,w',
]
#
# Hostname
#
name = 'testsuserpm'
#
# Networking
#
dhcp = 'dhcp'
vif = [ 'mac=,bridge=xenbr0' ]
#
# Behaviour
#
on_poweroff = 'destroy'
on_reboot = 'restart'
on_crash = 'restart'
I got the kernel file by converting the .rpm package into a .deb package and installing the file into some folder to perform a Direct Kernel Boot . As for the installation I used rinse based on the following HowTo and put it onto the disk image that is linked within the config file. However upon trying to start the vm I get the following error message:
> Parsing config from /etc/xen/testsuserpm.cfg ': lexical
> errorerpm.cfg:8: config parsing error near ` ': lexical
> errorerpm.cfg:9: config parsing error near ` ': lexical
> errorerpm.cfg:10: config parsing error near ` ': lexical
> errorerpm.cfg:11: config parsing error near ` ': lexical
> errorerpm.cfg:15: config parsing error near ` ': lexical
> errorerpm.cfg:16: config parsing error near ` ': lexical
> errorerpm.cfg:17: config parsing error near ` ': lexical
> errorerpm.cfg:18: config parsing error near ` ': lexical
> errorerpm.cfg:19: config parsing error near ` ': lexical
> errorerpm.cfg:23: config parsing error near ` ': lexical
> errorerpm.cfg:27: config parsing error near ` ': lexical
> errorerpm.cfg:28: config parsing error near ` ': lexical
> errorerpm.cfg:32: config parsing error near ` ': lexical
> errorerpm.cfg:33: config parsing error near ` Failed to parse config:
> Invalid argument
I am guessing installing a .rpm based package on Debian just like that is not possible. Is there anything I could do to make this work?
Any help is appreciated.
Best regards,
Chris
Asked by SinjinVanCleefe
(13 rep)
Dec 19, 2022, 12:20 AM
Last activity: Feb 7, 2023, 10:19 AM
Last activity: Feb 7, 2023, 10:19 AM