LinuxQuestions.org
Help answer threads with 0 replies.
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, 12: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, 12:29 PM   #2
jailbait
Guru
 
Registered: Feb 2003
Location: Blue Ridge Mountain
Distribution: Debian Wheezy, Debian Jessie
Posts: 7,476

Rep: Reputation: 156Reputation: 156
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, 12: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, 01:32 PM   #4
jailbait
Guru
 
Registered: Feb 2003
Location: Blue Ridge Mountain
Distribution: Debian Wheezy, Debian Jessie
Posts: 7,476

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


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

Main Menu
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