From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 1164f8,89e1002aff6178b4 X-Google-Attributes: gid1164f8,public From: jonathan@DSG.Stanford.EDU (Jonathan Stone) Subject: Re: How do I boot a Decstation 5000 single user? Date: 1997/03/28 Message-ID: <5hhicd$71u$1@nntp.Stanford.EDU>#1/1 X-Deja-AN: 229130068 Sender: jonathan@Cup.DSG.Stanford.EDU (Jonathan Stone) References: <5h8u1s$f5g@usenet.srv.cis.pitt.edu> To: geest3+@pitt.edu (Gregg E Economou) Organization: Stanford Distributed Systems Group Reply-To: jonathan@DSG.Stanford.EDU Newsgroups: comp.sys.dec In article <5h8u1s$f5g@usenet.srv.cis.pitt.edu>, geest3+@pitt.edu (Gregg E Economou) writes: > In article , > Gene Hightower wrote: > >So I've got the thing at the ROM prompt -- what now? Tried a few > at the chevron, do a printenv to see the environment for the monitor. > One of them is called bootmode or boot_mode, i dont rmember how it is spelled > but its not easy to confuse. > If youlike you can clear the bootpath variable but it isnt important. > > next boo tthe system manually by specifying a path- > boot rz(0,0,0)vmunix, for example, will boot vmunix from > controller 0, device 0, partition 0. > (you can also use DEC's partition letters, as in boot(0,0,a)fancykernelname > if you like) > Gregg Economou's instructions below are mostly correct for a 3100. The 5000 has a different PROM which uses a different syntax. On a 5000, the environment variable you want to set is "boot". This provides a default pathname for a kernel, and arguments to the kernel you're booting. If you give aruments, you need to quote the whole string. You can override the boot PROM environ variable by typing an explicit path. To give an example, on a 5000/200, either of >> setenv boot 5/rz3/myvmunix >> setenv boot "5/rz3/myvmunix -a" sets the default kernel to boot to slot 5 (internal SCSI), disk rz3, myvmunix; and the second variant and tells that kernel to boot to multiuser (-a). Regardless of the boot variable, the commant >> boot 5/rz0/vmunix -s would boot a kernel called /vmunix off rz0 and boot single-user. (the -s might not work, it's been a while,I'm more used to NetBSD. Slot 5 is where the built-in SCSI is found on a 5000/200; for all other Decstation 5000s, the builtin devices are in slot 3 instead. On a 5000/{20, 25, 33, 125, 133, 240, 50, 150, 260}, the equivalents are >> setenv boot "3/rz3/myvmunix -a" and >> boot 3/rz0/vmunix -s respectively. If you want to boot off a disk attached to a TurboChannel SCSI option card, you need give the TC slot the SCSI card is in. You can find out by typing >> cnfg And, last but not least, if you type >> ? you get a list of the commands the PROM purports to understand.