09-18-2020, 01:08 AM
(09-17-2020, 03:47 PM)cafcaf777 Wrote: Hi,
Well, I'm using Linux Mint 20 Cinnamon and trying to install Ventoy but I just can't. I Should be able to do it with root privileges but isn't working anyway.
Even as root user it says " Failed to access /dev/sdd, maybe root privilege is needed!"
The script just use dd to read data from /dev/sdd to check that whether we can acess the disk.
You can run the dd cmd manually.
Code:
if dd if="$DISK" of=/dev/null bs=1 count=1 >/dev/null 2>&1; then
vtdebug "root permission check ok ..."
else
vterr "Failed to access $DISK, maybe root privilege is needed!"
echo ''
exit 1
fi