Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to use kernel installed in debian-8 VM #3178

Closed
ctrlaltdel opened this issue Oct 15, 2017 · 42 comments
Closed

Unable to use kernel installed in debian-8 VM #3178

ctrlaltdel opened this issue Oct 15, 2017 · 42 comments

Comments

@ctrlaltdel
Copy link

ctrlaltdel commented Oct 15, 2017

Qubes OS version:

R4.0

Affected TemplateVMs:

debian-8


Steps to reproduce the behavior:

$ qvm-prefs debian-8 kernel ''
$ qvm-prefs debian-8 debug true
$ qvm-run debian-8 gnome-terminal

Expected behavior:

VM boots correctly with the guest provided kernel which makes it easy to use out-of-tree kernel modules (like wireguard) inside VMs.

Actual behavior:

VM boot fails with the following error message:

/scripts/local-top/qubes_cow_setup: line 106: can't create /etc/udev/rules.d/99-root.rules: nonexistent directory
Gave up waiting for root device.  Common problems:
[...]

Digging from the initramfs shell shows that /dev/mapper/dmroot doesn't exist, don't know how it's supposed to be created?

General notes:

I've followed documentation on how to use kernel installed in the VM.

Work-around

Manually changing /dev/mapper/dmroot to /dev/xvda1 in /etc/default/grub.d/30-qubes.cfg makes the VM boot correctly. Not sure about the side-effects of this though.

@marmarek
Copy link
Member

Manually changing /dev/mapper/dmroot to /dev/xvda1 in /etc/default/grub.d/30-qubes.cfg makes the VM boot correctly. Not sure about the side-effects of this though.

AppVMs based on such templates (and having kernel set to '') will be broken.

@qubesos-bot
Copy link

Automated announcement from builder-github

The package linux-utils has been pushed to the r4.0 testing repository for the CentOS centos7 template.
To test this update, please install it with the following command:

sudo yum update --enablerepo=qubes-vm-r4.0-current-testing

Changes included in this update

@qubesos-bot
Copy link

Automated announcement from builder-github

The package qubes-utils_4.0.9+deb8u1 has been pushed to the r4.0 testing repository for the Debian jessie template.
To test this update, first enable the testing repository in /etc/apt/sources.list.d/qubes-*.list by uncommenting the line containing jessie-testing, then use the standard update command:

sudo apt-get update && sudo apt-get dist-upgrade

Changes included in this update

@qubesos-bot
Copy link

Automated announcement from builder-github

The package qubes-utils_4.0.9+deb9u1 has been pushed to the r4.0 testing repository for the Debian stretch template.
To test this update, first enable the testing repository in /etc/apt/sources.list.d/qubes-*.list by uncommenting the line containing stretch-testing, then use the standard update command:

sudo apt-get update && sudo apt-get dist-upgrade

Changes included in this update

@qubesos-bot
Copy link

Automated announcement from builder-github

The package python2-qubesimgconverter-4.0.9-1.fc25 has been pushed to the r4.0 testing repository for dom0.
To test this update, please install it with the following command:

sudo qubes-dom0-update --enablerepo=qubes-dom0-current-testing

Changes included in this update

@qubesos-bot
Copy link

Automated announcement from builder-github

The package python2-qubesimgconverter-4.0.9-1.fc24 has been pushed to the r4.0 testing repository for the Fedora fc24 template.
To test this update, please install it with the following command:

sudo yum update --enablerepo=qubes-vm-r4.0-current-testing

Changes included in this update

@qubesos-bot
Copy link

Automated announcement from builder-github

The package python2-qubesimgconverter-4.0.9-1.fc25 has been pushed to the r4.0 testing repository for the Fedora fc25 template.
To test this update, please install it with the following command:

sudo yum update --enablerepo=qubes-vm-r4.0-current-testing

Changes included in this update

@qubesos-bot
Copy link

Automated announcement from builder-github

The package python2-qubesimgconverter-4.0.9-1.fc26 has been pushed to the r4.0 testing repository for the Fedora fc26 template.
To test this update, please install it with the following command:

sudo yum update --enablerepo=qubes-vm-r4.0-current-testing

Changes included in this update

@qubesos-bot
Copy link

Automated announcement from builder-github

The package linux-utils has been pushed to the r4.0 stable repository for the Fedora centos7 template.
To install this update, please use the standard update command:

sudo yum update

Changes included in this update

@qubesos-bot
Copy link

Automated announcement from builder-github

The package python2-qubesimgconverter-4.0.9-1.fc24 has been pushed to the r4.0 stable repository for the Fedora fc24 template.
To install this update, please use the standard update command:

sudo yum update

Changes included in this update

@qubesos-bot
Copy link

Automated announcement from builder-github

The package python2-qubesimgconverter-4.0.9-1.fc25 has been pushed to the r4.0 stable repository for the Fedora fc25 template.
To install this update, please use the standard update command:

sudo yum update

Changes included in this update

@qubesos-bot
Copy link

Automated announcement from builder-github

The package qubes-utils_4.0.20+deb9u1 has been pushed to the r4.0 testing repository for the Debian template.
To test this update, first enable the testing repository in /etc/apt/sources.list.d/qubes-*.list by uncommenting the line containing stretch-testing (or appropriate equivalent for your template version), then use the standard update command:

sudo apt-get update && sudo apt-get dist-upgrade

Changes included in this update

@qubesos-bot
Copy link

Automated announcement from builder-github

The component linux-utils (including package python2-qubesimgconverter-4.0.20-1.fc26) has been pushed to the r4.0 testing repository for the Fedora template.
To test this update, please install it with the following command:

sudo yum update --enablerepo=qubes-vm-r4.0-current-testing

Changes included in this update

@awokd
Copy link

awokd commented Jul 7, 2018

Updated a clone of debian-9 to current-testing and symlink works- no more fatal errors on a grub update. I don't see noresume in /etc/default/grub or grub.d/30-qubes.cfg, though. Would I need to rebuild and reinstall the template?

@marmarek
Copy link
Member

marmarek commented Jul 8, 2018

That one package (qubes-core-agent) wasn't part of that update. Should be in qubes-core-agent-4.0.32

@qubesos-bot
Copy link

Automated announcement from builder-github

The package linux-utils has been pushed to the r4.0 stable repository for the Fedora centos7 template.
To install this update, please use the standard update command:

sudo yum update

Changes included in this update

@qubesos-bot
Copy link

Automated announcement from builder-github

The package qubes-utils_4.0.20+deb9u1 has been pushed to the r4.0 stable repository for the Debian template.
To install this update, please use the standard update command:

sudo apt-get update && sudo apt-get dist-upgrade

Changes included in this update

@qubesos-bot
Copy link

Automated announcement from builder-github

The component linux-utils (including package python2-qubesimgconverter-4.0.20-1.fc26) has been pushed to the r4.0 stable repository for the Fedora template.
To install this update, please use the standard update command:

sudo yum update

Changes included in this update

@qubesos-bot
Copy link

Automated announcement from builder-github

The package python2-qubesimgconverter-4.0.20-1.fc25 has been pushed to the r4.0 stable repository for dom0.
To install this update, please use the standard update command:

sudo qubes-dom0-update

Or update dom0 via Qubes Manager.

Changes included in this update

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment