Jump to content

USB HD is now recognized as read only media


Recommended Posts

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 by kmc77
Link to comment
Share on other sites

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 by kmc77
Link to comment
Share on other sites

Formatted fat32.

 

root@kevins:/home/kevin # dmesg

_pos 0)

FAT: Filesystem panic (dev sda1)

    fat_get_cluster: invalid cluster chain (i_pos 0)

 

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.

Link to comment
Share on other sites

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

×
×
  • Create New...