Mount file system to an image

Mounting additional filesystems on a target system

If you require larger files and the image you run doesn't have enough space on it, you can mount a shared filesystem from a Linux, macOS, or Windows computer to your target.
CAUTION:
The filesystem you connect to can't be encrypted otherwise you won't be able to mount it to your target.
For Windows:
  1. Create a shared folder on the computer. You must ensure that you add permissions to share folders and add the username you intend to use to connect to the shared folder with to secure the shared folder.
  2. On the target, run the fs-cifs command specifying the hostname, IP address, and name of the shared folder and the mount point you want created on the target, and then enter your network credentials:
    # fs-cifs -l //machinename:10.123.45.67:/share /mnt/share
    Welcome: 10.123.45.67(:/share) -> /mnt/share
    Username:myusername
    Password:
    
  3. On the target, navigate to the mounted directory and change the permissions of the files so that everything
On Linux or macOS:
  1. Create a network filesystem (NFS) on your computer.
  2. On the target, run the fs-cifs command specifying the hostname, IP address, and name of the shared folder and the mount point you want created on the target, and then enter your network credentials:
    # fs-cifs -l //machinename:10.123.45.67:/share /mnt/share
    Welcome: 10.123.45.67(:/share) -> /mnt/share
    Username:myusername
    Password: