sudo mkdir -p /media/netdir pi@raspberrypi4:~ $ sudo mount -v nas-27-59-FD:/data/tmp /media/netdir mount.nfs: timeout set for Wed Jan 1 23:15:03 2020 mount.nfs: trying text-based options 'vers=4.2,addr=192.168.1.218,clientaddr=192.168.1.254' mount.nfs: mount(2): Invalid argument mount.nfs: trying text-based options 'vers=4.1,addr=192.168.1.218,clientaddr=192.168.1.254' mount.nfs: mount(2): Protocol not supported mount.nfs: trying text-based options 'vers=4.0,addr=192.168.1.218,clientaddr=192.168.1.254' mount.nfs: mount(2): Protocol not supported mount.nfs: trying text-based options 'addr=192.168.1.218' mount.nfs: prog 100003, trying vers=3, prot=6 mount.nfs: trying 192.168.1.218 prog 100003 vers 3 prot TCP port 2049 mount.nfs: prog 100005, trying vers=3, prot=17 mount.nfs: trying 192.168.1.218 prog 100005 vers 3 prot UDP port 44034 pi@raspberrypi4:~ $ sudo mkdir -p /mnt/runimg pi@raspberrypi4:~ $ sudo mount --bind /media/netdir/raspbrreyPi/mnt_runimg /mnt/runimg pi@raspberrypi4:~ $ sudo mkdir -p ~/rpi_mnt pi@raspberrypi4:~ $ sudo losetup -f -P --show /mnt/runimg/test.img /dev/loop0 pi@raspberrypi4:~ $ sudo mount /dev/loop0p2 -o rw ~/rpi_mnt pi@raspberrypi4:~ $ cd ~/rpi_mnt pi@raspberrypi4:~/rpi_mnt $ sudo mount --bind /dev ~/rpi_mnt/dev/ pi@raspberrypi4:~/rpi_mnt $ sudo mount --bind /sys ~/rpi_mnt/sys/ pi@raspberrypi4:~/rpi_mnt $ sudo mount --bind /proc ~/rpi_mnt/proc/ pi@raspberrypi4:~/rpi_mnt $ sudo mount --bind /dev/pts ~/rpi_mnt/dev/pts pi@raspberrypi4:~/rpi_mnt $ sudo mkdir -p /media/netdir/source/raspberrypi/4-05 pi@raspberrypi4:~/rpi_mnt $ sudo mkdir -p ~/rpi_mnt/mnt/compile pi@raspberrypi4:~/rpi_mnt $ sudo mount --bind /media/netdir/source/raspberrypi/4-05 ~/rpi_mnt/mnt/compile pi@raspberrypi4:~/rpi_mnt $ cd ~/rpi_mnt pi@raspberrypi4:~/rpi_mnt $ sudo chroot . bin/bash root@raspberrypi4:/# root@raspberrypi4:/# ls -l total 60 drwxr-xr-x 2 root root 4096 Jan 1 10:34 bin drwxr-xr-x 2 root root 4096 Jun 17 2018 boot drwxr-xr-x 17 root root 3940 Jan 1 14:13 dev drwxr-xr-x 66 root root 4096 Jan 1 11:11 etc drwxr-xr-x 2 root root 4096 Jun 17 2018 home drwxr-xr-x 12 root root 4096 Jan 1 10:34 lib drwxr-xr-x 2 root root 4096 Jan 1 10:02 media drwxr-xr-x 3 root root 4096 Jan 1 10:58 mnt drwxr-xr-x 2 root root 4096 Jan 1 10:02 opt dr-xr-xr-x 156 root root 0 Jan 1 1970 proc drwx------ 2 root root 4096 Jan 1 10:09 root drwxr-xr-x 4 root root 4096 Jan 1 10:03 run drwxr-xr-x 2 root root 4096 Jan 1 10:03 sbin drwxr-xr-x 2 root root 4096 Jan 1 10:02 srv dr-xr-xr-x 12 root root 0 Jan 1 1970 sys drwxrwxrwt 2 root root 4096 Jan 1 13:44 tmp drwxr-xr-x 10 root root 4096 Jan 1 10:02 usr drwxr-xr-x 11 root root 4096 Jan 1 10:02 var root@raspberrypi4:/# echo 00:00:00 00:00:00 root@raspberrypi4:/# date Wed Jan 1 14:13:08 UTC 2020 root@raspberrypi4:/# apt-key print Usage: apt-key [--keyring file] [command] [arguments] Manage apt's list of trusted keys apt-key add - add the key contained in ('-' for stdin) apt-key del - remove the key apt-key export - output the key apt-key exportall - output all trusted keys apt-key update - update keys using the keyring package apt-key net-update - update keys using the network apt-key list - list keys apt-key finger - list fingerprints apt-key adv - pass advanced options to gpg (download key) If no specific keyring file is given the command applies to all keyring files. root@raspberrypi4:/# apt-key list /etc/apt/trusted.gpg.d/debian-archive-jessie-automatic.gpg ---------------------------------------------------------- pub 4096R/2B90D010 2014-11-21 [expires: 2022-11-19] uid Debian Archive Automatic Signing Key (8/jessie) /etc/apt/trusted.gpg.d/debian-archive-jessie-security-automatic.gpg ------------------------------------------------------------------- pub 4096R/C857C906 2014-11-21 [expires: 2022-11-19] uid Debian Security Archive Automatic Signing Key (8/jessie) /etc/apt/trusted.gpg.d/debian-archive-jessie-stable.gpg ------------------------------------------------------- pub 4096R/518E17E1 2013-08-17 [expires: 2021-08-15] uid Jessie Stable Release Key /etc/apt/trusted.gpg.d/debian-archive-stretch-automatic.gpg ----------------------------------------------------------- pub 4096R/F66AEC98 2017-05-22 [expires: 2025-05-20] uid Debian Archive Automatic Signing Key (9/stretch) sub 4096R/B7D453EC 2017-05-22 [expires: 2025-05-20] /etc/apt/trusted.gpg.d/debian-archive-stretch-security-automatic.gpg -------------------------------------------------------------------- pub 4096R/8AE22BA9 2017-05-22 [expires: 2025-05-20] uid Debian Security Archive Automatic Signing Key (9/stretch) sub 4096R/331F7F50 2017-05-22 [expires: 2025-05-20] /etc/apt/trusted.gpg.d/debian-archive-stretch-stable.gpg -------------------------------------------------------- pub 4096R/1A7B6500 2017-05-20 [expires: 2025-05-18] uid Debian Stable Release Key (9/stretch) /etc/apt/trusted.gpg.d/debian-archive-wheezy-automatic.gpg ---------------------------------------------------------- pub 4096R/46925553 2012-04-27 [expires: 2020-04-25] uid Debian Archive Automatic Signing Key (7.0/wheezy) /etc/apt/trusted.gpg.d/debian-archive-wheezy-stable.gpg ------------------------------------------------------- pub 4096R/65FFB764 2012-05-08 [expired: 2019-05-07] uid Wheezy Stable Release Key root@raspberrypi4:/# root@raspberrypi4:/# root@raspberrypi4:/# co  compile finish bash: compile: command not found root@raspberrypi4:/# exit exit pi@raspberrypi4:~/rpi_mnt $ cd pi@raspberrypi4:~ $ sudo umount ~/rpi_mnt/mnt/compile pi@raspberrypi4:~ $ sudo umount ~/rpi_mnt/dev/pts pi@raspberrypi4:~ $ sudo umount ~/rpi_mnt/proc pi@raspberrypi4:~ $ sudo umount ~/rpi_mnt/sys pi@raspberrypi4:~ $ sudo umount ~/rpi_mnt/dev pi@raspberrypi4:~ $ sudo umount ~/rpi_mnt pi@raspberrypi4:~ $ sudo losetup -d /dev/loop0 pi@raspberrypi4:~ $