Results 1 to 9 of 9
  1. #1
    dustboy
    Guest
    OS 10.4 boots into shell...how to restore??
    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

  2. #2

    rman's Avatar
    Member Since
    Dec 24, 2002
    Location
    Los Angeles, California
    Posts
    12,584
    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
    Cool
    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!

  3. #3
    dustboy
    Guest
    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.

  4. #4

    rman's Avatar
    Member Since
    Dec 24, 2002
    Location
    Los Angeles, California
    Posts
    12,584
    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
    Cool
    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!

  5. #5
    dustboy
    Guest
    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".

  6. #6
    dustboy
    Guest
    Okay, I fixed it, found the answer by googling the error message.

    Thanks for all the help.

  7. #7

    rman's Avatar
    Member Since
    Dec 24, 2002
    Location
    Los Angeles, California
    Posts
    12,584
    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
    Cool
    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!

  8. #8
    JunMacTech
    Guest
    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:

  9. #9
    sursuciofla
    Guest
    Yep just like a movie without a conclusion...

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Replies: 3
    Last Post: 11-26-2014, 10:53 PM
  2. Replacing white MacBook shell with black MacBook shell.
    By Ricerind in forum Apple Notebooks
    Replies: 8
    Last Post: 08-27-2008, 02:58 PM
  3. iBook 9.2 restore same as iMac 9.2 restore?
    By mikeportland in forum Running Windows (or anything else) on your Mac
    Replies: 1
    Last Post: 04-01-2008, 09:21 PM
  4. Can I use the restore disk from my macbook to restore my g5 tower?
    By digby in forum OS X - Operating System
    Replies: 2
    Last Post: 01-07-2007, 12:23 PM
  5. OS X Tiger shell vs RedHat Fedora Linux shell?
    By AlexN in forum OS X - Operating System
    Replies: 2
    Last Post: 09-17-2005, 08:08 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •