Rebooting 4.2BSD on a 780

Ed Gould ed at mtxinu.UUCP
Tue Jun 18 10:07:05 AEST 1985


In article <11030 at brl-tgr.ARPA> droms at PURDUE.ARPA (Ralph E Droms) writes:
>Is it possible to use /etc/reboot (4.2BSD) to cause a 780 to load a kernel
>from a file other than /vmunix?

Nope, not without hacking, anyway.  The string "xx(0,0)vmunix" is compiled
into the boot program (which is loaded off the floppy on a 780 by
defboo.cmd).  The "xx" is replaced by the right drive-type
code based on flags in registers.  See ???boo.cmd for details.

It should be possible to hack boot and the kernel to pass the right
flags along to boot so that something else could be done, but that
probably won't work either.  Many programs (e.g., ps, w) use the
namelist in /vmunix to find things in the kernel's memory.  They
won't know about your alternate kernel.

-- 
Ed Gould		    mt Xinu, 2910 Seventh St., Berkeley, CA  94710  USA
{ucbvax,decvax}!mtxinu!ed   +1 415 644 0146



More information about the Comp.unix.wizards mailing list