if this actually works in theory.
Code:
sudo gunzip -c linux-mint.gz | dd of=/dev/sdb status=progress
then it is this
Code:
sudo gunzip -c linux-mint.gz | sudo dd of=/dev/sdb status=progress
just log in root
Code:
su
passwd
#gunzip -c linux-mint.gz | dd of=/dev/sdb status=progress
it might not even need to be entirely ran as root. Thererfore, just switch around what you've came up with.
Code:
gunzip -c linux-mint.gz | sudo dd of=/dev/sdb status=progress
unzip, or untar it s a user, and dd it as root