LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Virtualization and Cloud
User Name
Password
Linux - Virtualization and Cloud This forum is for the discussion of all topics relating to Linux Virtualization and Linux Cloud platforms. Xen, KVM, OpenVZ, VirtualBox, VMware, Linux-VServer and all other Linux Virtualization platforms are welcome. OpenStack, CloudStack, ownCloud, Cloud Foundry, Eucalyptus, Nimbus, OpenNebula and all other Linux Cloud platforms are welcome. Note that questions relating solely to non-Linux OS's should be asked in the General forum.

Notices


Reply
  Search this Thread
Old 12-24-2021, 04:25 PM   #1
camerabambai
Member
 
Registered: Mar 2010
Distribution: Slackware
Posts: 408

Rep: Reputation: 54
Xen and paravirtualized domU: none works, how to debug?


I want to install a paravirt domU on a dom0 Debian host.
Debian is 11 bullseye
guest domU is Opensuse 15.3 paravirt.
I try the virt-manager way wizard(create vm, etc..) and this cli

Code:
virt-install --connect xen:// --paravirt --name samba2 --ram 2048 --vcpus 1 --disk /var/lib/libvirt/images/samba2.qcow2,size=60,format=qcow2  --network bridge=br1 --location https://fedora.mirror.garr.it/fedora/linux/releases/35/Everything/x86_64/os/ --extra-args="text console=com1 utf8 console=hvc0"
The virt-manager way seem's to works but at the bootloader installer fails with error libxenlight failed to create new domain or something similar.

The virt-install way give me this error

Code:
ERROR    internal error: libxenlight failed to create new domain 'samba2'
on logfiles I see

Code:
Traceback (most recent call last):
  File "/usr/lib/xen-4.14/bin/pygrub", line 884, in <module>
    raise RuntimeError("Unable to find partition containing kernel")
RuntimeError: Unable to find partition containing kernel
I heard somewhere that pygrub give problems with brtfs, is a problem of dom0 or domU? I install dom0 in a classical way(mdadm+lvm+ext4), opensuse use btrfs as default, I have to change it?
 
Old 12-24-2021, 05:26 PM   #2
camerabambai
Member
 
Registered: Mar 2010
Distribution: Slackware
Posts: 408

Original Poster
Rep: Reputation: 54
Some progress, using a vmlinuz kernel and initrd image works(the vm finally start), but on console I see only this

Code:
[  OK  ] Finished Apply Kernel Variables.
[    3.300602] systemd[1]: Finished dracut ask for additional cmdline parameters.
[  OK  ] Finished dracut ask for additional cmdline parameters.
[    3.303150] systemd[1]: Starting dracut cmdline hook...
         Starting dracut cmdline hook...
[    3.320347] systemd[1]: Started Journal Service.
[  OK  ] Started Journal Service.
         Starting Create Volatile Files and Directories...
[  OK  ] Finished Create Volatile Files and Directories.
[    3.551749] clocksource: tsc: mask: 0xffffffffffffffff max_cycles: 0x211400f960c, max_idle_ns: 440795231420 ns
[  OK  ] Finished dracut cmdline hook.
         Starting dracut pre-udev hook...
[  OK  ] Finished dracut pre-udev hook.
         Starting Rule-based Manage…for Device Events and Files...
[  OK  ] Started Rule-based Manager for Device Events and Files.
         Starting dracut pre-trigger hook...
[  OK  ] Finished dracut pre-trigger hook.
         Starting Coldplug All udev Devices...
[  OK  ] Finished Coldplug All udev Devices.
[  OK  ] Reached target System Initialization.
         Starting dracut initqueue hook...
         Starting Show Plymouth Boot Screen...
[  OK  ] Started Show Plymouth Boot Screen.
[  OK  ] Started Forward Password R…s to Plymouth Directory Watch.
[  OK  ] Reached target Paths.
[  OK  ] Reached target Basic System.
[    6.378917] random: crng init done
[    6.378939] random: 7 urandom warning(s) missed due to ratelimiting
and no login

EDIT: SOLVED, I have copied a wrong kernel image and wrong initrd, with the correct files the vm finally start.

Last edited by camerabambai; 12-24-2021 at 05:47 PM.
 
  


Reply

Tags
xen, xen debian



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Xen DomU can't start after recompiling DomU(PV) OS kernel IIllIIll Linux - Virtualization and Cloud 0 06-28-2017 01:44 PM
How to grep *.info;mail.none;authpriv.none;cron.none; in /etc/syslog.conf sharadchhetri Linux - Server 9 01-06-2012 02:55 PM
How to install Windows in Paravirtualized Mode in Xen dasearl Linux - Virtualization and Cloud 3 01-13-2011 07:45 AM
Centos 5.4 Can't install XEN *paravirtualized* FC 6 os Vanyel Linux - Virtualization and Cloud 5 04-15-2010 10:13 AM
XEN: paravirtualized kubuntu in openSUSE 11.2 vrmartin2 SUSE / openSUSE 3 01-12-2010 02:50 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Virtualization and Cloud

All times are GMT -5. The time now is 06:35 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration