LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
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, 01: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 02:02 PM.
 
Old 03-24-2010, 02:23 PM   #2
divyashree
Senior Member
 
Registered: Apr 2007
Location: Bangalore, India
Distribution: RHEL,SuSE,CentOS,Fedora,Ubuntu
Posts: 1,386

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, 04: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, 04:28 PM   #4
schneidz
LQ Guru
 
Registered: May 2005
Location: boston, usa
Distribution: fedora-35
Posts: 5,313

Rep: Reputation: 918Reputation: 918Reputation: 918Reputation: 918Reputation: 918Reputation: 918Reputation: 918Reputation: 918
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 08:52 PM.
 
Old 03-24-2010, 04: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-24-2010, 11:09 PM   #6
divyashree
Senior Member
 
Registered: Apr 2007
Location: Bangalore, India
Distribution: RHEL,SuSE,CentOS,Fedora,Ubuntu
Posts: 1,386

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



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
read external hard drive mccclxxxv Linux - Hardware 6 06-11-2022 12:58 PM
External Hard Drive has become read-only jraclarke Linux - Newbie 17 07-30-2009 06:23 AM
external firewire hard drive is read only roofninja Ubuntu 5 02-16-2008 03:41 PM
New External Hard drive is Detected As Read-Only tubatodd Ubuntu 2 02-11-2007 12:19 PM
Can't read external hard drive alrymala Linux - Security 1 10-23-2005 01:42 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 09:00 PM.

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
Open Source Consulting | Domain Registration