Looks like no one’s replied in a while. To start the conversation again, simply ask a new 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 Aug 9, 2012 11:22 AM

Reply
9 replies

Aug 9, 2012 12:04 PM 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:23 PM 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 1:25 PM 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?

Internal Hard Drive Locked "Read Only"

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple ID.