Usenet comp.unix.osf.misc (1992-2004)
 help / color / mirror / Atom feed
From: Nikola Milutinovic <Nikola.Milutinovic@ev.co.yu>
Subject: Re: boot tape or diskette
Date: 1998/12/15	[thread overview]
Message-ID: <3676239A.900BA26C@ev.co.yu> (raw)
In-Reply-To: P_bd2.2013$Bc5.4439@news.flash.net

j baker wrote:
> 
> Does anyone know how you create a bootable tape or diskette on digital UNIX?
> This is what I would need to reset the root password if it was lost,
> correct?
> I've inhereited a couple of systems but did not set them up myself, so I
> don't have a bootable media aside from the installation media.
> Thanks in advance for any help

Well, mostly wrong.

Installation media IS a bootable media and it IS intended for repair
works and installation. Depending on the version, you have an option
"System Management"/"System Shell". This option gives you your machine
in single user, with a RAM-Disk (/dev/mem0) containing root (or its
part) and the CD mounted. All of the disks are unmounted and the device
special files (in /dev) are not created, you have to do it yourself.

From here you can do most of the system repairs, like vrestore. Changing
root password may require some steps. Remeber, your disk-root FS is not
mounted and cannot be mounted as /. Basically, this approach is intended
for situations where you have damaged / FS and cannot boot kernel.

Creating a bootable tape is a little complicated task and I've never
done it myself. From what I've seen, it is a drag and should be used as
a last resort.

Your problem, however, has a very simple solution. Since your machines
are OK, from system point of view, you can boot them into single user
mode. There is no login/password prompt and you get into root shell.
Then just remount / to be rw, mount /usr (to get the passwd program) and
change root password. In order to boot into SU mode use the following
command from SRM prompt:

>>> boot -flags s

Nix.



      reply	other threads:[~1998-12-15  5:00 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1998-12-14  5:00 boot tape or diskette j baker
1998-12-15  5:00 ` Nikola Milutinovic [this message]
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