Usenet comp.os.linux.alpha (1997-2013)
 help / color / mirror / Atom feed
From: k125374@kaarne.cs.tut.fi (Mika Kortelainen)
Subject: Re: Single-user mode from MILO
Date: 1998/02/11	[thread overview]
Message-ID: <6bs11o$i2m@peippo.cs.tut.fi> (raw)
In-Reply-To: 1998Feb9.161617.27520@leeds.ac.uk


john@leva.leeds.ac.uk (John Armstrong) writes:

>single-user startup so I can remedy the situation - I imagined that there might
>be a suitable MILO boot-string to pass to the kernel for this.  Is there?

Yup, and it's quite logical if I may say... add 'single' at the end.
I.e. something like "boot sda2:vmlinux.gz root=/dev/sda2 single"
at MILO prompt.

Actually, I don't remember if this asks for the password, but at
least it goes to single user mode.


Another possibility is to boot from RH's install floppy and after
you've chosen the installation media (I chose ftp), change to
console #2 using Alt-F2 (you should have a shell there at this
point) and from there mount your real root partition at /tmp/realroot
or whatever. And then just go and edit /tmp/realroot/etc/passwd.
(I had to do this just a few days ago because I managed to broke
my /etc/fstab and I got kernel panics... and booting to single
user mode failed, too, because it couldn't mount /usr.)


	Mika Kortelainen



  parent reply	other threads:[~1998-02-11  5:00 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1998-02-09  5:00 Single-user mode from MILO John Armstrong
1998-02-09  5:00 ` Miquel van Smoorenburg
1998-02-09  5:00 ` Florian Burg
1998-02-09  5:00   ` Miquel van Smoorenburg
1998-02-11  5:00 ` John Armstrong
1998-02-11  5:00 ` Mika Kortelainen [this message]
1998-02-12  5:00   ` His Holiness the Reverend Doktor Xenophon Fenderson, the Carbon(d)ated
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