Boot up to single user mode...

Boot up to single user mode...

Post by Andre Fach » Fri, 25 Nov 1994 05:50:34



Hi there!

How can I boot Linux to single user mode instead of multiuser mode?
The man pages for init say, that I have to run telinit, but how can
I boot to single user, if the machine doesn't come at all (i.e.*
after going to multiuser)?

Thanks
Andre

--


              Why use Windows, since there is a door?

 
 
 

Boot up to single user mode...

Post by Thomas Quin » Sun, 27 Nov 1994 05:52:39



Quote:> How can I boot Linux to single user mode instead of multiuser mode?
> The man pages for init say, that I have to run telinit, but how can
> I boot to single user, if the machine doesn't come at all (i.e.*
> after going to multiuser)?

You kind pass the 'single' argument to the kernel (for exemple, if your
kernel image is named 'linux', at the LILO boot: prompt you have to
type 'linux single').
--


 
 
 

Boot up to single user mode...

Post by Mark A. Horton KA4Y » Tue, 29 Nov 1994 07:20:04


: Hi there!

: How can I boot Linux to single user mode instead of multiuser mode?
: The man pages for init say, that I have to run telinit, but how can
: I boot to single user, if the machine doesn't come at all (i.e.*
: after going to multiuser)?

: Thanks
: Andre

Linux uses the program "LILO" (for LInux LOader) to boot it up....  This
is documented (among other places) in the file /usr/src/lilo/README which
says :

LILO is also able to pass command-line options to the kernel. Command-line
options are words that follow the name of the boot image and that are
separated by spaces. Currently, the kernel recognizes the options
root=<device>,  ro  and  rw , and all current init programs also recognize
the option  single . The option  vga  is processed by the boot loader itself.
single  boots the system in single-user mode. This bypasses all system
initialization procedures and directly starts a root shell on the console.
Multi-user mode can be entered by exiting the single-user shell or by
rebooting.

There is a wealth of useful information in this README.  Everyone should
take the opportunity to do so... it'll solve a LOT of problems! :)

- Mark

--
"InfoMagic Linux Developer's Resource - we support it!"
------------------------------------------------------------



 
 
 

1. Can't boot into single user mode OR multiuser mode!

I seem to have lost the ability to boot up at all!  My system hangs when I get
to the prompt asking me to enter the root password for system maintenance
mode, or enter ^D to go to multiuser mode.  Nothing I've thought of prevents
the hang.  The only thing I tried doing before this happened was installing
a BTLD (the smad driver) so that I can access a newly purchased zip drive.  
Unfortunately, I couldn't load the BTLD at boot time (because I get an "out
of low memory" error), and I couldn't load it with "installpkg" because I
encountered several "mv: couldn't move because it's a read only filesystem"
errors.  Then when I tried going to single user mode, I got a "no entry in
/etc/utmp" error.  Then when I tried rebooting, I got stuck in this hang
nightmare.  Is there some way to fix this or should I considering doing a
reinstall (ugh)?

Mark

2. Can't find CGI-BIN

3. How to boot in single user mode, the root filesystem mounted in read/WRITE mode

4. Upgrading to 2.2.16smp

5. Stopping users booting in single user mode (Was Re: What universities use Linux)

6. linux

7. boot to single user mode

8. Overclocking an AMD-K6-2 400 MHz to 450MHz

9. How to enter single user mode at boot time like SCO-UNIX ?

10. Why Solaris Boot in Single-User Mode?

11. booting in single user mode

12. Boot up in single user mode with installation CDROM and enable the network connection

13. Installed 2.4, but it only boots up in single-user mode?