Jump to content

Guide to installing Qbuntu (Ubuntu 20.04 - Focal Fossa) TemplateVM in Qubes Release 4.0.4-rc1


Recommended Posts

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

01-setup-qubes-denarius.png.5330a92c5152530d05c24c58e441cf76.png

stable

02-setup-qubes-denarius.png.724005435eedd54e9de38aa2a0a6a205.png

dont select current or current-testing

03-setup-qubes-denarius.png.2cb6bd42b7684faad8a57b5f3a428984.png

yes (to only build the template)

04-setup-qubes-denarius.png.8bb02b661702e5c5c5908fde16a6ab29.png

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.

05-setup-qubes-denarius.png.c4cd7d34dcc56b896a68ed122a571850.png

select Builder-rpm builder-debian only, nothing else. (need to update to latest focal fossa image below)

06-setup-qubes-denarius.png.d4454b95d7742bed08dcc061f3e912ba.png

The last step to build took me a little over an hour for the whole thing.

07-setup-qubes-denarius.png.c5520a27f67394e6c6845e138e8dc524.png

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:
[[email protected] 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:
[[email protected] ~]$ 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
[[email protected] ~]$ chmod +x install-templates.sh
[[email protected] ~]$ ./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

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 post
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.

×
×
  • Create New...