steve@milo.UUCP (Steven Kahn) (03/19/85)
I have a 4.2BSD system I wish to boot from an ra81, which happens to be slave 1 (not 0) on the uda50. I can certainly do: >>> B ANY :ra(1,0)vmunix but I'd rather not type that each time. Is there a way to modify /sys/floppy/rasboo.cmd so that >>> B RAS will boot from slave 1 instead of 0? Any suggestions would be greatly appreciated. -- --- steve kahn johns hopkins applied physics lab laurel, md ...!seismo!umcp-cs!aplvax!milo!steve
chris@umcp-cs.UUCP (Chris Torek) (03/19/85)
To boot from ra(1,0) by default (or by B RAS/B RAM from the 780 console), you have to hack up the boot program (/sys/stand/boot.c, BOOT on the floppy) a bit. What we did was use r9 to specify the device and partition (though using the high word of r10 might be better, since it's already set to 0). Basically it's a matter of replacing the string at the top with the right numbers (it already replaces the "xx" based on r10, a.k.a. devtype). Then all you need to do is edit RASBOO.CMD, RAMBOO.CMD, and DEFBOO.CMD, to include the device and partition information. -- In-Real-Life: Chris Torek, Univ of MD Comp Sci Dept (+1 301 454 4251) UUCP: {seismo,allegra,brl-bmd}!umcp-cs!chris CSNet: chris@umcp-cs ARPA: chris@maryland
jsdy@hadron.UUCP (Joseph S. D. Yao) (03/22/85)
> I have a 4.2BSD system I wish to boot from an ra81, ... > ... Looking at /sys/mdec/raboot.s, it looks like > either register R3 or R9 or both are involved in unit selection. > However, I tried Depositing each with 1 during booting, > and neither approach worked. ... The mdec raboot goes in the boot block. It does not get read in unless something else pulls it in. In particular, on milo (a VAX 11/780), your floppy-disc program BOOT always gets read in first, and then pulls whatever it wants off your hard disc. On machines like the 11/750, where you always ROM-boot off the first block, you can change the unit number in R3 and get different units. But I don't believe that the 4.2 mdec/raboot will work for an 11/780. In any case, you would have to go back to using the DEC VMB.EXE loader with boot flags (R5) set to block boot (8). Or, as Chris Torek points out, you can hack up /sys/stand/boot.c to do the same thing. Joe Yao hadron!jsdy@seismo.{ARPA,UUCP}
ed@mtxinu.UUCP (Ed Gould) (03/26/85)
> > I have a 4.2BSD system I wish to boot from an ra81, which > happens to be slave 1 (not 0) on the uda50. I can certainly > do: > > >>> B ANY > :ra(1,0)vmunix > > but I'd rather not type that each time. Is there a way to > modify /sys/floppy/rasboo.cmd so that > > >>> B RAS > > will boot from slave 1 instead of 0? > > Any suggestions would be greatly appreciated. > -- > --- > steve kahn > johns hopkins applied physics lab > laurel, md > ...!seismo!umcp-cs!aplvax!milo!steve You'll have to recompile the boot program and install the new one on the floppy. That's where the string you need to change is. -- Ed Gould mt Xinu, 739 Allston Way, Berkeley, CA 94710 USA {ucbvax,decvax}!mtxinu!ed +1 415 644 0146