buzzkillb Posted November 15, 2020 Report Share Posted November 15, 2020 Guide to installing Qbuntu (Ubuntu 20.04 - Focal Fossa) TemplateVM in Qubes Release 4.0.4-rc1 fedora-32 as of this writing, I did this on a fresh Qubes install on a couple year old Intel I7. This is similar but a better less steps way to create this. Xenial guide located here https://blockforums.org/topic/305-guide-to-installing-qbuntu-ubuntu-1604-xenial-templatevm-in-qubes-402-rc1/ Qubes Homepage - https://www.qubes-os.org/ Clone the vanilla Fedora templatevm, allow network access, and private storage max size 30gb, I called my clone ubuntu-builder. Open up a terminal in the ubuntu-builder templatevm. Import the Qubes master key gpg --import /usr/share/qubes/qubes-master-key.asc Verify its fingerprint, set as ‘trusted’. This is described here. https://www.qubes-os.org/security/verifying-signatures/ Download the Qubes developers’ keys. wget https://keys.qubes-os.org/keys/qubes-developers-keys.asc gpg --import qubes-developers-keys.asc Download the latest stable qubes-builder repository: git clone https://github.com/QubesOS/qubes-builder.git /home/user/qubes-builder/ Verify the integrity of the downloaded repository. The last line should read gpg: Good signature from… cd /home/user/qubes-builder/ git tag -v $(git describe) Run the ‘setup’ script located in ‘/home/user/qubes-builder/’ Make sure you are in directory ‘qubes-builder’ cd /home/user/qubes-builder/ ./setup Y to add whats missing then yes to add missing keys select 4.0 stable dont select current or current-testing yes (to only build the template) select focal fossa+desktop with spacebar and push enter NEED TO CHANGE IMAGE HERE and get all brand new images of the current process, even though its basically the same. select Builder-rpm builder-debian only, nothing else. (need to update to latest focal fossa image below) The last step to build took me a little over an hour for the whole thing. make install-deps make get-sources make qubes-vm make template We have our Ubuntu 20.04 template, now to install it! Qubes-builder should have created an install script, let's make sure it exists:[user@ubuntu-builder qubes-builder]$ ls -altr qubes-src/linux-template-builder/rpm You should see an 'install-template.sh' file there. Now switch back to your dom0 terminal, and install the template:[user@dom0 ~]$ qvm-run --pass-io ubuntu-builder 'cat /home/user/qubes-builder/qubes-src/linux-template-builder/rpm/install-templates.sh' > install-templates.sh Make the copied script executable and run it[user@dom0 ~]$ chmod +x install-templates.sh[user@dom0 ~]$ ./install-templates.sh #make template (clone) just for denarius, why not in dom0 terminal emulator qvm-clone focal-fossa-desktop denarius-crypto To make the user have a password for sudo. Use this https://www.reddit.com/r/Qubes/comments/e39r8l/ubuntu_1804_lts_template_password/ dom0 terminal (change focal-fossa-desktop and newpassword) qvm-run -a --user root focal-fossa-desktop "echo \"user:newpassword\"|chpasswd" dom0 terminal qvm-run -a --user root focal-fossa-desktop "sudo usermod -a -G sudo user" shutdown your focal-fossa-desktop and now try sudo apt update Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.