From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 1164f8,9912f26447837e30 X-Google-Attributes: gid1164f8,public From: "Adam Price" Subject: Re: Booting from CD Date: 1999/11/20 Message-ID: <943125077.2955.0.nnrp-04.c2deb51d@news.demon.co.uk>#1/1 X-Deja-AN: 551008711 X-NNTP-Posting-Host: pappnase.demon.co.uk:194.222.181.29 References: <38369AAE.76440E5A@webactivities.com> X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3110.3 X-Complaints-To: abuse@demon.net X-Trace: news.demon.co.uk 943125077 nnrp-04:2955 NO-IDENT pappnase.demon.co.uk:194.222.181.29 Newsgroups: comp.sys.dec 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.