@olivierlambert
No, I am used to stopping when I hit an error
All three show the new version of the management aganet after
apt install -f
@olivierlambert
No, I am used to stopping when I hit an error
All three show the new version of the management aganet after
apt install -f
@olivierlambert
No, I am used to stopping when I hit an error
All three show the new version of the management aganet after
apt install -f
@olivierlambert said in New Rust Xen guest tools:
hostnamectl
Static hostname: dockerhost
Icon name: computer-vm
Chassis: vm
Machine ID: a2e7746766144e0ba18cacafdac23680
Boot ID: b2bda1e4567c4d148aaf138e1a658fc4
Virtualization: xen
Operating System: Debian GNU/Linux 11 (bullseye)
Kernel: Linux 5.10.0-26-amd64
Architecture: x86-64
#dpkg -i xen-guest-agent_0.3.0~rc1_amd64.deb
dpkg: error: requested operation requires superuser privilege
andre@dockerhost:~$ sudo dpkg -i xen-guest-agent_0.3.0~rc1_amd64.deb
[sudo] password for andre:
Selecting previously unselected package xen-guest-agent.
(Reading database ... 83188 files and directories currently installed.)
Preparing to unpack xen-guest-agent_0.3.0~rc1_amd64.deb ...
Unpacking xen-guest-agent (0.3.0~rc1) ...
dpkg: dependency problems prevent configuration of xen-guest-agent:
xen-guest-agent depends on libxenstore4 | libxenstore3.0; however:
Package libxenstore4 is not installed.
Package libxenstore3.0 is not installed.
dpkg: error processing package xen-guest-agent (--install):
dependency problems - leaving unconfigured
Errors were encountered while processing:
xen-guest-agent
Note: originally installed with template for Debian 10
$ hostnamectl
Static hostname: wwwdev
Icon name: computer-vm
Chassis: vm 🖴
Machine ID: 654b85548a1d4f989e862383b6f58314
Boot ID: 8f7229bb2065499989c05d03b0dc3ca2
Virtualization: xen
Operating System: Debian GNU/Linux 12 (bookworm)
Kernel: Linux 6.1.0-13-amd64
Architecture: x86-64
Hardware Vendor: Xen
Hardware Model: HVM domU
Firmware Version: 4.13
$ sudo dpkg -i xen-guest-agent_0.3.0~rc1_amd64.deb
Selecting previously unselected package xen-guest-agent.
(Reading database ... 43212 files and directories currently installed.)
Preparing to unpack xen-guest-agent_0.3.0~rc1_amd64.deb ...
Unpacking xen-guest-agent (0.3.0~rc1) ...
dpkg: dependency problems prevent configuration of xen-guest-agent:
xen-guest-agent depends on libxenstore4 | libxenstore3.0; however:
Package libxenstore4 is not installed.
Package libxenstore3.0 is not installed.
dpkg: error processing package xen-guest-agent (--install):
dependency problems - leaving unconfigured
Errors were encountered while processing:
xen-guest-agent
Originally instaled using the Debian 11 template
#hostnamectl
Static hostname: pihole
Icon name: computer-vm
Chassis: vm 🖴
Machine ID: 23ed898244cd45ff8b9107bc98d0c0f8
Boot ID: 86fb16056cab4ffeb7eddfbdd32a6cac
Virtualization: xen
Operating System: Debian GNU/Linux 12 (bookworm)
Kernel: Linux 6.1.0-13-amd64
Architecture: x86-64
Hardware Vendor: Xen
Hardware Model: HVM domU
Firmware Version: 4.13
# dpkg -i xen-guest-agent_0.3.0~rc1_amd64.deb
(Reading database ... 35511 files and directories currently installed.)
Preparing to unpack xen-guest-agent_0.3.0~rc1_amd64.deb ...
Unpacking xen-guest-agent (0.3.0~rc1) over (0.3.0~rc1) ...
dpkg: dependency problems prevent configuration of xen-guest-agent:
xen-guest-agent depends on libxenstore4 | libxenstore3.0; however:
Package libxenstore4 is not installed.
Package libxenstore3.0 is not installed.
dpkg: error processing package xen-guest-agent (--install):
dependency problems - leaving unconfigured
Errors were encountered while processing:
xen-guest-agent
Installed a few weeks ago, using the Debian 12 template
I stopped at this point, let me know if you want more details.
$ sudo apt upgrade
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
You might want to run 'apt --fix-broken install' to correct these.
The following packages have unmet dependencies:
xen-guest-agent : Depends: libxenstore4 but it is not installed or
libxenstore3.0 but it is not installable
E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution).
@Fulgurance Good luck!
From you response I could not see if you tried with Xen config only first (or LVM first) instead of trying both at the same time.
This could help you narrow done the problem area. Remember you are trying to add Xen, LVM AND encrypted root at the same time.
@Fulgurance What did you base the Xen kernel config on? Did you start with the working kernel config and added the Xen requirements? In that case I believe you indeed need to reach out out the XEN team to understand what the issue is.
You could try to start first with LVM and add XEN (leave the encryption out) or with encryption and XEN (leave LVM out) to see if it is one of the two that is causing the issue.
The wiki only mentions that IF you use LVM how to address it in the grub config. Encryption is not even mentioned. Note that this really makes the setup much more complicated. As far as I know a plain vanilla kernel (or gentoo-sources kernel) does not have LVM enabled by default. You are trying to troubleshoot a setup that is not exactly mentioned in the wiki (only referenced in the grub setup). The Gentoo liveCD kernel has everything you can think of enabled and uses (I think) initramfs.
I would either start with a more simple scheme like building it on top of a ext4/xfs/whatever root filesystem and maybe experiment with the ecrypted/LVM version inside a VM unless you can find a guide/wiki that describes all three options: Xen dom0 on an encrypted LVM volume.
Maybe you can start here or here. Advise is to get Gentoo up and running before you build a Xen enabled kernel; that way you have first of all a fallback scenario (your system will boot and you dont't have to go through the chroot thing everytime) and you separate things to make troubleshooting easier. Good luck!
How are you building your kernel? This looks like either LVM is not available a boot time or encryption is gettting in the way. It's been too long ago that I build systems with root on LVM.
Have you tried it without encryption? This seems discussion seems to tough upon many possible issues; your error message alone is not enough to be more specific.
Gentoo Forum
@Cottmain
Hi, no problem. We all started somewhere
For your setup I would suggest you either get somethig cheap so that if it doesn't match your requirements you can switch at low cost or you do some math and decide what you need and add enough headroom for the near future.
Make that list a bit more concrete and add some numbers for memory and storage. Leave at least a couple of Gbs for XCP-ng itself and some spare memory as you can't really fill up the server's memory to the last Gb. You might even get away with two low(er) spec machines.
If you want to make use of passthrough I suggest you look around at the forum to get some feekl of what is needed and what is possible. You will need a separate videocard if you want to pass it through and use it for encoding inside a vm; XCP-ng will claim one videocard. Also check the forums for network card passthrough and OPNSense/pfSense.
Flexibility seems to be key for you at this time. You don't need the absolute newest stuff but if you are investing make sure it can serve you the next couple of years; do keep an eye on power usage as a cheap old server will do all that you want but might add significantly to your energy bill.
@Cottmain
Can you give more info on what you would like to do with the server (home firewall and other setup is rahter vague)? I have had XCP-ng running on Dell T20's, an HP Pro 6300 (desktop) and I am currently running it on an Asrock Deskmini X300. For me this works; memory is for me the most important resource and that's why the Deskmini has 64 Gb of memory. I use this setup as a testlab and host a few services that I expose to the internet for myself and family/friends. For me this works.
So what are you aiming to do? Maybe start here for the minimum requirements https://xcp-ng.org/docs/requirements.html#xcp-ng-system-requirements and take it from there. As long as you have enough storage and memory to install XCP-ng and create a few vm's you are good to go. Have you consider a second hand machine just to get started?
@darkbeldin For the record, both vm's were running on the same esxi host when exported. This may or may not be a factor (I suspect it is).
@darkbeldin We are talking 15-18 months ago ... What I remember is a fairly standard export from esxi into (I believe) an OVA format and I imported that directly into xcp-ng. I don't remember anything complex other than having to redo the export a few times to get properly rid of vmware tools and some drivers.
Edit: I checked a few articles and it was probably the OVF format.