Issue creating ubuntu template using fedora-37

6 views
Skip to first unread message

dis...@proslo.dev

unread,
Feb 25, 2023, 11:24:50 AM2/25/23
to qubes...@googlegroups.com
I am trying to create ubuntu template using an app-vm created using template fedora-37. I have Qubes OS 4.1.2-rc1. I am using instructions in the below link to create the template



I am getting below error when trying to run make qubes-vm​. Any idea how to fix it?

scripts/test-sane-mount: line 10: ./test-dev-null: Permission denied
*******************************************************************************
***                               ERROR                                      ***
*** Cannot create chroot because the current filesystem is mounted as nodev. ***
*** Build Qubes on a different filesystem, or run 'make remount' to remount  ***
*** /home with dev option.
***                                                                          ***
*******************************************************************************
make[1]: *** [Makefile.generic:159: generic-prepare-chroot] Error 1
make: *** [Makefile:265: vmm-xen-vm] Error 1

Demi Marie Obenour

unread,
Feb 25, 2023, 11:41:15 AM2/25/23
to dis...@proslo.dev, qubes...@googlegroups.com
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

On Sat, Feb 25, 2023 at 04:24:42PM +0000, dis...@proslo.dev wrote:
> I am trying to create ubuntu template using an app-vm created using template fedora-37. I have Qubes OS 4.1.2-rc1. I am using instructions in the below link to create the template
>
> https://github.com/Qubes-Community/Contents/blob/master/docs/os/ubuntu.md
>
> I am getting below error when trying to run make qubes-vm​. Any idea how to fix it?

Run 'make remount'.
- --
Sincerely,
Demi Marie Obenour (she/her/hers)
Invisible Things Lab
-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEEdodNnxM2uiJZBxxxsoi1X/+cIsEFAmP6OiYACgkQsoi1X/+c
IsGIRw//Yi4cCINhSa660M53PCq01rWBhHwaZldO065fOetybXEgSedQ6tCyxQLJ
Jbxj5HJF0RgClL12k73awiTV6ssyXkS/fPl17xxYUxkevq626d8nlJk7T5RKRiiO
EypqKzsmhXLHos4fFsiwYFbMiZ7cL48B+upLMTi42O8X70uHqcf4wL6v9iM1LWlz
5qE0ODHxVglmQVSsgFo2djnv8ZgfdAEHHfV5Ct5fg45jhQNo+Kg2XXhj38KXPTIC
vXdVGnJB2dL+tlqnMwdhGsPhAUwlNquhvq5/cLYnyffulKFXav1k9wEkVTAbo/Wv
a+Te20pCH5oV9IdG7Ie2AliookLvGBoKbGrJ9Hle+5M9CnznucOAmGk6nn3TfXng
On3/oEHurRpaiKZUYAE9BvpOyUnV/Fk8fYtZyKifv9igzZ31EywdZ2JkIig5QTIj
/Q8oOEwLAUQJD1SjmkO/e/nfQZsiuIoNStFnux36qTNpE+nex5c3D9DPPJM/NGyJ
tC0NXGUKtXLb9dzQjsDMfWu20lttvk2t0KEmbUIie7mLxJf8bU6amPrTtC/rJWNu
Xc5IkxsCxFxhuqs6r6zP5uvjqKtF0YJ8kBnChoQQw/NygBGwNsVp7s/wgzKWFi5V
ZegIyexEqigcNWs8rg7Nx/WnWjXA2kCqsABZG4t17ctKBxY9uRo=
=SE+4
-----END PGP SIGNATURE-----

dis...@proslo.dev

unread,
Feb 25, 2023, 12:36:51 PM2/25/23
to Demi Marie Obenour, qubes...@googlegroups.com
Thank you!




------- Original Message -------
On Saturday, February 25th, 2023 at 11:41 AM, Demi Marie Obenour <de...@invisiblethingslab.com> wrote:


>
>
> On Sat, Feb 25, 2023 at 04:24:42PM +0000, dis...@proslo.dev wrote:
>
> > I am trying to create ubuntu template using an app-vm created using template fedora-37. I have Qubes OS 4.1.2-rc1. I am using instructions in the below link to create the template
> >
> > https://github.com/Qubes-Community/Contents/blob/master/docs/os/ubuntu.md
> >
> > I am getting below error when trying to run make qubes-vm. Any idea how to fix it?
>
>
> Run 'make remount'.

dis...@proslo.dev

unread,
Feb 26, 2023, 6:01:19 AM2/26/23
to Demi Marie Obenour, qubes...@googlegroups.com
Now, I am having trouble running `make template`. Below are the errors I see. Any inputs on how to fix this?

Context: I am trying to build ubuntu template in fedora-37 in Qubes OS 4.1.2-rc1

Error in the std out:
make: *** [Makefile:352: template-local-focal+standard] Error 1


Error in build-logs/template-focal.log:
Processing triggers for install-info (6.7.0.dfsg.2-5) ...
Processing triggers for mime-support (3.64ubuntu1) ...
Processing triggers for libc-bin (2.31-0ubuntu9) ...
Processing triggers for rsyslog (8.2001.0-1ubuntu1) ...
Running in chroot, ignoring request.
invoke-rc.d: policy-rc.d denied execution of try-restart.
Processing triggers for systemd (245.4-4ubuntu3) ...
Processing triggers for dbus (1.12.16-2ubuntu2) ...
Removing 'local diversion of /sbin/initctl to /sbin/initctl.distrib'
INFO: Attempting to kill any processes still running in '/home/user/qubes-builder/qubes-src/linux-template-builder/mnt' before un-mounting
INFO: umount /home/user/qubes-builder/qubes-src/linux-template-builder/mnt/sys
INFO: Attempting to kill any processes still running in '/home/user/qubes-builder/qubes-src/linux-template-builder/mnt' before un-mounting
INFO: umount /home/user/qubes-builder/qubes-src/linux-template-builder/mnt/run
make[1]: *** [Makefile:69: rootimg-build] Error 1


------- Original Message -------
On Saturday, February 25th, 2023 at 11:41 AM, Demi Marie Obenour <de...@invisiblethingslab.com> wrote:


>
>
> On Sat, Feb 25, 2023 at 04:24:42PM +0000, dis...@proslo.dev wrote:
>
> > I am trying to create ubuntu template using an app-vm created using template fedora-37. I have Qubes OS 4.1.2-rc1. I am using instructions in the below link to create the template
> >
> > https://github.com/Qubes-Community/Contents/blob/master/docs/os/ubuntu.md
> >
> > I am getting below error when trying to run make qubes-vm. Any idea how to fix it?
>
>
> Run 'make remount'.
Reply all
Reply to author
Forward
0 new messages