issue with building Qubes Windows Tools

38 views
Skip to first unread message

q...@null.net

unread,
Jun 16, 2020, 12:09:37 PM6/16/20
to qubes-users
No issues with setting up the build environment.
On the build step, "make qubes", I'm getting errors.

user@PC MSYS /C/TMP/qubes-builder
# make qubes
================================================================================
                           B U I L D   I N F O
Items in red indicate it was automatically generated by configuration file(s)
Items in white indicate it was automatically removed by configuration file(s)
================================================================================
DISTS_VM:
     win7x64,
DISTS_ALL:
     dom0-win7x64, vm-win7x64,
DIST_DOM0:
     win7x64,
BUILDER_PLUGINS:
     builder-windows,
COMPONENTS:
     builder-windows, vmm-xen-windows-pvdrivers, core-vchan-xen,
     windows-utils, core-qubesdb, core-agent-windows, gui-common,
     gui-agent-windows, installer-qubes-os-windows-tools,
GIT_REPOS:
     qubes-src/builder-windows, qubes-src/vmm-xen-windows-pvdrivers,
     qubes-src/core-vchan-xen, qubes-src/windows-utils,
     qubes-src/core-qubesdb, qubes-src/core-agent-windows,
     qubes-src/gui-common, qubes-src/gui-agent-windows,
     qubes-src/installer-qubes-os-windows-tools, .,
TEMPLATE:

TEMPLATE_FLAVOR_DIR:

TEMPLATE_ALIAS:

TEMPLATE_LABEL:

make[1]: Entering directory '/C/TMP/qubes-builder'
-> Nothing to be done in builder-windows for win7x64 dom0
make[1]: Leaving directory '/C/TMP/qubes-builder'
-> Nothing to be done in builder-windows for win7x64 vm
make[1]: Entering directory '/C/TMP/qubes-builder'
-> Nothing to be done in vmm-xen-windows-pvdrivers for win7x64 dom0
make[1]: Leaving directory '/C/TMP/qubes-builder'
scripts/test-sane-mount: line 10: sudo: command not found
scripts/find-mount-point: line 8: findmnt: command not found
*******************************************************************************
***                               ERROR                                      ***
*** Cannot create chroot because the current filesystem is mounted as nodev. ***
*** Build Qubes on a different filesystem, or run 'make remount' to remount  ***
***  with dev option.
***                                                                          ***
*******************************************************************************
make[1]: *** [Makefile.generic:153: generic-prepare-chroot] Error 1
make: *** [Makefile:227: vmm-xen-windows-pvdrivers-vm] Error 1


Could someone help me resolve this?

Jarrah

unread,
Jun 17, 2020, 4:13:40 AM6/17/20
to qubes...@googlegroups.com

> *******************************************************************************
> *** ERROR
> ***
> *** Cannot create chroot because the current filesystem is mounted as
> nodev. ***
> *** Build Qubes on a different filesystem, or run 'make remount' to
> remount ***
> *** with dev option.
> ***
> ***
> *******************************************************************************

Haven't used qubes windows tools at all, but the error output above
seems to point at a mount options issue. It cannot create the chroot
because the filesystem is mounted with `nodev`.

As it says above, try `make remount`. Or manually with `mount -o
remount,dev <mountpoint>` for example, if you are working in your home
directory in an AppVM, the command would be `mount -o remount,dev /rw`.

q...@null.net

unread,
Jun 17, 2020, 3:44:27 PM6/17/20
to qubes-users


Haven't used qubes windows tools at all, but the error output above
seems to point at a mount options issue. It cannot create the chroot
because the filesystem is mounted with `nodev`.

As it says above, try `make remount`. Or manually with `mount -o
remount,dev <mountpoint>` for example, if you are working in your home
directory in an AppVM, the command would be `mount -o remount,dev /rw`.

 # make remount
./scripts/find-mount-point: line 8: findmnt: command not found
+ sudo mount '' -o dev,remount
./scripts/remount: line 10: sudo: command not found
make: *** [Makefile:452: remount] Error 127

I'm trying it in MSYS2 in Windows 7.

If I try to manually remount It returns "mount: invalid option - 'remount'".

Reply all
Reply to author
Forward
0 new messages