Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

Question:

Question: Internal Hard Drive Locked "Read Only"

Hi, I'm locked out of the internal hard drive of my Macbook Pro running Mountain Lion….although I can access the repair (CMD+R) partition on the internal drive and alternatively boot from a USB thumb drive Mountain Lion installation, the main partition on the internal drive remains locked. I cannot select it to reinstall Mountain Lion or even backup files via FireWire disk mode (drive does not appear on host computer)


When clicking on the graphic image of the internal disk to which I'd like to reinstall OS X a window pops up saying, "This disk is locked." ('Disk Utilities' are unable to repair disk/permissions)


In Terminal when running from the OS X repair partition before the cursor occurs this text: -bash-3.2#


Can 'read only' permissions be changed via Terminal commands executed from the OS X repair startup (CMD+R)?


chflags 0 /volumes/volumename


nothing happens…just returns cursor after -bash-3.2#


chown 0:80 /volumes/volumename


returns: chown: /volumes/volumename: Read-only file system


chmod 775 /Volumes/Volumename


returns: chmod: Unable to change file mode on /volumes/volumename: Read-only file system


chmod -N /volumes/volumename


returns: chmod: Failed to clear ACL on file /volumes/almathea: Read-only file system

thanks!

OS X Mountain Lion

Posted on

Reply
Question marked as Helpful

Mar 31, 2013 4:06 PM in response to oceanbluesky In response to oceanbluesky

Hello,


I found this thread due to having a similar issue. Perhaps I can help:


Mac OS 10.8.2 boot hung. Needed to install file to primary hard drive by using USB Mac OS Install flash drive to boot and go to terminal. Had "mv (path):read-only file system" issue as well.


Invoked:

mount -uw /


Worked for me.


Best of luck,

-A

There’s more to the conversation

Read all replies

Aug 9, 2012 11:59 AM in response to macjack In response to macjack

thank you I've read that thread several times, including sublinked threads, to no avail...as others posted there, these commands did not work for them either:


sudo chflags 0 /volumes/*

sudo chmod a+rx /volumes/*


What commands change the partition from 'Read-Only' via a terminal started via OS X repair?


thanks

Aug 9, 2012 11:59 AM

Reply Helpful

Aug 9, 2012 12:04 PM in response to macjack In response to macjack

I do not need the 'sudo' command since this Terminal is from the repair partition, right?


when executing the above with sudo the following returns:


-bash: sudo: command not found


but when executing the commands without sudo the more responsive error messages listed above are returned...


also, should I be asked for a password?


is -bash-3.2# supposed to be ahead of the cursor in the repair partition's terminal?


thanks again

Aug 9, 2012 12:04 PM

Reply Helpful

Aug 9, 2012 12:23 PM in response to macjack In response to macjack

if this helps, after executing the first line, the following is returned:


-bash-3.2# ls -l

total 8

d-wx-wx-wt@ 2 root admin 68 Aug 9 10:46 .Trashes

drwxr-xr-x 36 root wheel 1292 Aug 6 02:03 volumename

drwxrwxr-x 9 root wheel 374 Jul 26 11:12 Image Volume

lrwxr-xr-x 1 root admin 1 Aug 9 10:46 Mac OS X Base System ->

-bash-3.2# [cursor]



what does "wheel" mean?


thanks again

Aug 9, 2012 12:23 PM

Reply Helpful

Aug 9, 2012 1:25 PM in response to macjack In response to macjack

this is the result of running Disk Utility's 'Verify Disk Permissions'


Verifying permissions for "volumename"

Group differs on "Library/Java"; should be 0; group is 80.

Permissions differ on "LibraryJava" ; should be drwxr-xr-x; they are drwxrwxr-x.

Group differs on "Library/Preferences/com.apple.alf.plist"; should be 80; group is 0.

Permissions differ on "System/Library/Fr…ild be lrwrwxrwx ; they are lrwxr-xr-x.

Permissions differ on "System/Library/Fr…ild be lrwrwxrwx ; they are lrwxr-xr-x.

Permissions differ on "System/Library/Fr…ild be lrwrwxrwx ; they are lrwxr-xr-x.

ACL found but not expected on "private/var/root/Library"

ACL found but not expected on "private/var/root/Library/Preferences"

Group differs on "private/var/db/GPURestartReporter"; should be 0; group 80.

Permissions differ on "private/var/db/GP…Id be drwxr-xr-x ; they are drwxrwxr-x.


Permissions verification complete.


...if that helps?

Aug 9, 2012 1:25 PM

Reply Helpful
Question marked as Helpful

Mar 31, 2013 4:06 PM in response to oceanbluesky In response to oceanbluesky

Hello,


I found this thread due to having a similar issue. Perhaps I can help:


Mac OS 10.8.2 boot hung. Needed to install file to primary hard drive by using USB Mac OS Install flash drive to boot and go to terminal. Had "mv (path):read-only file system" issue as well.


Invoked:

mount -uw /


Worked for me.


Best of luck,

-A

Mar 31, 2013 4:06 PM

Reply Helpful (7)
User profile for user: oceanbluesky

Question: Internal Hard Drive Locked "Read Only"