Ventoy Forums
Root not working - Can't install Ventoy - Printable Version

+- Ventoy Forums (https://forums.ventoy.net)
+-- Forum: Ventoy General Use —— Ventoy 使用交流 (https://forums.ventoy.net/forumdisplay.php?fid=1)
+--- Forum: Ventoy Discussion Forum (https://forums.ventoy.net/forumdisplay.php?fid=2)
+--- Thread: Root not working - Can't install Ventoy (/showthread.php?tid=610)



Root not working - Can't install Ventoy - cafcaf777 - 09-17-2020

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!" [Image: icon_confused.gif]


[Image: file.php?id=62869&sid=53ab787476e81f4b21...&mode=view]


RE: Root not working - Can't install Ventoy - longpanda - 09-18-2020

(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!" [Image: icon_confused.gif]


[Image: file.php?id=62869&sid=53ab787476e81f4b21...&mode=view]

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



RE: Root not working - Can't install Ventoy - GCMartin - 09-19-2020

If USB device is read-only (ro), you'll get this error.


RE: Root not working - Can't install Ventoy - cafcaf777 - 09-19-2020

I've tried 2 ventoy versions with 2 different USB devices and got the same problem: "Maybe root privilege is needed.

Windows version did the job.

Thank you


RE: Root not working - Can't install Ventoy - longpanda - 11-23-2020

What about the latest release?