Usenet comp.os.linux.alpha (1997-2013)
 help / color / mirror / Atom feed
From: peltz@jaka.ece.uiuc.edu (Steve Peltz)
Subject: Re: booting into run levels
Date: 1998/05/28	[thread overview]
Message-ID: <6kkcf3$acc$1@jaka.ece.uiuc.edu> (raw)
In-Reply-To: w4oemxgkwj0.fsf@irtnog.org


Arguments you can pass go to the kernel (e.g. init=/bin/sh), or can go
to init itself (normally a runlevel, e.g. "single" or "3"). The SysVInit
scripts that come with Redhat are a problem (in my opinion) and try to
do too much if you go into single-user mode. You can bypass everything
by using "emergency" as the run-level. That isn't really much different
from simply saying init=/bin/sh, except I think if you exit the shell,
init will continue the normal boot process.

If you have a Redhat CD, you can just boot off of that, then use Alt-F2 to
get a shell. You could also run off of the CD with init=/bin/sh, then chroot
to the "live" disk system on the CD:

cd /live
usr/bin/chroot . /bin/sh

That will give you pretty much all the programs. Unfortunately, they left
/live/proc off of the RH5.0 CD, so you can't mount /proc in any useful way
(you can mount it, of course, but it won't be where programs that use it
expect to see it).

A read-only file system should have /etc/mtab be a symbolic link to
/proc/mounts; you could even have /proc/mounts exist, with an entry for
/dev/cdrom mounted at root (so df works before /proc is mounted).



  reply	other threads:[~1998-05-28  4:00 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1998-05-26  4:00 booting into run levels Jeremy Schofield
1998-05-27  4:00 ` His Holiness the Reverend Doktor Xenophon Fenderson, the Carbon(d)ated
1998-05-28  4:00   ` Steve Peltz [this message]
1998-05-28  4:00 ` bmeyer
1998-05-28  4:00 ` CharlieLi
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox