Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the 'How to fix without booting to anything!' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
How to fix without booting to anything!
Authored by: jk806 on Feb 25, '03 11:33:29AM

It IS possible to fix this without booting to OS 9, or otherwise fiddling with your hard drive from remote.

All you have to do is type this at the sh-2.05a# prompt:

sh-2.05a# mount -u -o rw /

Then you can copy the /etc/hostconfig~ file to /etc/hostconfig

sh-2.05a# cp /etc/hostconfig~ /etc/hostconfig
sh-2.05a# exit

and Viola! your system is back to booting normally.

[for the interested 'mount -u -o rw /' remounts your drive read-write so you can replace/edit the file that's causing the trouble. also, it appears that the utilities that manage the hostconfig file make a backup called hostconfig~. - I'm not sure if an empty file will do anything, but creating it empty might be worth a shot if you don't have anything else. Another option is to copy your existing hostconfig into /etc/defaults so you have it in an emergency. ]

-Cheers!

[ Reply to This | # ]
Correction - and update
Authored by: jk806 on Feb 25, '03 11:45:22AM

[Rob, please fix the typo in the above posting?!]

The mount command above should read:

sh-2.05a# mount -u -o rw /

Without the -o it doesn't work. typo on my part.

Also, I just checked and the file does NOT have to contain anything. Which means that all you have to do is issue the command:

sh-2.05a# touch /etc/hostconfig
sh-2.05a# exit

and things will be good to go!



[ Reply to This | # ]
How to fix without booting to anything!
Authored by: timzilla23 on Jun 03, '03 03:09:34AM

What a NIGHTMARE!!

I have this sh-2.05a# problem here tring to install Jaguar on my Blueberry iMac.

I've followed your instructions to the tee, but ony get 'command not found'

Any ideas?

Thanks in advance! I'm pulling my hair out!

Tim



[ Reply to This | # ]