Need Help to Reboot to Mac OS X | Unix Linux Forums | UNIX for Dummies Questions & Answers

  Go Back    


UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !!

Need Help to Reboot to Mac OS X

UNIX for Dummies Questions & Answers


Tags
unix commands

Closed Thread    
 
Thread Tools Search this Thread Display Modes
    #1  
Old 05-19-2007
philomaximus philomaximus is offline
Registered User
 
Join Date: May 2007
Last Activity: 21 May 2007, 12:00 AM EDT
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Error Need Help to Reboot to Mac OS X

Hello. Somehow I got out of my gui Mac OS 10.2 into Unix single-user mode. No matter what I've tried, I can't get out of Unix. I've tried the command "reboot" with no success. I've tried a safe boot, an X boot, and a couple of others and nothing seems to work. I can use the Unix commands to determine that my files are all still intact, but I can't get to them. I would try simply re-installing the OS, but my dvd drive door won't open. Does anyone have any suggestions? (If it would help, I could go through a step by step to tell you what happened before it went Unix, but it's a long story and may not help. If you think it will, let me know and I'll give details.) Thanks to anyone who can help.
Sponsored Links
    #2  
Old 05-20-2007
porter porter is offline Forum Advisor  
Registered User
 
Join Date: Jan 2007
Last Activity: 8 January 2008, 6:50 PM EST
Posts: 2,965
Thanks: 0
Thanked 5 Times in 5 Posts
Are you at a shell prompt at a console?

Are you able to either log in as root or su to root?

Can you run "ps -ef" to show all processes running?

Have to tried "shutdown -h now" to power down the box down cleanly.

Can you run "top" and see what's busy?
Sponsored Links
    #3  
Old 05-20-2007
philomaximus philomaximus is offline
Registered User
 
Join Date: May 2007
Last Activity: 21 May 2007, 12:00 AM EDT
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Quote:
Originally Posted by porter
Are you at a shell prompt at a console?

Are you able to either log in as root or su to root?

Can you run "ps -ef" to show all processes running?

Have to tried "shutdown -h now" to power down the box down cleanly.

Can you run "top" and see what's busy?
Hello! Just so you know, I am even newer than a newbie, so you'll have to talk to me like I'm five.

Yes, I'm at a shell prompt.

I tried logging in with my system name and password, but it came up as incorrect.

I typed in the "ps -ef" and this is what I got: ps: illegal option --f usage: ps [-aChjlmMrSTuvwx] [0|o fmt] [-p pid] [-t Hy] [-U user] [-N system] [-W swap] ps [-L]

Shutdown -h now works -- yea! I didn't know how to do that before.

Top brings up a bunch of stuff. Top line reads Processes: 5 total, 2 running, 3 sleeping.

I am also able to change directories and see that my folders and files are still there.
    #4  
Old 05-20-2007
porter porter is offline Forum Advisor  
Registered User
 
Join Date: Jan 2007
Last Activity: 8 January 2008, 6:50 PM EST
Posts: 2,965
Thanks: 0
Thanked 5 Times in 5 Posts
1. So shutdown works and a restart takes you back to a console?

2. Does this take you to a login prompt or straight in with the command prompt?

3. try ps ax

4. To get your files off I suggest you package them up as a tar file and ftp them to another box eg...

cd $HOME
tar cf /tmp/my.tar *
cd /tmp
ftp another-host
binary
put my.tar

5. then install the OS from scratch, in your case borrow a DVD drive from another machine.
Sponsored Links
    #5  
Old 05-21-2007
philomaximus philomaximus is offline
Registered User
 
Join Date: May 2007
Last Activity: 21 May 2007, 12:00 AM EDT
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Quote:
Originally Posted by porter
1. So shutdown works and a restart takes you back to a console?

2. Does this take you to a login prompt or straight in with the command prompt?

3. try ps ax

4. To get your files off I suggest you package them up as a tar file and ftp them to another box eg...

cd $HOME
tar cf /tmp/my.tar *
cd /tmp
ftp another-host
binary
put my.tar

5. then install the OS from scratch, in your case borrow a DVD drive from another machine.
Shutdown worked. Reboot was simply rebooting back to the unix prompt. I installed the OS from scratch and that seems to have worked. I still have no idea how I got into Unix to start with and why I couldn't get it back to OS X. But I'm just glad it's back. I've learned a little about Unix though Thanks for all the help!
Sponsored Links
Closed Thread

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
/tmp its empty after every reboot thecobra151 Solaris 4 03-31-2011 12:20 PM
best way to reboot ? tjay83 Shell Programming and Scripting 6 11-08-2008 06:49 AM
different between soft reboot and hard reboot seelan3 Solaris 3 09-21-2006 02:12 AM
reboot after panic hp-ux 11o shoultsc UNIX for Advanced & Expert Users 1 09-07-2006 11:57 AM
reboot guest100 UNIX for Dummies Questions & Answers 1 12-12-2001 05:11 AM



All times are GMT -4. The time now is 03:44 AM.