Usenet comp.os.linux.alpha (1997-2013)
 help / color / mirror / Atom feed
* booting into run levels
@ 1998-05-26  4:00 Jeremy Schofield
  1998-05-27  4:00 ` His Holiness the Reverend Doktor Xenophon Fenderson, the Carbon(d)ated
                   ` (2 more replies)
  0 siblings, 3 replies; 5+ messages in thread
From: Jeremy Schofield @ 1998-05-26  4:00 UTC (permalink / raw)



Hello.  Does anyone know how to boot into single user
mode using MILO?  I've managed to mess up my Aspen System Durango II
box and have been unable to boot the system. I've tried setting
environment
variables (setenv boot_option=single), but with no success.  Lilo was a
bit
easier to use.
 	The problem occured after trying to update the system with
files (glibc, initscripts) from Redhat's site.I'm getting error messages
about "proces x respawning too fast".  The system automatically boots
into run level 5.
	I suppose I could use the Redhat (5.0) installation material
to look at the problem, but would like to know the answer to this
question anyway.
	Thanks.
		J.
-- 
Jeremy Schofield 
Chemical Physics Theory Group       telephone: 416-978-4376
Department of Chemistry             fax:       416-978-8775
University of Toronto
Toronto, Ontario M5S 3H6
Canada                          email: jmschofi@chem.utoronto.ca



^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: booting into run levels
  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
  1998-05-28  4:00 ` CharlieLi
  1998-05-28  4:00 ` bmeyer
  2 siblings, 1 reply; 5+ messages in thread
From: His Holiness the Reverend Doktor Xenophon Fenderson, the Carbon(d)ated @ 1998-05-27  4:00 UTC (permalink / raw)



When booting from MILO, anything following the kernel name is passed
as an argument.  So you could do

	boot sda1:vmlinux.gz single

or

	boot sda1:vmlinux.gz init=/bin/sh

and you should be ready to go.

-- 
Rev. Dr. Xenophon Fenderson, the Carbon(d)ated, KSC, DEATH, SubGenius, mhm21x16
"Abraham came not to sacrifice, but to know once and for all whether this God
was a god to be trusted and obeyed. No other test would do." (Fall of Hyperion)



^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: booting into run levels
  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 ` CharlieLi
@ 1998-05-28  4:00 ` bmeyer
  2 siblings, 0 replies; 5+ messages in thread
From: bmeyer @ 1998-05-28  4:00 UTC (permalink / raw)



Jeremy Schofield <jmschofi@chem.utoronto.ca> writes:

>variables (setenv boot_option=single), but with no success.  Lilo was a
            ^^^^^^^^^^^^^^^^^^^^^^^^^

Just a wild guess --- might be that it needs csh style syntax (likely,
as you use "setenv" rather than "export"), in which case the '=' sign
should not be there.

Bernie
-- 
============================================================================
"It's a magical world, Hobbes ol' buddy...
    	                                   ...let's go exploring"
Calvin's final words, on December 31st, 1995



^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: booting into run levels
  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 ` CharlieLi
  1998-05-28  4:00 ` bmeyer
  2 siblings, 0 replies; 5+ messages in thread
From: CharlieLi @ 1998-05-28  4:00 UTC (permalink / raw)



In article <356B62E9.5C860AD1@chem.utoronto.ca>,
  Jeremy Schofield <jmschofi@chem.utoronto.ca> wrote:
>
> Hello.  Does anyone know how to boot into single user
> mode using MILO?  I've managed to mess up my Aspen System Durango II
> box and have been unable to boot the system. I've tried setting
> environment
> variables (setenv boot_option=single), but with no success.  Lilo was a
> bit easier to use.

How about doing this?

MILO> boot sda2:vmlinux.gz boot_option=single

I had trouble, then I boot floppy/root by

MILO> boot sda2:vmlinux.gz root=/dev/fd0 load_ramdisk=1

This uses my floppy's root disk and tried to install the RedHat again, but I
can switch to "#" prompt after chosing harddisk as installation media and
press Alt-F2.  Of couse, I had to mount the hard disk fs manually to access
my statrtup files in /etc/rc.d.

Another thing I'm not sure is after a reboot, it always stops at MILO>
prompt.  I used "reboot" or "shutdown -r".  It cannot pass the MILO prompt
automatically.	However, if the power is off and on, it boot automatically. 
(MILO takes the boot argument from SRM system firmware.)

I tried to play with settings at MILO> prompt, but no luck.  Anyway to get
around?  Thanks.

Charlie Li

-----== Posted via Deja News, The Leader in Internet Discussion ==-----
http://www.dejanews.com/   Now offering spam-free web-based newsreading



^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: booting into run levels
  1998-05-27  4:00 ` His Holiness the Reverend Doktor Xenophon Fenderson, the Carbon(d)ated
@ 1998-05-28  4:00   ` Steve Peltz
  0 siblings, 0 replies; 5+ messages in thread
From: Steve Peltz @ 1998-05-28  4:00 UTC (permalink / raw)



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).



^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~1998-05-28  4:00 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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
1998-05-28  4:00 ` CharlieLi
1998-05-28  4:00 ` bmeyer

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