https://superuser.com/questions/117136/how-can-i-mount-a-partition-from-dd-created-image-of-a-block-device-e-g-hdd-u
losetup --partscan --find --show disk.img
mount /dev/loop0p1 /mnt
to free up loop0, use after umount:
losetup -d /dev/loop0
https://superuser.com/questions/117136/how-can-i-mount-a-partition-from-dd-created-image-of-a-block-device-e-g-hdd-u
losetup --partscan --find --show disk.img
mount /dev/loop0p1 /mnt
to free up loop0, use after umount:
losetup -d /dev/loop0
https://gist.github.com/gjrdiesel/4e93d8743b71babb58dcba4ee049247c
So far the only suitable guide for moving an existing ubuntu 20.04. installation completely to USB boot:
https://www.instructables.com/Raspberry-Pi-4-USB-Boot-No-SD-Card/
Process overview: top, htop, nmon
Disk/read/write: iotop -o -b -d 10
https://askubuntu.com/questions/18654/how-to-prevent-updating-of-a-specific-package
Put a package on hold:
echo "<package-name> hold" | sudo dpkg --set-selections
Remove the hold:
echo "<package-name> install" | sudo dpkg --set-selections
Display the status of your packages:
dpkg --get-selections
apt
Hold a package:
sudo apt-mark hold <package-name>
Remove the hold:
sudo apt-mark unhold <package-name>
Show all packages on hold:
sudo apt-mark showhold
dd if=/dev/mmcblk0 |gzip > /media/backup/2020_02_16_gzip_backup.gz
|
$ vcgencmd otp_dump | grep 17:
17:3020000a
total_mem=3072
18309) Cannot evaluate: Filesystem 1K-blocks Used Available Use% Mounted on /dev/mmcblk0p2 7318052 4276676 2701448 62% / /1024
| host.RelayPi1 | 2020-06-09 21:10:54.654 | error | Caught by controller[0]: at process._tickCallback (internal/process/next_tick.js:61:11) errno: 19, code: 'ENODEV', syscall: 'bind' } |
| host.RelayPi1 | 2020-06-09 21:10:54.653 | error | Caught by controller[0]: at process.nextTick (/opt/iobroker/node_modules/@abandonware/noble/lib/noble.js:60:24) |
| host.RelayPi1 | 2020-06-09 21:10:54.653 | error | Caught by controller[0]: at NobleBindings.init (/opt/iobroker/node_modules/@abandonware/noble/lib/hci-socket/bindings.js:78:13) |
| host.RelayPi1 | 2020-06-09 21:10:54.652 | error | Caught by controller[0]: at Hci.init (/opt/iobroker/node_modules/@abandonware/noble/lib/hci-socket/hci.js:100:35) |
| host.RelayPi1 | 2020-06-09 21:10:54.652 | error | Caught by controller[0]: { Error: ENODEV, No such device |