Sponsored Content
Top Forums UNIX for Dummies Questions & Answers Need Help to Reboot to Mac OS X Post 302118250 by philomaximus on Monday 21st of May 2007 12:00:47 AM
Old 05-21-2007
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 Smilie Thanks for all the help!
 

2 More Discussions You Might Find Interesting

1. Solaris

different between soft reboot and hard reboot

Hi Guru's Can any want here could explain to me the different between soft reboot and hard reboot . Best Regards Seelan (3 Replies)
Discussion started by: seelan3
3 Replies

2. BSD

MAC at @reboot, like some cellphone

I want to change my MAC at reboot, so making it a cron job like the following in BSD. Can I do this in the jail for the user, setting it as a command or should it be a script? I would set it as a command openssl rand -hex 6 | sed 's/\(..)/\1:/g; s/.$//' just to test it, it works. To... (0 Replies)
Discussion started by: 1in10
0 Replies
REBOOT(2)							System Calls Manual							 REBOOT(2)

NAME
reboot - close down the system or reboot SYNTAX
#define _MINIX_SOURCE 1 #include <unistd.h> int reboot(int how, ...) DESCRIPTION
Reboot() is used to close down the system. It allows several ways of shutting down depending on how: reboot(RBT_HALT) Halt the system and return to the monitor prompt. reboot(RBT_REBOOT) Reboot the system by letting the monitor execute the "boot" command. reboot(RBT_PANIC) Cause a system panic. This is not normally done from user mode, but by servers using the sys_abort() kernel call. reboot(RBT_MONITOR, code, length) Halt the system and let the monitor execute the given code of the given length. (code is of type char * and length of type size_t.) reboot(RBT_RESET) Reboot the system with a hardware reset. Reboot() may only be executed by the super-user. DIAGNOSTICS
If the call succeeds, it never returns. If something went wrong, the return value is -1 and an error is indicated by errno. SEE ALSO
shutdown(8), reboot(8), halt(8), sync(1). NOTES
Minix can not return to the monitor if running in real mode, or if started from MS-DOS. This means that most of the reboot functions will change to a reset. AUTHOR
Edvard Tuinder (v892231@si.hhs.NL) REBOOT(2)
All times are GMT -4. The time now is 07:26 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy