Jump to content

Qubes OS Install Latest Kernel if Ethernet Doesn't Work


Recommended Posts

Tried latest 4.0.4 Qubes OS with AMD 3700x, Nvidia 1070, and Gigabyte Aorus B550M. Ethernet did not work after install. I am lazy so here is how I updated the kernel without really doing anything special.

First go here and look for the kernel you want, I found the latest latest.
https://mirrors.edge.kernel.org/qubes/repo/yum/r4.0/current-testing/dom0/fc25/rpm/

As of this post, download these 2 files from there
https://mirrors.edge.kernel.org/qubes/repo/yum/r4.0/current-testing/dom0/fc25/rpm/kernel-latest-5.12.10-1.fc25.qubes.x86_64.rpm
https://mirrors.edge.kernel.org/qubes/repo/yum/r4.0/current-testing/dom0/fc25/rpm/kernel-latest-qubes-vm-5.12.10-1.fc25.qubes.x86_64.rpm

I then copied to a USB drive and put the 2 files into an appVM, vault sounds good in a Downloads/kernel directory, to copy over to dom0.

Go to the dom0 terminal and copy to dom0

qvm-run --pass-io <src-vm> 'cat /path/to/file_in_src_domain' > /path/to/file_name_in_dom0

Example, replace USERNAME with your username

qvm-run --pass-io vault 'cat /home/user/Downloads/kernel/kernel-latest-5.12.10-1.fc25.qubes.x86_64.rpm' > /home/USERNAME/kernel-latest-5.12.10-1.fc25.qubes.x86_64.rpm
qvm-run --pass-io vault 'cat /home/user/Downloads/kernel/kernel-latest-qubes-vm-5.12.10-1.fc25.qubes.x86_64.rpm' > /home/USERNAME/kernel-latest-qubes-vm-5.12.10-1.fc25.qubes.x86_64.rpm

Double check the file sizes are correct and then time to install

sudo rpm -ivh --nodeps kernel-latest-5.12.10-1.fc25.qubes.x86_64.rpm
sudo rpm -ivh --nodeps kernel-latest-qubes-vm-5.12.10-1.fc25.qubes.x86_64.rpm

Reboot, and now change all your appvm's and templates to latest kernel. I rebooted once more just because and ethernet should work.

If you enjoy my content please consider donating to the Denarius creator - https://www.patreon.com/carsenk
Join Denarius Discord - https://discord.gg/JQEmXwb

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...