mirror of
https://github.com/freebsd/freebsd-src.git
synced 2024-12-04 23:19:00 +00:00
Change the loader.rc in the boot floppy to:
1. Enable use of serial console for installation by using autoboot instead of boot. 2. Beep when the mfs root floppy needs to be placed in the fdd. 3. Beep again when mfs root image is loaded and the loader waits for ten seconds before it starts booting for any input. (Serial console users can say " boot -h" here.)
This commit is contained in:
parent
3e977c59cf
commit
78e52c11c2
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=46065
@ -1,4 +1,4 @@
|
||||
# $Id: Makefile,v 1.476 1999/03/31 11:18:52 sada Exp $
|
||||
# $Id: Makefile,v 1.477 1999/04/20 11:41:59 obrien Exp $
|
||||
#
|
||||
# make release CHROOTDIR=/some/dir BUILDNAME=somename [ RELEASETAG=tag ]
|
||||
#
|
||||
@ -663,10 +663,12 @@ doMFSKERN:
|
||||
@cp /boot/boot[12] /boot/loader ${RD}/image.${FSIMAGE}/boot
|
||||
.if !defined(BIGBOOT) || ${MACHINE_ARCH} == "alpha"
|
||||
@echo "load /kernel" > ${RD}/image.${FSIMAGE}/boot/loader.rc
|
||||
@printf "echo \a\a\n" >> ${RD}/image.${FSIMAGE}/boot/loader.rc
|
||||
@echo "echo Please insert MFS root floppy and press enter:" >> ${RD}/image.${FSIMAGE}/boot/loader.rc
|
||||
@echo "read" >> ${RD}/image.${FSIMAGE}/boot/loader.rc
|
||||
@echo "load -t mfs_root /mfsroot" >> ${RD}/image.${FSIMAGE}/boot/loader.rc
|
||||
@echo "boot" >> ${RD}/image.${FSIMAGE}/boot/loader.rc
|
||||
@printf "echo \a\a\n" >> ${RD}/image.${FSIMAGE}/boot/loader.rc
|
||||
@echo "autoboot 10" >> ${RD}/image.${FSIMAGE}/boot/loader.rc
|
||||
@touch ${RD}/image.${FSIMAGE}/boot/loader.config
|
||||
.endif
|
||||
.if defined(BIGBOOT)
|
||||
|
Loading…
Reference in New Issue
Block a user