Usenet comp.os.linux.alpha (1997-2013)
 help / color / mirror / Atom feed
* single user mode from SRM?
@ 2000-01-22  5:00 Mike
  2000-01-22  5:00 ` JJ
  2000-01-23  5:00 ` Rolf Neugebauer
  0 siblings, 2 replies; 3+ messages in thread
From: Mike @ 2000-01-22  5:00 UTC (permalink / raw)


how can i boot into single user mode from SRM? i know its something like..

>>> boot <some args> dka0

...but i just don't know the args to get single user mode if there are
any. yes, i bought it second hand and don't know the root password. pretty
lame i know, but if you have any suggestions it would be great. i'll be
putting redhat linux on it but its still running digital unix now.

thanks,
mike



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

* Re: single user mode from SRM?
  2000-01-22  5:00 single user mode from SRM? Mike
@ 2000-01-22  5:00 ` JJ
  2000-01-23  5:00 ` Rolf Neugebauer
  1 sibling, 0 replies; 3+ messages in thread
From: JJ @ 2000-01-22  5:00 UTC (permalink / raw)


This is an example of the srm command you need to use

boot  device-name  -fi 2/vmlinux.gz  -fl "root=/dev/sda2  single"

do a show device at the SRM console ">>>"
and look for the first SCSI device,  dka0 or somthing similar

guess where the kernel is or do a  "show boot*"  *=wildcard
He may have defined the boot device,  boot file and boot flags

If they were defined substitiute those values for the one I use in the
example, but keep the word "single" at the end of the flags  (-fl) and keep
the " around the -fl values..

That will put you in single user mode, you can then reset the passwords or
create a new account for yourself..

JJ


Mike wrote in message <388945ed$0$211@nntp1.ba.best.com>...
>how can i boot into single user mode from SRM? i know its something like..
>
>>>> boot <some args> dka0
>
>...but i just don't know the args to get single user mode if there are
>any. yes, i bought it second hand and don't know the root password. pretty
>lame i know, but if you have any suggestions it would be great. i'll be
>putting redhat linux on it but its still running digital unix now.
>
>thanks,
>mike





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

* Re: single user mode from SRM?
  2000-01-22  5:00 single user mode from SRM? Mike
  2000-01-22  5:00 ` JJ
@ 2000-01-23  5:00 ` Rolf Neugebauer
  1 sibling, 0 replies; 3+ messages in thread
From: Rolf Neugebauer @ 2000-01-23  5:00 UTC (permalink / raw)


Mike <pbaadmin@shell8.ba.best.com> writes:

> how can i boot into single user mode from SRM? i know its something like..
> 
> >>> boot <some args> dka0
> 
> ...but i just don't know the args to get single user mode if there are
> any. yes, i bought it second hand and don't know the root password. pretty
> lame i know, but if you have any suggestions it would be great. i'll be
> putting redhat linux on it but its still running digital unix now.


According to the SRM-HOWTO you should be able to do a:
>>> boot dka0 -fl "root=/dev/sda3 single"
or something similar. Depends where your root partition
is.

Alternatively you could use abootconf to create a default
configuration for booting in single user mode. Again, this is
described in the SRM-HOWTO. Have a look at alpha-linux.org for the
document.

Rolf



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

end of thread, other threads:[~2000-01-23  5:00 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2000-01-22  5:00 single user mode from SRM? Mike
2000-01-22  5:00 ` JJ
2000-01-23  5:00 ` Rolf Neugebauer

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