From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f678f,741e72a1c45f6aa0 X-Google-Attributes: gidf678f,public From: Nikola Milutinovic Subject: Re: boot tape or diskette Date: 1998/12/15 Message-ID: <3676239A.900BA26C@ev.co.yu>#1/1 X-Deja-AN: 422429955 Content-Transfer-Encoding: 7bit References: X-Accept-Language: en Content-Type: text/plain; charset=us-ascii Organization: EPS JP Elektrovojvodina Mime-Version: 1.0 Newsgroups: comp.unix.osf.misc 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.