Command to restart in Single User Mode?
I dont mean "hold down the S key". I know that one...
I mean the actual Terminal command to restart the Mac in Single User Mode.
Why? I have a beige G3/333 (ADB) and I use a USB keyboard via a PCI USB card. So I can't use the S key at startup (the USB driver loads too late).
Thanks
I mean the actual Terminal command to restart the Mac in Single User Mode.
Why? I have a beige G3/333 (ADB) and I use a USB keyboard via a PCI USB card. So I can't use the S key at startup (the USB driver loads too late).
Thanks
Comments
boot hd
if that doesn't work, you can also try 'boot hd
kill -TERM 1 (1 being the process id of init)
Your mac will now be in single use mode.
Pity the System V init sequences don't work the same or you could just init S for standalone and init 6 for multi user.
Dobby.
Originally posted by thuh Freak
i dont think its a very easy thing to do.
Actually, I think it is.
Open the terminal and enter the command:
sudo nvram boot-args="-s"
It'll now boot into single-user mode each time you restart. TO change it back to normal booting, enter the command:
sudo nvram boot-args=""