LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 03-24-2010, 02:59 PM   #1
Baldywood
LQ Newbie
 
Registered: Mar 2010
Posts: 2

Rep: Reputation: 0
External drive read only.


Hello,

I've had a look at some similar threads but as I'm very new to linux they're already a bit technical for me. Sorry, this calls for someone with patience. I gather from other threads that disconnecting an external drive without unmounting is a no-no, and this seems to be the likely cause. Now the disk is read only and I'm unable to change any settings through the usual control panel on ubuntu. I'm just not familiar with the terminal instructions. I tried to cut and past a few command lines from other threads but I got some warnings that proceding could damage data. Like this one:

WARNING!!! Running e2fsck on a mounted filesystem may cause
SEVERE filesystem damage.

Do you really want to continue (y/n)?

Any advice would be welcome,
Thanks

Last edited by Baldywood; 03-24-2010 at 03:02 PM.
 
Old 03-24-2010, 03:23 PM   #2
divyashree
Senior Member
 
Registered: Apr 2007
Location: bbsr,orissa,India
Distribution: RHEL5 ,RHEL4,CENT OS5,FEDORA,UBUNTU
Posts: 1,362

Rep: Reputation: 135Reputation: 135
Quote:
disconnecting an external drive without unmounting
This can create many disturbances .

So if u did that ,1st manually unmount by,

Quote:
umount -f /mnt
If u had mounted the external drive to /mnt .
 
Old 03-24-2010, 05:00 PM   #3
Baldywood
LQ Newbie
 
Registered: Mar 2010
Posts: 2

Original Poster
Rep: Reputation: 0
When I try to unmount it says:

umount: only root can do that

The main issue for me is how to get my drive back to read/write?

Thanks
 
Old 03-24-2010, 05:28 PM   #4
schneidz
LQ Guru
 
Registered: May 2005
Location: boston, usa
Distribution: fc-15/ fc-20-live-usb/ aix
Posts: 5,027

Rep: Reputation: 845Reputation: 845Reputation: 845Reputation: 845Reputation: 845Reputation: 845Reputation: 845
can you please post the output of mount and maybe df -h so we can see what is in your system.

you can try to sudo umount /dev/sda1 assuming your disk is sda1.
if it says you're not a sudoer then:
su -
umount /dev/sda1


usually mount -o rw /dev/sda1 /path/to/directory does the trick (it would have to be changed for your setup).

Last edited by schneidz; 03-24-2010 at 09:52 PM.
 
Old 03-24-2010, 05:38 PM   #5
rubentje1991
Member
 
Registered: Feb 2008
Location: Belgium
Distribution: PCLinuxOS
Posts: 102

Rep: Reputation: 22
drive r/w

hlo,

so, your drive did work in the past on that distro?

ELSE maybe you have to install ntfs-3g to write to that drive (if it contains a ntfs-filesystem)

But first try the post from schneidz!
 
Old 03-25-2010, 12:09 AM   #6
divyashree
Senior Member
 
Registered: Apr 2007
Location: bbsr,orissa,India
Distribution: RHEL5 ,RHEL4,CENT OS5,FEDORA,UBUNTU
Posts: 1,362

Rep: Reputation: 135Reputation: 135
Quote:
Originally Posted by Baldywood View Post
When I try to unmount it says:

umount: only root can do that

The main issue for me is how to get my drive back to read/write?

Thanks
Thats why I wrote above ,

you should use umount in root mode and forcefully ,with -f option .
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
External Hard Drive has become read-only jraclarke Linux - Newbie 17 07-30-2009 07:23 AM
external firewire hard drive is read only roofninja Ubuntu 5 02-16-2008 04:41 PM
New External Hard drive is Detected As Read-Only tubatodd Ubuntu 2 02-11-2007 01:19 PM
Can't read external hard drive alrymala Linux - Security 1 10-23-2005 02:42 PM
read external hard drive mccclxxxv Linux - Hardware 4 04-21-2004 07:15 PM


All times are GMT -5. The time now is 02:50 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration