Reinstate INSTALL kernel for embedded ramdisk installs.
Reasons being: - INSTALL is GENERIC with an embedded ramdisk, and as such, can benefit from features included within. - INSTALL_FLOPPY has its own config(5) file, and is tailored for "small" floppy images; it misses features/drivers that could be needed to boot in a decent environment for recent x86 machines (like ACPI) - makes it closer to floppies distrib available for amd64 While here, comment out INSTALL_FLOPPY and bootfloppy-big image build. NetBSD does not use the 3.6MiB image for El Torito cdroms anymore. Remove the FLOPPYMAX limit; i386 needs 4 floppies now. Modify boot.cfg and release/contents to reflect reality. See http://mail-index.netbsd.org/port-i386/2011/02/08/msg002307.html No comments, no objections.
This commit is contained in:
parent
71d70847f6
commit
d67b6a35e5
@ -1,9 +1,9 @@
|
||||
# $NetBSD: Makefile,v 1.37 2008/09/03 22:07:12 lukem Exp $
|
||||
# $NetBSD: Makefile,v 1.38 2011/02/10 00:43:19 jym Exp $
|
||||
|
||||
SUBDIR=
|
||||
SUBDIR+= bootfloppy
|
||||
SUBDIR+= bootfloppy-big
|
||||
SUBDIR+= bootfloppy-com
|
||||
# SUBDIR+= bootfloppy-big
|
||||
# These are all rather archaic...
|
||||
# SUBDIR+= bootfloppy-ps2
|
||||
# SUBDIR+= bootfloppy-small
|
||||
|
@ -1,8 +1,7 @@
|
||||
# $NetBSD: Makefile,v 1.7 2008/04/30 15:29:11 ad Exp $
|
||||
# $NetBSD: Makefile,v 1.8 2011/02/10 00:43:19 jym Exp $
|
||||
|
||||
FLOPPYBASE= boot-com
|
||||
FLOPPYMAX= 3
|
||||
FLOPPYKERNEL= netbsd-INSTALL_FLOPPY.gz
|
||||
FLOPPYKERNEL= netbsd-INSTALL.gz
|
||||
FLOPPYBOOTOPTIONS= -o console=com0
|
||||
|
||||
.include "${.CURDIR}/../common/Makefile.bootfloppy"
|
||||
|
@ -1,7 +1,6 @@
|
||||
# $NetBSD: Makefile,v 1.12 2008/04/30 15:29:11 ad Exp $
|
||||
# $NetBSD: Makefile,v 1.13 2011/02/10 00:43:19 jym Exp $
|
||||
|
||||
FLOPPYBASE= boot
|
||||
FLOPPYMAX= 3
|
||||
FLOPPYKERNEL= netbsd-INSTALL_FLOPPY.gz
|
||||
FLOPPYKERNEL= netbsd-INSTALL.gz
|
||||
|
||||
.include "${.CURDIR}/../common/Makefile.bootfloppy"
|
||||
|
@ -1,4 +1,4 @@
|
||||
# $NetBSD: Makefile.bootfloppy,v 1.22 2008/11/04 23:02:52 dbj Exp $
|
||||
# $NetBSD: Makefile.bootfloppy,v 1.23 2011/02/10 00:43:20 jym Exp $
|
||||
#
|
||||
# Makefile snippet to create a set of USTAR floppies
|
||||
#
|
||||
@ -18,9 +18,6 @@
|
||||
.include <bsd.own.mk>
|
||||
.include "${NETBSDSRCDIR}/distrib/common/Makefile.distrib"
|
||||
|
||||
I386COMMON= ${.CURDIR}/../common
|
||||
|
||||
FLOPPYMAX?= 1
|
||||
FLOPPYSIZE?= 2880
|
||||
.if defined(FLOPPYSIZE) && (${FLOPPYSIZE} != 2880)
|
||||
FLOPPYMETAFILE!= printf "USTAR.volsize.%o" ${FLOPPYSIZE}
|
||||
@ -34,7 +31,7 @@ FLOPPYINSTBOOT= "${TOOL_INSTALLBOOT} ${FLOPPYBOOTOPTIONS} -m${MACHINE} @IMAGE@
|
||||
FLOPPYKERNOBJ!= cd ${.CURDIR}/../../${FLOPPYKERNDIR} && ${PRINTOBJDIR}
|
||||
|
||||
FLOPPY_BOOT?= ${MDEC}/boot
|
||||
FLOPPY_BOOT_CFG?= ${I386COMMON}/boot.cfg
|
||||
FLOPPY_BOOT_CFG?= ${DISTRIBDIR}/${MACHINE}/floppies/common/boot.cfg
|
||||
FLOPPY_NETBSD= ${FLOPPYKERNOBJ}/${FLOPPYKERNEL}
|
||||
FLOPPYFILES= boot boot.cfg ${FLOPPYMETAFILE} netbsd
|
||||
FLOPPYPAD= 1
|
||||
|
@ -1,11 +1,11 @@
|
||||
banner=NetBSD floppy diskette installation
|
||||
banner================================================================================
|
||||
banner=
|
||||
banner=These diskettes do not have support for ACPI and may not work on some
|
||||
banner=modern hardware. If the floppy disk installation does not work, please
|
||||
banner=try installing using a CD-ROM image.
|
||||
banner=ACPI should work on all modern and legacy hardware, however if you have
|
||||
banner=problems, please try disabling it.
|
||||
banner=
|
||||
menu=Install NetBSD:boot netbsd
|
||||
menu=Install NetBSD (no SMP):boot netbsd -12
|
||||
menu=Install NetBSD (no ACPI):boot netbsd -2
|
||||
menu=Install NetBSD (no ACPI, no SMP):boot netbsd -12
|
||||
menu=Drop to boot prompt:prompt
|
||||
timeout=10
|
||||
|
@ -1,4 +1,4 @@
|
||||
# $NetBSD: Makefile,v 1.12 2009/03/07 21:35:10 ad Exp $
|
||||
# $NetBSD: Makefile,v 1.13 2011/02/10 00:43:20 jym Exp $
|
||||
|
||||
.include <bsd.own.mk>
|
||||
.include "${NETBSDSRCDIR}/distrib/common/Makefile.distrib"
|
||||
@ -18,9 +18,10 @@ ${V}= ${${V}DIR}/${F}.fs
|
||||
# If you change the list of distributed install kernels, don't forget
|
||||
# to update the release documentation in distrib/notes/common/contents
|
||||
MDSETTARGETS+= GENERIC ${RAMDISK_B} -
|
||||
MDSETTARGETS+= INSTALL_FLOPPY ${RAMDISK_B} -
|
||||
MDSETTARGETS+= INSTALL ${RAMDISK_B} -
|
||||
MDSETTARGETS+= INSTALL_XEN3_DOMU ${RAMDISK_B} -
|
||||
MDSETTARGETS+= INSTALL_XEN3PAE_DOMU ${RAMDISK_B} -
|
||||
# MDSETTARGETS+= INSTALL_FLOPPY ${RAMDISK_B} -
|
||||
# MDSETTARGETS+= INSTALL_SMALL ${RAMDISK_S} -
|
||||
# MDSETTARGETS+= INSTALL_TINY ${RAMDISK_T} -
|
||||
# MDSETTARGETS+= INSTALL_PS2 ${RAMDISK_S} -
|
||||
|
@ -1,4 +1,4 @@
|
||||
# $NetBSD: Makefile.inc,v 1.64 2009/10/01 11:51:04 tron Exp $
|
||||
# $NetBSD: Makefile.inc,v 1.65 2011/02/10 00:43:20 jym Exp $
|
||||
#
|
||||
# etc.i386/Makefile.inc -- i386-specific etc Makefile targets
|
||||
#
|
||||
@ -15,9 +15,10 @@ KERNEL_SETS+= XEN3PAE_DOMU
|
||||
# KERNEL_SETS+= GENERIC_TINY
|
||||
# KERNEL_SETS+= GENERIC_PS2TINY
|
||||
|
||||
BUILD_KERNELS+= INSTALL_FLOPPY
|
||||
BUILD_KERNELS+= INSTALL
|
||||
BUILD_KERNELS+= INSTALL_XEN3_DOMU
|
||||
BUILD_KERNELS+= INSTALL_XEN3PAE_DOMU
|
||||
# BUILD_KERNELS+= INSTALL_FLOPPY
|
||||
# BUILD_KERNELS+= INSTALL_SMALL
|
||||
# BUILD_KERNELS+= INSTALL_TINY
|
||||
# BUILD_KERNELS+= INSTALL_PS2
|
||||
|
15
sys/arch/i386/conf/INSTALL
Normal file
15
sys/arch/i386/conf/INSTALL
Normal file
@ -0,0 +1,15 @@
|
||||
# $NetBSD: INSTALL,v 1.327 2011/02/10 00:43:19 jym Exp $
|
||||
#
|
||||
# INSTALL - Installation kernel.
|
||||
#
|
||||
# This kernel is derived from GENERIC with additional memory disk
|
||||
# options.
|
||||
|
||||
include "arch/i386/conf/GENERIC"
|
||||
|
||||
#ident "INSTALL-$Revision: 1.327 $"
|
||||
|
||||
no options MEMORY_DISK_DYNAMIC
|
||||
options MEMORY_DISK_IS_ROOT # force root on memory disk
|
||||
options MEMORY_DISK_SERVER=0 # no userspace memory disk support
|
||||
options MEMORY_DISK_ROOT_SIZE=10000 # size of memory disk, in blocks
|
Loading…
Reference in New Issue
Block a user