Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

Cian1118

macrumors newbie
Original poster
Feb 25, 2013
4
0
Hello I am posting on the forums today because I urgently need help to save the files on my hard drive!
So it all started when I booted up my MacBook Mid 2009 a while ago. The grey bar appeared under the apple logo while booting. It got to the end and then shut off immediately. So I tried fixing things and it all worked fine when I got disk warrior. I got into my hard drive and tried to back it up but it froze so I had to turn it off. When I restarted it booted straight to the recovery drive (mountain lion). The disk is there and I verified and repaired. Failed again. Booted into disk warrior, the computer being very slow. After d/w inspected the drive it gave me this: the disk cannot be rebuilt. The disk is still in use. Error code 2153, 4903.
Now I understand that I must use terminal in the recovery drive to kill the process stopping disk warrior.
I believe I have found it using: ls -la /Volumes/
But how so I kill it because there is no PID so the kill command tells me it's not a process. Please help! If you want me the copy and paste the stuff that comes up when I do ls -la /Volumes/ please ask.
 
Are you booting to a Disk Warrior DVD or external drive? If not, then you're using the Recovery Partition -- on the volume you're trying to repair. That's why it's in use.

I'm surprised how often I still see people with no backup. PLEASE backup your files -- or you WILL lose them.
 
Thanks for the reply.
I'm booting to the diskwarrior DVD.
Using the terminal in recovery (which is on the INTERNAL HD) I've found what I think is the application that's stopping disk warrior. I know that the recovery is a partition of the internal HD but when I done the commands in terminal it tells which partition it's on, which is Macintosh HD.

The real help I need is getting help using terminal to close the app I have found. I can't use the kill command because no PID (process id) shows up for after doing command: ls -la /Volumes/
 
I can't use the kill command because no PID (process id) shows up for after doing command: ls -la /Volumes/
That command just lists the mounted volumes. It does not list processes.

Check out the Terminal command "top", which will show you the active processes.
 
When I type that in on the recovery terminal it's says command not found, although when I done it on my friends mac which is functioning properly it worked. So I need a different command that works in the recovery
 
Disk Warrior 'Disk still in use'

That command just lists the mounted volumes. It does not list processes.

Check out the Terminal command "top", which will show you the active processes.

Can someone lay out all steps to execute these commands in terminal to a non expert? Can not rebuild directory. Tried everything mentioned here and other forums.

I've shut down every program, tried everything except in Terminal.

thanks
 
Hello I am posting on the forums today because I urgently need help to save the files on my hard drive!
So it all started when I booted up my MacBook Mid 2009 a while ago. The grey bar appeared under the apple logo while booting. It got to the end and then shut off immediately. So I tried fixing things and it all worked fine when I got disk warrior. I got into my hard drive and tried to back it up but it froze so I had to turn it off. When I restarted it booted straight to the recovery drive (mountain lion). The disk is there and I verified and repaired. Failed again. Booted into disk warrior, the computer being very slow. After d/w inspected the drive it gave me this: the disk cannot be rebuilt. The disk is still in use. Error code 2153, 4903.
Now I understand that I must use terminal in the recovery drive to kill the process stopping disk warrior.
I believe I have found it using: ls -la /Volumes/
But how so I kill it because there is no PID so the kill command tells me it's not a process. Please help! If you want me the copy and paste the stuff that comes up when I do ls -la /Volumes/ please ask.
[doublepost=1519228247][/doublepost]I think I finally figured this one out. The problem for me was mdworker (Spotlight). After booting up from another volume, I went to the Spotlight preference pane, and added Macintosh HD to the Privacy pane. I was instantly able to run Diskwarrior without the 2153 error.
 
  • Like
Reactions: Bramsspam
[doublepost=1519228247][/doublepost]The problem for me was mdworker (Spotlight). After booting up from another volume, I went to the Spotlight preference pane, and added Macintosh HD to the Privacy pane. I was instantly able to run Diskwarrior without the 2153 error.

FYI I also had this 2153 problem but Spotlight wasn't what caused it for me. From Disk Utility I tried to unmount the drive, it couldn't because files were still being used but at least told me the offending program (GrowlHelperApp). After deleting the GrowlHelperApp files (and I think rebooting but I'm not sure about that) I no longer got the 2153 error in DiskWarrior.
 
My guess is that fsck is running in the background which is using the drive. In terminal use 'ps -ax | grep fsck' to find the process. If it is running you will see something I think that says like fsck....blah blah..../dev/disk0s2 or something like that, IN ADDITION to the actual command to you just entered. So if you see a PID associated with something like disk0s2, then type 'kill PID' where PID = some number.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.