Last Updated on 20/11/2023 by Kevin Agar
Some commands and information to help with Bookworm OS
Manually create a system image
sudo bash /var/www/add_on/Image_Tools/image_utils/image-backup
Reload systemd manager configuration.
This command should not be confused with the reload command.
sudo systemctl daemon-reload
Start the service mnt-pibackups.mount See here
sudo systemctl start mnt-pibackups.mount
Stop the service mnt-pibackups.mount See here
sudo systemctl stop mnt-pibackups.mount
For each automount unit file a matching mount unit file must exist, which is activated when the automount path is accessed. Example: if an automount unit mnt-pibackups.automount is active and the user accesses /mnt/pibackups the mount unit mnt-pibackups.mount will be activated.
A typical use case for automount units is mounting file systems (e.g. on remote or removable or encrypted media) that are not required during the boot process and may slow it down, or that may be unavailable at boot, but that you still like having managed by systemd.
sudo systemctl enable mnt-pibackups.automount
show the state of all services
sudo systemctl status
show the state of all services with descriptions
To see failed services
sudo systemctl –failed
To attempt to restart failed services
sudo systemctl reset-failed
bookworm uses NetworkManager rather than WPASupplicant to manage the wifi connection. You can issue the command ‘sudo nmtui‘ from the commandline to initiate a graphical interface to setup the connection.
For some reason the BT.helper service doesn’t start on my Raspberry PI 3B Therefor add this line to the /boot/config.txt file
sudo nano /boot/config.txt
add the following to the end of the file and save
dtoverlay=disable-bt #disable Bluetooth