kmc77 Posted March 7, 2005 Report Share Posted March 7, 2005 (edited) Ok, not sure where to begin looking on this problem. I have a USB HD that Ubuntu has handled beautifuly untill now. Not sure why, but suddenly, It has become read only. I check the permissions and it has read, write and execute permissions given to owner. Ok, everything should be good. Nope. Infact, It won't even let me change permissions as sudo/root. So, just for fun, let's try this the CLI way. root@kevins:/media/sda1/Recycled # rm /media/sda1/Recycled/desktop.ini rm: cannot remove `/media/sda1/Recycled/desktop.ini': Read-only file system Hmmm. Last time I had a USB HD problem, it was solved in the fstab file. # <file system> <mount point> <type> <options> <dump> <pass> proc /proc proc defaults 0 0 /dev/hda1 / ext3 defaults,errors=remount-ro 0 1 /dev/hda5 none swap sw 0 0[/QUOTE] /dev/hdc /media/cdrom0 udf,iso9660 ro,user,noauto 0 0 /dev/hdd /media/cdrom1 udf,iso9660 ro,user,noauto 0 0 /dev/fd0 /media/floppy0 auto rw,user,noauto 0 0 Ok, no sda1. Well I can read from the drive. Not sure what to do, or where to start. Can anyone give me some hints? Edited March 9, 2005 by kmc77 Quote Link to comment Share on other sites More sharing options...
kmc77 Posted March 7, 2005 Author Report Share Posted March 7, 2005 (edited) Tried to insert the USB HD line into fstab with no luck. Actually it wouldn't mount at all. No line in fstab=mount as read only disc. Line in fstab=no mount. Just a thought, but do you think Norton could be causing this problem? I notice that I have all of these hidden windows/norton files on the HD since I plugged it into my work computer. Edited March 7, 2005 by kmc77 Quote Link to comment Share on other sites More sharing options...
xxbeanxx Posted March 7, 2005 Report Share Posted March 7, 2005 Just a thought, but do you think Norton could be causing this problem? I notice that I have all of these hidden windows/norton files on the HD since I plugged it into my work computer. <{POST_SNAPBACK}> How is it formatted? NTFS? Also, does dmesg give you any hints? Run it immediately after inserting the drive. Quote Link to comment Share on other sites More sharing options...
kmc77 Posted March 7, 2005 Author Report Share Posted March 7, 2005 Formatted fat32. root@kevins:/home/kevin # dmesg_pos 0) FAT: Filesystem panic (dev sda1) fat_get_cluster: invalid cluster chain (i_pos 0) Quote Link to comment Share on other sites More sharing options...
xxbeanxx Posted March 7, 2005 Report Share Posted March 7, 2005 Formatted fat32. root@kevins:/home/kevin # dmesg_pos 0) FAT: Filesystem panic (dev sda1) fat_get_cluster: invalid cluster chain (i_pos 0) <{POST_SNAPBACK}> youch! you could try running dosfsck on the partition.. Maybe that'll fix the problem. Also, you could reformat the thing. If you do, and reformat it to fat32, make sure to zero the first 512 bytes. (dd if=/dev/zero of=/dev/sda1 count=512) I've read somewhere that this makes a difference, and appearantly it does because after I did it for my own it started working perfectly. Quote Link to comment Share on other sites More sharing options...
kmc77 Posted March 7, 2005 Author Report Share Posted March 7, 2005 I'll give it a shot. I'd hate to reformat tho. Oh well whatever I've got to do to use the thing. Quote Link to comment Share on other sites More sharing options...
kmc77 Posted March 9, 2005 Author Report Share Posted March 9, 2005 Reformated. All is well now. But I'd still like to know what happened. Oh well. Thanks for the help all. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.