Q: Erase Specific File From HDD w/ Boot CD?
I've got a PowerPC G3 with Tiger. Yesterday, I created /etc/launchd.config to raise maxfiles to 1024 on startup, in an effort to better automate a backup program. After a restart, the computer stopped booting at the grey screen w/ spinner.
When I start up the iMac in either Safe Boot w/ debug or Single-User Mode, I get spammed with "file: table is full". Bottom line, if I could just delete /etc/launchd.config I imagine it would solve the issue. I have a Boot CD and access to USB drives - how can I accomplish this?
iMac, Mac OS X (10.4.11)
Posted on Mar 8, 2014 10:47 AM
This has been a journey, but I finally got it working!
First I tried what you (rccharles) suggested, /sbin commands. Unfortunately, those ran the commands on the CD itself instead of the internal HDD so it didn't get me anywhere. However I found this article.
http://forums.macrumors.com/showthread.php?t=232302
After reading, I discovered the hard disk device identifier (disk0s9) through Disk Utility and ran this command.
mount -t hfs /dev/disk0s9 ~
I then navigated to /etc/launchd.config and proceeded to rm it. Being a noob and assuming it saved the change, I then hard shutdown the Mac. After discovering nothing had changed, I repeated the mount and rm but this time ran the clearly spelled out command to boot the OS while still in Single-User mode (that being sh /etc/rc), after which point I was returned to the OS X installation screen.
Restart to HDD using Startup Disk and it's alive! Thank you both so much for pointing me in the right direction so many times. <3
Posted on Mar 8, 2014 6:29 PM