New To Mac-Forums?

Welcome to our community! Join the discussion today by registering your FREE account. If you have any problems with the registration process, please contact us!

Get your questions answered by community gurus Advice and insight from world-class Apple enthusiasts Exclusive access to members-only contests, giveaways and deals

Join today!

 
Start a Discussion
 

Mac-Forums Brief

Subscribe to Mac-Forums Brief to receive special offers from Mac-Forums partners and sponsors

Join the conversation RSS
OS X - Operating System General OS operation information and support

OS 10.4 - OS 10.4 boots into shell...how to restore??


Post Reply New Thread Subscribe

 
Thread Tools
dustboy
Guest
 
Posts: n/a

My poor lappy will only boot into a shell prompt. After using disk tools to upgrade to a bigger HD, there were 3-4 aliases in my main directory that I didn't recognize, I think a couple were "var" and "temp". Of course I threw them in the trash (didn't empty trash).

How do I get these back out of the trash if I can't get into OS X?

The screen is black and says:

/etc/master.passwd: No such file or directory
-sh-2.05b#

I tried all the suggestions in the "basic OS X troubleshooting" post.

Help! It's dark in here and I can't see my mouse pointer!! There are Emacs and Vipers lurking in the shadows!!

This is a:

G3 500Mhz Powerbook
latest OS 10.4 update
QUOTE Thanks
rman

 
rman's Avatar
 
Member Since: Dec 24, 2002
Location: Los Angeles, California
Posts: 12,589
rman has much to be proud ofrman has much to be proud ofrman has much to be proud ofrman has much to be proud ofrman has much to be proud ofrman has much to be proud ofrman has much to be proud ofrman has much to be proud ofrman has much to be proud ofrman has much to be proud of
Mac Specs: 2 x 3.0GHz Quad-Core, 6GB OS X 10.6.8 | 15in MacBook Pro 2.2GHz OS X 10.6.8 | 64GB iPad 2 WiFi

rman is offline
The easiest way to fix this is to do a fresh load of the system.

Okay, if you have a command line, can you do simple commands. Like the following:

pwd
ls -Al
df -k

If you can look in your trash can by doing the following:

ls -Al .Trash

If you see the var and tmp folder in there, then do a

cd .Trash

Once there issue this command

mv var tmp /private

The above command should move both folders back into the locate where they came from. Now verify that the folder were moved by doing

ls -l /private

you should see them there. The next thing is to reboot your system. Hopefully everything will be okay.

Life isn't about waiting for the storm to pass, It's about learning to dance in the rain!
QUOTE Thanks
dustboy
Guest
 
Posts: n/a

hmm, the only similar directory I see is .Trashes, but it doesn't seem to tell me what files are in it. Two lines come back with the read/write priviliges, but no file names.
QUOTE Thanks
rman

 
rman's Avatar
 
Member Since: Dec 24, 2002
Location: Los Angeles, California
Posts: 12,589
rman has much to be proud ofrman has much to be proud ofrman has much to be proud ofrman has much to be proud ofrman has much to be proud ofrman has much to be proud ofrman has much to be proud ofrman has much to be proud ofrman has much to be proud ofrman has much to be proud of
Mac Specs: 2 x 3.0GHz Quad-Core, 6GB OS X 10.6.8 | 15in MacBook Pro 2.2GHz OS X 10.6.8 | 64GB iPad 2 WiFi

rman is offline
I believe you are in the root directory. You need to be in your personal directory/folder. Do the following:

cd /users
ls -Al

You should see your personal folder there. If you do then do a cd <your folder name>/.Trash

Once you are in the case in your folder/directory do the:

ls -Al

If you see the two directories var and tmp. Then move them back tp their original place by doing the following:

mv tmp var /private

After which you reboot your system, by entering reboot.

Life isn't about waiting for the storm to pass, It's about learning to dance in the rain!
QUOTE Thanks
dustboy
Guest
 
Posts: n/a

Okay, the /private directory has the etc tmp and var directories in it, but it still won't boot.

error still says "/etc/master.passwd: no such file or directory", although if I look in the /private/etc directory there is a file named "master.passwd".
QUOTE Thanks
dustboy
Guest
 
Posts: n/a

Okay, I fixed it, found the answer by googling the error message.

Thanks for all the help.
QUOTE Thanks
rman

 
rman's Avatar
 
Member Since: Dec 24, 2002
Location: Los Angeles, California
Posts: 12,589
rman has much to be proud ofrman has much to be proud ofrman has much to be proud ofrman has much to be proud ofrman has much to be proud ofrman has much to be proud ofrman has much to be proud ofrman has much to be proud ofrman has much to be proud ofrman has much to be proud of
Mac Specs: 2 x 3.0GHz Quad-Core, 6GB OS X 10.6.8 | 15in MacBook Pro 2.2GHz OS X 10.6.8 | 64GB iPad 2 WiFi

rman is offline
So, what was the final solution to your problem? It would be very helpful, because someone else may come along with the same problem.

Life isn't about waiting for the storm to pass, It's about learning to dance in the rain!
QUOTE Thanks
JunMacTech
Guest
 
Posts: n/a

Quote:
Originally Posted by rman
So, what was the final solution to your problem? It would be very helpful, because someone else may come along with the same problem.
Don't you just love that? POST YOUR SOLUTION! neye:
QUOTE Thanks
sursuciofla
Guest
 
Posts: n/a

Yep just like a movie without a conclusion...
QUOTE Thanks

Post Reply New Thread Subscribe


« Re-installing OSX | keys acting up? »
Thread Tools

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off
Forum Jump

Similar Threads
Thread
Thread Starter
Forum
Replies
Last Post
iMac restore help Blair78 Apple Desktops 3 08-11-2006 12:24 AM
Can i have 10.2 and 10.4 installed on the one mac? Rochey OS X - Operating System 5 05-31-2006 08:21 AM
OSX 10.4 on a iBook G3 300mhz? dndcomputers OS X - Operating System 4 05-20-2006 11:58 AM
10.4 restore disc on 10.2 ccuento OS X - Operating System 2 02-18-2006 05:59 PM
OS X Tiger shell vs RedHat Fedora Linux shell? AlexN OS X - Operating System 2 09-17-2005 08:08 PM

All times are GMT -4. The time now is 04:38 AM.

Powered by vBulletin
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
X

Welcome to Mac-Forums.com

Create your username to jump into the discussion!

New members like you have made this community the ultimate source for your Mac since 2003!


(4 digit year)

Already a member?