dom0 startup setup failed

25 views
Skip to first unread message

shubham dubey

unread,
Mar 9, 2017, 12:17:13 PM3/9/17
to qubes-users
I have recently dual booted qubes os with opensuse. Initially everything in qubes was working fine but I just changed the boot loader from qubes to opensuse.After that the vm are stop to start and even the disposable vms are also not starting.

I try to debug the problem and found that on system startup qubes dom0 startup setup, NetVM and sys-net all just failing.The output of qubes core service is

$service status -l qubes-core.service
● qubes-core.service - Qubes Dom0 startup setup
Loaded: loaded (/usr/lib/systemd/system/qubes-core.service; enabled; vendor preset: enabled)
Active: failed (Result: exit-code) since Thu 2017-03-09 21:39:24 IST; 5min ago
Process: 1436 ExecStart=/usr/lib/qubes/startup-misc.sh (code=exited, status=1/FAILURE)
Main PID: 1436 (code=exited, status=1/FAILURE)

Mar 09 21:39:24 dom0 startup-misc.sh[1436]: xenstore-write: xs_open: No such file or directory
Mar 09 21:39:24 dom0 startup-misc.sh[1436]: xenstore-write: xs_open: No such file or directory
Mar 09 21:39:24 dom0 systemd[1]: qubes-core.service: Main process exited, code=exited, status=1/FAILURE
Mar 09 21:39:24 dom0 systemd[1]: Failed to start Qubes Dom0 startup setup.
Mar 09 21:39:24 dom0 systemd[1]: qubes-core.service: Unit entered failed state.
Mar 09 21:39:24 dom0 systemd[1]: qubes-core.service: Failed with result 'exit-code'.
Mar 09 21:39:24 dom0 startup-misc.sh[1436]: xc: error: Could not obtain handle on privileged command interface (2 = No such file or directory): Internal error
Mar 09 21:39:24 dom0 startup-misc.sh[1436]: libxl: error: libxl.c:116:libxl_ctx_alloc: cannot open libxc handle: No such file or directory
Mar 09 21:39:24 dom0 startup-misc.sh[1436]: cannot init xl context
Mar 09 21:39:24 dom0 startup-misc.sh[1436]: /usr/lib/qubes/startup-misc.sh: line 9: * 1024 : syntax error: operand expected (error token is "* 1024 ")

mwr...@gmail.com

unread,
Mar 10, 2017, 8:09:45 PM3/10/17
to qubes-users
Got the same problem after installing ubuntu. At first I couldn't manage to boot ubuntu from qubes startup menu, then I run boot-repair from live usb so now I can boot Ubuntu and qubes, but qubes not working properly (Quebes Dom0 startup setup failed)

followed these instructions:

https://micahflee.com/2014/04/dual-booting-qubes-and-ubuntu-with-encrypted-disks/

https://www.qubes-os.org/doc/multiboot/

but couldn't boot ubuntu

cooloutac

unread,
Mar 10, 2017, 8:32:54 PM3/10/17
to qubes-users, mwr...@gmail.com

if you want to reinstall the ubuntu grub, What I do is copy the xen section from the boot.cfg file of qubes boot partition and paste/append that into /etc/grub.d/40_custom file on ubuntu.

Then update-grub and reboot and you should be able to boot qubes from ubuntu grub.

cooloutac

unread,
Mar 10, 2017, 8:36:54 PM3/10/17
to qubes-users, mwr...@gmail.com

use these instructions for installing the ubuntu grub. https://community.linuxmint.com/tutorial/view/245

Then its the boot.cfg file in grub2 directory of qubes boot partition. From that file copy everything between the xen start and end section. and paste into the 40_custom file on ubuntu. Then update-grub.

You will have to repeat this everytime Qubes updates its kernel.

Reply all
Reply to author
Forward
0 new messages