LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
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 04-01-2008, 01:26 PM   #1
RMHusers
LQ Newbie
 
Registered: Apr 2008
Posts: 2

Rep: Reputation: 0
Trying to run fsck and get an error message, hard drive is write protected.


What commands can I use to unwrite protect my hard drive.
 
Old 04-01-2008, 01:29 PM   #2
jailbait
Guru
 
Registered: Feb 2003
Location: Blue Ridge Mountain
Distribution: Debian Wheezy, Debian Jessie
Posts: 7,593

Rep: Reputation: 188Reputation: 188
umount the drive. If the drive cannot be umounted then boot a live CD and run fsck from the live CD.

-----------------
Steve Stites
 
Old 04-01-2008, 01:47 PM   #3
RMHusers
LQ Newbie
 
Registered: Apr 2008
Posts: 2

Original Poster
Rep: Reputation: 0
I am very much a newbie. How do I unmount the drive? Will this corrupt or remove my progamming?
 
Old 04-01-2008, 02:32 PM   #4
jailbait
Guru
 
Registered: Feb 2003
Location: Blue Ridge Mountain
Distribution: Debian Wheezy, Debian Jessie
Posts: 7,593

Rep: Reputation: 188Reputation: 188
Quote:
Originally Posted by RMHusers View Post
I am very much a newbie. How do I unmount the drive? Will this corrupt or remove my progamming?

Actually the umount command works against partitions, not the entire drive. You can find out wht partitions are mounted with the mount command:

mount

Then issue the umount command against the partition you want to umount. Fro example if you want to umount /dev/sda1 then:

umount /dev/sda1

You can get more information about the umount command by using the man pages:

man umount

---------------------
Steve Stites
 
  


Reply

Tags
drive, hard


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
Etch hard drive fsck error? gnutler01 Debian 6 03-27-2008 08:34 PM
Please help me run fsck from a live cd to check my hard drive... extendedping Linux - Software 7 01-30-2007 04:17 PM
Hard drive; file system error; fsck failure linubex Mandriva 16 07-24-2006 09:50 PM
cfdisk cannot partition hard drive because it's "write protected" Flz Linux - General 13 04-25-2006 09:01 AM
Hard drive; file system error;automate fsck jumbo25 Linux - Software 1 10-05-2005 01:08 AM


All times are GMT -5. The time now is 04:09 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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration