You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Installed newest script on fresh bookworm install on raspberry pi4. If script is run interactively using SSH or at console there is no error and it succeeds whereas using it under a script running as root, throws below error.
exact command passed in script as well as on ssh/console
sudo /usr/local/bin/pishrink.sh -a -d -v -z /mnt/backup/pathtodestination/$HOSTNAME.$(date +%Y%m%d).img
OS version -
Linux masteraio 6.6.51+rpt-rpi-v8 #1 SMP PREEMPT Debian 1:6.6.51-1+rpt3 (2024-10-08) aarch64 GNU/Linux
parted version as reported is -
parted (GNU parted) 3.5
Thank you
The text was updated successfully, but these errors were encountered:
Title says it all -
Installed newest script on fresh bookworm install on raspberry pi4. If script is run interactively using SSH or at console there is no error and it succeeds whereas using it under a script running as root, throws below error.
PiShrink v0.1.5 - https://github.com/Drewsif/PiShrink
pishrink.sh: ERROR occurred in line 261: parted is not installed.
exact command passed in script as well as on ssh/console
sudo /usr/local/bin/pishrink.sh -a -d -v -z /mnt/backup/pathtodestination/$HOSTNAME.$(date +%Y%m%d).img
OS version -
Linux masteraio 6.6.51+rpt-rpi-v8 #1 SMP PREEMPT Debian 1:6.6.51-1+rpt3 (2024-10-08) aarch64 GNU/Linux
parted version as reported is -
parted (GNU parted) 3.5
Thank you
The text was updated successfully, but these errors were encountered: