0 votes
by John Phillips (120 points)
I would like to have VFXForth installed in a USB drive so that I can plug it in and (security allowing) can use VFXForth with out any further installations.

Would this be possible on Linux as well as Windows? (Have both on the same USB drive?)

Thank you,


1 Answer

0 votes
by Daniel Lee (630 points)

Yes, you can set this up on both Linux and Windows.  Most USB drives come pre-formatted with the vFAT file system, which works on Windows, Linux, and MacOS.  On my Ubuntu Linux machine, USB drives auto-mount with the noexec option, which gives me a "permission denied" error when I try to run anything from the drive.  To fix this, re-mount the drive with the exec option:

$ mount -l | grep /media/danlee/062F-AEF9  # find the USB drive that needs remounting
/dev/sdXX on /media/danlee/062F-AEF9 type vfat (rw,nosuid,nodev,...)

$ sudo umount /media/danlee/062F-AEF9           # unmount it
$ sudo mount /dev/sdXX /media/danlee/ -O exec   # remount it with the exec option
$ cd /media/danlee/VfxForth64Lin/Bin/  # cd to the VFX Foth bin directory
$ ./x64.elf  # run VFX Forth              

MPE Cross Compiler v7.61 [build 0489]
Target: X64 64 bit VFX NCC
Copyright (C) 1997-2013, 2014, 2015, 2016, 2017, 2018, 2019, 2020
MicroProcessor Engineering Ltd.



by John Phillips (120 points)
Thank you. I will give this a spin.