
On 18/08/12 17:17, Morrie Wyatt wrote:
On 18/08/12 15:54, Peter Wolf wrote:
Hello, I was trying to backup some data from a Ubuntu 12.04 linux installation when all of a sudden the external hard drive I was using (My Passport 300Gb) changed to read only.I have spent about 2 hours trying to set the permission back to read write without success.For example I have tried the following command
sudo chmod 755 "/media/My Passport"
and
sudo chmod 777 "/media/My Passport"
the message given both times was
chmod: changing permissions of `/media/My Passport': Read-only file system
I'd also like to mention that I do not recommend Ubuntu 12.04 to anyone as it has far too many bugs to be usable.Linux Mint is much better for example.
I hope someone can help me to get my external drive back to read write mode.
regards Peter
_______________________________________________ luv-beginners mailing list luv-beginners@lists.luv.asn.au http://lists.luv.asn.au/listinfo/luv-beginners I suspect that the filesystem is not the problem.
Just run the mount command on it's own with no arguments to see how your filesystems are currently mounted.
If my guess is correct, you will find it is mounted in "ro" mode (Read Only).
What you will need to do is to remount the filesystem in rw mode (read/write).
sudo mount -o remount,rw '/media/My Passport'
Maybe the drive was not cleanly shut down and it therefore needs an fsck check on the filesystem.
Under those circumstances, it is not unreasonable for the drive to be mounted read only, as any corruption on the filesystem could be made much worse by further writes.
(A clip from /var/log/dmesg on my ubuntu system.
"EXT4-fs (sda2): re-mounted. Opts: errors=remount-ro"
which shows that the filesystem is configured to remount in ro mode should errors in the filesystem be discovered at mount time.)
I hope that gives you a few avenues to check.
Regards, Morrie.
_______________________________________________ luv-beginners mailing list luv-beginners@lists.luv.asn.au http://lists.luv.asn.au/listinfo/luv-beginners
Hello Morrie, Thanks for the reply.I did have trouble with the power supply to the external hard drive so it was probably not cleanly shutdown.However after running a mount command this is what I get. /dev/sdb1 on /media/My Passport type vfat (rw,nosuid,nodev,uid=1000,gid=1000,shortname=mixed,dmask=0077,utf8=1,showexec,flush,uhelper=udisks) I tried umount /dev/sdb1 sudo fsck /dev/sdb1 however the problem remained I also tried sudo mount -o remount,rw '/media/My Passport' with no change. I am hoping the problem can be fixed but I am not sure what to try next. regards Peter