[Ubuntu] External hard drive is read-only
Yesterday I installed Ubuntu on my PC, but I met an issue about the external drive is always the read-only. As the hard drive was the destination of my internal minio server, so I have make it writable too.
Error: mkdir: cannot create directory ‘abc’: No such file or directory
When I ran the df -T
, it shows like
/dev/sdb2 fuseblk 3907000316 278934580 3628065736 8% /media/username/InternalBackup
I labelled the hard drive name as InternalBackup in the Windows OS before.
THe above disk mounting is actually done by the Ubuntu. When the Operating System is started, it was already like that.
In this case, the solution is that
sudo umount /dev/sdb2 /media/username/InternalBackup
# If the above does not work, just manually unmount it from the desktop UI
sudo mount -o rwx /dev/sdb2 /media/username/
# Compare to mount the full hard drive name, we just need to mount it to the username level
After searching a ton of solution, this method worked for me.
If this post helped you to solve a problem or provided you with new insights, please upvote it and share your experience in the comments below. Your comments can help others who may be facing similar challenges. Thank you!