Custom boot blocks with /usr/src on NFS

Chris Pepper pepper at
Sun Sep 21 21:10:12 PDT 2003

	I'm trying to follow the instructions at 
to bring the serial console on guest up at 115200 bps. I'm hitting a 
snag, perhaps because guest /usr/src/ is mounted read-only via NFS.

	Here's the system which holds /usr/src:

>www# uname -a
>Sep 11 17:29:50 EDT 2003 
>root at  i386
>www# grep COM /etc/make.conf
>www# cd /sys/boot
>www# make
>===> ficl
>===> i386
>===> i386/mbr
>===> i386/boot0
>===> i386/btx
>===> i386/btx/btx
>===> i386/btx/btxldr
>===> i386/btx/lib
>===> i386/boot2
>===> i386/cdboot
>===> i386/kgzldr
>===> i386/libi386
>===> i386/loader
>===> i386/pxeldr
>www# ls -l i386/mbr/
>total 8
>-rw-r--r--  1 root  wheel   428 Jul  6  2000 Makefile
>-rw-r--r--  1 root  wheel  4807 Jul  7  2000 mbr.s

	Here's the system I want to get the new boot blocks:

>guest# uname -a
>Sun Sep 21 23:13:07 EDT 2003 
>root at  i386
>guest# mount|grep src
> on /usr/src (nfs, read-only)
>guest# cd /sys/boot/
>guest# make install
>===> ficl
>===> i386
>===> i386/mbr
>install -C  -o root -g wheel -m 444   mbr /boot
>install: mbr: No such file or directory
>*** Error code 71
>Stop in /usr/src/sys/boot/i386/mbr.
>*** Error code 1
>Stop in /usr/src/sys/boot/i386.
>*** Error code 1
>Stop in /usr/src/sys/boot.

	Is the problem that www isn't making necessary file(s) in 
i386/mbr, or is there a problem with my read-only /usr/src on guest, 
or is it something else I'm doing wrong?


						Chris Pepper
Chris Pepper:               <>
Rockefeller University:     <>

More information about the freebsd-stable mailing list