Jump to content

Guide to installing Qbuntu (Ubuntu 18.04 - Bionic) TemplateVM in Qubes 4.0.2-rc1 more screenshots


buzzkillb
 Share

Recommended Posts

How to install bionic-builder template for Ubuntu 18.04 in Qubes OS 4.0.2-rc1, Qbuntu

denariustalk-qubes-bionic-templatevm.thumb.png.5bd7bd7bdb4354e31758e926805e53a1.png

Clone your fedora-30 vanilla template into a temporary 'builder' we will use to create Ubuntu templates.
Top left button -> Terminal Emulator
[[email protected] ~]$

qvm-clone fedora-30 ubuntu-builder

00-qvm-clone-fedora.png.dd241d69e6aa54ad05d3e71ccfe525ea.png

go into the bionic-builder template and pick your network (sys-firewall), and give yourself 30gb for private storage. Open the terminal for this template and begin.

[[email protected] ~]$

gpg

01-gpg.png.9e7dc253601ca402238617b5d2c1b7e8.png

I missed the receive keys screenshot

[[email protected] ~]$

gpg --recv-keys 0x36879494

[[email protected] ~]$

gpg --edit-key 36879494

gpg>

trust

>Your decision?

5

>Do you really want to set this key to ultimate trust?

Y

gpg>

quit

03-gpg-edit-keys.png.bc49318b694a8674322c43e8fdbadaec.png

04-gpg-edit-keys-trust.png.f8899a1433c0b64b26c3fddfbc546339.png

05-gpg-edit-keys-quit.png.be91cff9af1ffd436ed1dbfd313b7848.png

[[email protected] ~]$

wget http://keys.qubes-os.org/keys/qubes-developers-keys.asc

06-wget-dev-keys.png.db7d18d345278f1b0c20886a7f721c8e.png

[[email protected] ~]$

gpg --import qubes-developers-keys.asc 

07-import-dev-keys.png.10cb74c73b3aec8a62cdc5a1a92ec329.png

[[email protected] ~]$

sudo dnf install nano 

08-install-nano.png.766b6e4b350385a03b131082cac5bdc6.png

09-installed-nano.png.aedf259a4e339e28fef694580484d4ce.png

[[email protected] ~]$

sudo dnf install git createrepo rpm-build rpm-sign make python-sh rpmdevtools rpm-sign dialog

10-installed-packages.png.ac2e787aacc26252fd806e438b2778fa.png

[[email protected] ~]$

git clone https://github.com/QubesOS/qubes-builder

11-wget-git-repo.png.7e3655a508d2779cba886c218bb03f3f.png

[[email protected] ~]$

cd qubes-builder

[[email protected] qubes-builder]$

nano example-configs/qubes-os-r4.0.conf

12-edit-config.png.36d1bc2b5b94bfa43347ddb2b2a7d08d.png

[[email protected] qubes-builder]$

./setup

select Y to anything missing

13-extra-dependency.png.028e4d1cd1168e5ac81bb9c2c829edaa.png

Select Yes to keys that don't exist.

14-qubes-master-signing-key.png.93ecfd76dfcabc3360ba3844a69ba256.png

Select Yes to add, this one glitches out for me, but worked first try writing this. Just keep rerunning ./setup over and over until this passes through. If this still won't work, change the pgp.mit.edu server to something else in the setup file.

nano setup
GPG_KEY_SERVER = 'ha.pool.sks-keyservers.net '

15-marek-key.png.89f9fbd654cc2eec405064ca47d5d132.png

Select Qubes Release 4.0

16-which-qubes-release.png.9ad024b137319ad42aba0576b8868535.png

Select Stable

17-source-repo.png.ecb4b62a1ed5560c89e1adcddfd0dd1b.png

Select none of these options

18-pre-built-package.png.9d91cbe8d7d5b17e822b060835b49543.png

Build Template Only? Yes

19-build-template-only.png.e2a3446b5b283497f0bd69f0e3986ce8.png

Select your OS template, this example is using Bionic+desktop

20-build-bionic-desktop.png.114e16e16b87dd3411e3ea4079375423.png

Select builder-rpm and builder-debian

21-builder-plugin-selection.png.4b10d05844ab7c6cfeac87f32186d209.png

Get Source? Yes

22-get-sources.png.dfb3500f008d6a71d48d8b2111d8711f.png

Wait while this gets what the source files.

23-get-source-OK.png.5cd047139397744ca86d21b579a2913b.png

This screen gives us what to do next.

24-make-sample.png.72b41c2b3ee6a206629b60c291744ef0.png

make install-deps

24-make-install-deps.png.de2cb96a246564cb3d9cc5ce2d051fbe.png

make get-sources

26-make-get-sources.png.d39f16a9e9e403efd3936e6c1dd7bf39.png

make qubes-vm

27-make-qubes-vm.png.40bac526ad881a0af4f91ab30572b404.png

make template

28-make-template.png.e02d9ea6439bebf292536ab45ba8a8cf.png

[[email protected] qubes-builder]$

ls -altr qubes-src/linux-template-builder/rpm

29-check-for-file.png.423897e4e8271a16d3584e72d93ec473.png

Go to your dom0 terminal and move the install-templates.sh file over

[[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

[[email protected] ~]$

chmod +x install-templates.sh
./install-templates.sh 

30-prompt-to-install.png.d3fe6114b30dcc421d9a6e4c539c69b0.png

After this was done, I cloned this into a crypto version to play around in. This is a cryptocurrency related site after all.

qvm-clone bionic-desktop bionic-crypto

After that, I then deleted the bionic-builder templateVM from Qube Manager to save some disk space.

  • Like 2

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

Stalling out on make qubes-vm?

make: *** [Makefile:227: app-linux-pdf-converter-vm] Error 1

I had an issue with this package not working so I removed it like this. https://github.com/QubesOS/qubes-app-linux-pdf-converter

cd qubes-src
rm -rf app-linux-pdf-converter 
cd ..
make qubes-vm
make template

 

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