Usenet comp.sys.dec (1990-2013)
 help / color / mirror / Atom feed
From: "Adam Price" <adam+usenet@pappnase.demon.co.uk>
Subject: Re: Booting from CD
Date: 1999/11/20	[thread overview]
Message-ID: <943125077.2955.0.nnrp-04.c2deb51d@news.demon.co.uk> (raw)
In-Reply-To: 38369AAE.76440E5A@webactivities.com


Al Losada wrote in message <38369AAE.76440E5A@webactivities.com>...
>Very new to DEC. I have an Alpha 255 and cannot login. Root or any other
>login does not work. I figure that I need to boot off the CD to break
>security but need some help doing so. Any ideas?
>
>Al
>


Start with a cold machine (Power off)
The machine may be in one of two states, it may be set
to auto boot or not. Assume it is set to autoboot since
that set of instructions will work for both cases.

Turn on the power and watch the console.
When the numbers start to display across the top of
the screen start to press then release ^C
Repeat the press/Release of ^C until you have a >>> prompt.

type
    set auto_action halt
This will avoid the need to repeat the above rigmarole, but will also
require you to manually boot the machine each time you have a power
failure/shutdown etc.

To get back to the auto boot state type
    set auto_action boot

The next step is to find out which device is your cd-rom device.

at the >>> prompt type
    show dev
this should generate a list of scsi devices, one of which should have
a name which indicates that it is a cd-rom device, indicators are
for example cdrom in the device type, RRD45 in the device type, read-only
in the device type, any or all of these mat be present, depending on the
cd-rom drive installed. Another sometimes simpler way of doing this
is to look at the jumper settings on the cd-rom drive, but this depends on
your having documentation for the drive. A last resort, never fail method is
to disconnect all of the other scsi devices(power off first), then use show dev
to identify the cd-rom drive (it will be the only dk* device).

At this point you should now know the device name of your cd-rom drive, an
example (which may be correct) is DKA400

to boot from this device, insert an installation cd, and type
    boot dka400

when the installation program starts, one of the options will be
something like exit to unix shell, this will get you where you
think you want to be.


However....
to change the root password in Digital unix, single user mode is enough,
so when you get to the >>> prompt in the above list of instructions,
if you type
    boot -flags s
this will boot from the default boot device and kernel (which should have
your OS on it) but pass the flag s to the kernel instead of the contents
of the boot_os_flags console variable. This will cause the unix kernel
to boot to single user mode, instead of the run-level specified as
initdefault in /etc/inittab.

When the machine has booted to single user mode, the command /sbin/bcheckrc
will fsck(if needed) and then mount all local filesystems, then use passwd
to change roots password as usual.

Hope this helps
Adam

PS, this is done from memory, so if anyone with access to a machine wants to
post corrections, feel free.

--
Please don't send me email.
If you must, then use the address as given, there is no spam-block.
Please think before you post, and read the FAQ before you think
about posting.






  reply	other threads:[~1999-11-20  5:00 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1999-11-20  5:00 Booting from CD Al Losada
1999-11-20  5:00 ` Adam Price [this message]
1999-11-21  5:00 ` Jesper Frank Nemholt
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