Posts: 2,581
Threads: 453
Joined: Jan 2022
Reputation:
0
What are you trying to accomplish?
Posts: 296
Threads: 38
Joined: Jan 2010
Reputation:
0
a file 'corrupted' while decoding overnight and grew to such a size as to overtake all free space. The drive will not boot up now, because it doesn't have enough free space "to think". My goal is to either A) delete the oversized file (or it's directory if need be) or b) delete enough (known) files as to create breathing room for the system.
Posts: 2,581
Threads: 453
Joined: Jan 2022
Reputation:
0
Alright.
After you get into single user mode, as it says, run the scripts it says to mount the hard drive in read right, after that you should be set.
Posts: 296
Threads: 38
Joined: Jan 2010
Reputation:
0
that's what I was afraid of. I get a kernel panic when I run either /sbin/mount -uw / or sh /etc/rc. Is there ANY other way I can get privilege to delete?
Posts: 296
Threads: 38
Joined: Jan 2010
Reputation:
0
When I type login, shouldn't the correct response be my login and password from my OSX login? The password is 20 letters/numbers though.
Posts: 19,358
Threads: 1,726
Joined: May 2025
Reputation:
0
sorry, just saw your comments about panics when you try to mount the drive. Can you boot from your backup, mount your internal drive, then delete the file? You do have a backup, right? Right?
Posts: 8,225
Threads: 431
Joined: Jan 2009
Reputation:
0
Your description of the command line in Single User Mode does not inspire confidence. Are you sure there isn't anyone else with more experience at the command line who could do this for you?
What is the path to the directory and file(s) that you want to get rid of?
What command (exactly as you'd type it) were you planning to use to delete that directory and those files?
Posts: 296
Threads: 38
Joined: Jan 2010
Reputation:
0
the path would be:
Macintosh HD/X DOWNLOADS/DLOADS/filename.eps
There's nothing so critical to me in that folder that deleting DLOADS or even X DOWNLOADS would bother me.
I understand the usage of "rm filename" to delete files and "rm -r directoryname" to delete directories. It's gaining the privilege to do so without mounting the drive which sends it in a kernel panic (with the oh so funny - not at all - tagline "panic: we are hanging here..."). I've been trying to figure something out for 20+ hours now - I'm fried and probably should wait until morning to try anything new. crud.