Commit Graph

374 Commits

Author SHA1 Message Date
jym d67b6a35e5 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.
2011-02-10 00:43:19 +00:00
dholland 6f470d80f5 fix typo. 2009-03-08 05:38:32 +00:00
dbj 35bfa1ebbd avoid full path to boot.cfg file when building amd64 boot floppy
share code with i386
2008-11-04 23:02:52 +00:00
tsutsui cb6c399677 Put boot.cfg for bootfloppy into ustarfs without path
so that bootloader can load it properly.
2008-09-26 18:36:44 +00:00
lukem a7910f38ac remove duplicate entry for bootfloppy-big 2008-09-03 22:07:12 +00:00
ad 6e6587f48e Put a boot menu on the amd64+i386 boot floppies. Not used yet because
the ustar loader seems to have the menu code if'd out.
2008-04-30 22:00:05 +00:00
ad da694a1ffc For PR kern/38537:
- Make MULTIPROCESSOR mandatory on i386.

Installation changes:

- Update installation section of release notes to match reality.
- Rename INSTALL to INSTALL_FLOPPY, retire INSTALL_LARGE.
- Build INSTALL kernel from GENERIC, like on amd64.
- Update boot menu to allow disabling ACPI and/or SMP.
- Remove GENERIC.NOACPI from the installed kernel list.
- TODO: install default boot.cfg in etc.tgz.
- TODO: possibly enable PCI fixup stuff at runtime if ACPI is disabled.

Build changes:

- No longer build ALL, it's for verification, is slow to build and the
  build process is already crippled by the number of kernels built.
- No longer build GENERIC.NOACPI.
2008-04-30 15:29:11 +00:00
joerg 611565d05b Remove GENERIC_LAPTOP and INSTALL_LAPTOP. To compensate, switch
bootfloppy-big to actually use INSTALL_LARGE (with ACPI) and 5 floppies.
2007-11-15 00:31:19 +00:00
dsl 73faefbb9f As has been pointed out recently, the list of i386 release kernels needs
updating. Probably to an ACPI kernel that need not fit into an 'emulated floppy'
and a 'legacy' kernel that will fit.
In any case the small/tiny kernels which are really for i386 systems with
< 16MB of memory (some are sized for a 5.25" floppy) don't need to be built.
Remove bootfloppy-small, bootfloppy-tiny, rescue-tiny and bootfloppy-ps2
and associated ramdisks.
2006-11-19 11:17:51 +00:00
hubertf b3f292908c Prepare creation of boot CDs:
* Move files in distrib/i386:

floppies/instkernel/Makefile -> instkernel/Makefile
floppies/ramdisk-big/Makefile -> ramdisks/ramdisk-big/Makefile
floppies/ramdisk-big/disktab.preinstall -> ramdisks/ramdisk-big/disktab.preinstall
floppies/ramdisk-big/list -> ramdisks/ramdisk-big/list
floppies/ramdisk-big/list.inet6 -> ramdisks/ramdisk-big/list.inet6
floppies/ramdisk-rescuetiny/Makefile -> ramdisks/ramdisk-rescuetiny/Makefile
floppies/ramdisk-rescuetiny/list -> ramdisks/ramdisk-rescuetiny/list
floppies/ramdisk-small/Makefile -> ramdisks/ramdisk-small/Makefile
floppies/ramdisk-small/list -> ramdisks/ramdisk-small/list
floppies/ramdisk-tiny/Makefile -> ramdisks/ramdisk-tiny/Makefile
floppies/ramdisk-tiny/list -> ramdisks/ramdisk-tiny/list
floppies/common/Makefile.ramdisk -> ramdisks/common/Makefile.ramdisk
floppies/common/dot.profile -> ramdisks/common/dot.profile
floppies/common/list.ramdisk -> ramdisks/common/list.ramdisk
floppies/common/termcap.mini -> ramdisks/common/termcap.mini

 * Adjust paths
2006-06-02 22:11:06 +00:00
fredb f88f7e1e1b Per consensus on tech-install, take "bootN.fs" and "boot-comN.fs" to three
floppies.  (The build is broken again without this.)  "boot-big1.fs", from
the same ramdisk as "bootN.fs", still just fits in 2880KB by virtue of the
fact that the 9KB of padding is only added once per floppy image.
2006-05-14 02:21:59 +00:00
dogcow d78d8e8d89 Farewell, bad144; I'm sure you'll be sorely missed by someone.
At least the floppies build again now.
2006-05-09 03:22:03 +00:00
snj a640fe8c43 It's "its." 2006-04-24 19:00:29 +00:00
bouyer 2c84df432e Build XEN3_U and INSTALL_XEN3_U kernels as part of release process. 2006-03-20 22:36:37 +00:00
dsl 1253e7b15e Remove mount_kernfs and mbrlabel.
The kernfs filesystem is no longer in the install kernel, and the mbrlabel
is not needed because the kernel will generate a disklabel from the mbr
information.
2006-01-21 09:22:10 +00:00
dsl 2a363c8fef Add the dmesg() program to all the i386 ramdisk images and remove the
shell function implemented dmesg using 'cat /kern/msgbuf'.
This means we don't need kernfs.
2005-09-10 14:50:08 +00:00
dsl 77b0988bd6 Generate a cross-reference map file for the crunched binary. 2005-09-10 14:47:15 +00:00
dsl 7dfd3d6a2d Add a SMALL dmesg, should allow KERNFS to be removed 2005-09-05 20:58:35 +00:00
lukem 2265a4eed3 Correct the path to ping6 & rtsol.
Problem noted by Lubomir Sedlacik.
2005-07-10 13:00:21 +00:00
thorpej d026a7c623 Restructure this Makefile to make it easier to comment out subdirectories. 2005-06-26 17:47:49 +00:00
bouyer 3e8f0992c8 Integrate Xen to the i386 build process:
- Add xen devices to MAKEDEV
- Add Xen kernels to list of kernel to build
- Add INSTALL_XENU to the install kernels
- introduce the xbd disk devices to sysinst.

This will add 3 kernels to the i386 release:
XEN0 for use as a Xen domain0 kernel
XENU for use on a non-privileged domain
INSTALL_XENU to install NetBSD on a non-privileged domain virtual disk.
2005-03-11 20:55:10 +00:00
lukem 3be06e9652 Only use ping6 and rtsol if ${USE_INET6} != "no".
Part of PR 28994.
2005-01-18 12:38:45 +00:00
dsl 01236c0646 Build gzip with -DSMALL set
Also Remove compress and bzip2 support
Brings bootfloppy-tiny back below the size of a 5.25" floppy.
2004-10-06 21:28:12 +00:00
jmc 6fc88bf937 Revert gzip changes. Changes to sh/kernel/etc made this small enough to fit 2004-06-08 05:59:37 +00:00
jmc 4da70d71ba For the moment revert to x_gzip or else the tiny ramdisk still overflows 2004-06-07 06:53:04 +00:00
gendalia b4066cdbc6 Add raidctl to the programs included on ramdisk-big. Allows manipulation
and by hand creation of raid disks.
2004-04-29 20:45:07 +00:00
wiz 3f9411f688 Spell removable with only two es. Inspired by jmc@openbsd. 2004-04-19 12:44:09 +00:00
dsl 8fc0ae8d08 Add French, German and Polish sysinstmsgs to all ramdisks that include sysinst
expect those where at least one of the language variants isn't built,
and those that are known not to have enough space (i386 ramdisk-tiny).
Files added to list.sysinst, list.sysinst.en is used when these files
cannot be added.
This might hit a size limit on another build - but I have no (sane) way of
testing it.
2004-04-18 20:04:26 +00:00
dsl 29afcc793f remove mbrlabel and tip so it fits in 1.2MB 2004-04-18 19:50:34 +00:00
jmc 2c4a9833a3 Use smaller gzip so this fits again 2004-03-26 17:19:15 +00:00
jmc 74cd87d7c1 Need -lz now 2003-12-27 20:57:21 +00:00
lukem 02bca44c5e Pad all floppy images to the floppy size.
Requested by Jason Thorpe in [port-i386/23785]
2003-12-18 00:44:22 +00:00
dsl 843b29721d Increase the size of the ramdisk. The kernels were changed a while ago
(I must have forgotten to commit this at the same time).
sysinst still runs in 16MB (and hasn't run in 8MB for a while).
The extra space costs almost nothing on the compressed 'floppies', but
gives more working room for the install system (eg sysinst can coredump
without filling /).
2003-12-07 20:08:57 +00:00
dsl 3ed5bf31d2 Don't set baud rate when setting 'sane' stty settings, that way we use
the baud rate set by the bootloader.
Fixes PR port-i386/18358
2003-12-07 20:03:18 +00:00
dsl 077285e52b Adds FFSv2 boot code to install floppies 2003-11-30 14:58:05 +00:00
lukem 1c33b4e6a4 Overhaul MBR handling (part 1):
<sys/bootblock.h>:
    *	Added definitions for the Master Boot Record (MBR) used by
	a variety of systems (primarily i386), including the format
	of the BIOS Parameter Block (BPB).
	This information was cribbed from a variety of sources
	including <sys/disklabel_mbr.h> which this is a superset of.

	As part of this, some data structure elements and #defines
	were renamed to be more "namespace friendly" and consistent
	with other bootblocks and MBR documentation.
	Update all uses of the old names to the new names.

<sys/disklabel_mbr.h>:
    *	Deprecated in favor of <sys/bootblock.h> (the latter is more
	"host tool" friendly).

amd64 & i386:
    *	Renamed /usr/mdec/bootxx_dosfs to /usr/mdec/bootxx_msdos, to
	be consistent with the naming convention of the msdosfs tools.

    *	Removed /usr/mdec/bootxx_ufs, as it's equivalent to bootxx_ffsv1
	and it's confusing to have two functionally equivalent bootblocks,
	especially given that "ufs" has multiple meanings (it could be
	a synonym for "ffs", or the group of ffs/lfs/ext2fs file systems).

    *	Rework pbr.S (the first sector of bootxx_*):
	    +	Ensure that BPB (bytes 11..89) and the partition table
		(bytes 446..509) do not contain code.
	    +	Add support for booting from FAT partitions if BOOT_FROM_FAT
		is defined.  (Only set for bootxx_msdos).
	    +	Remove "dummy" partition 3; if people want to installboot(8)
		these to the start of the disk they can use fdisk(8) to
		create a real MBR partition table...
	    +	Compile with TERSE_ERROR so it fits because of the above.
		Whilst this is less user friendly, I feel it's important
		to have a valid partition table and BPB in the MBR/PBR.

    *	Renamed /usr/mdec/biosboot to /usr/mdec/boot, to be consistent
	with other platforms.

    *	Enable SUPPORT_DOSFS in /usr/mdec/boot (stage2), so that
    	we can boot off FAT partitions.

    *	Crank version of /usr/mdec/boot to 3.1, and fix some of the other
	entries in the version file.

installboot(8) (i386):
    *	Read the existing MBR of the filesystem and retain the BIOS
    	Parameter Block (BPB) in bytes 11..89 and the MBR partition
	table in bytes 446..509.  (Previously installboot(8) would
	trash those two sections of the MBR.)

mbrlabel(8):
    *	Use sys/lib/libkern/xlat_mbr_fstype.c instead of homegrown code
	to map the MBR partition type to the NetBSD disklabel type.


Test built "make release" for i386, and new bootblocks verified to work
(even off FAT!).
2003-10-08 04:25:43 +00:00
salo 8d1781e39d netbsd.org->NetBSD.org 2003-07-26 17:06:22 +00:00
dsl ebaaf5a296 Use ${TOOL_INSTALLBOOT} - it does work on ustarfs filesytems.
Pass correct option to installboot for bootfloppy-com (serial bootfloppy).
2003-07-26 08:26:07 +00:00
dsl 34f6042f4f Remove dependency on biosboot-com0.sym 2003-07-26 07:52:03 +00:00
dsl 6c8c94d8a7 Switch boot floppies to 'new' i386 bootcode. 2003-07-25 21:19:48 +00:00
dsl d46341db86 Add French and Polish message file to i386 ramdisk.big
Change dummy dependancy for sysyinst message files so they get built
by the crunched makefile.
2003-06-28 08:25:07 +00:00
dsl 7504698df3 Change i386 sysinst to use my new boot code.
Update lists for ramdisks to include the required files.
NB /usr/sbin/installboot is not used by sysinst and is only in ramdisk-big.
Increase the sizes of the ramdisks, there is plenty of space in all the
boot floppies except rescue-tiny (2k) and boot-tiny (32k).
2003-06-05 14:30:11 +00:00
lukem 0760a2583f remove bad144 - we're desparate for space on this image (again), and
this looked to being the least useful tool...
2003-05-09 12:32:42 +00:00
jmmv 8b96464ca3 Bump image size to 1500k. 2003-04-23 14:19:59 +00:00
thorpej 3088c62122 Bump file system size to 2300k. 2003-04-17 23:00:49 +00:00
dogcow 34b8ee35d8 ramdisk-tiny needs the disk space, so farewell bad144. 2003-03-03 05:12:46 +00:00
briggs 899f04df9b Bump rescuetiny's ramdisk to match tiny's. 2003-02-24 18:59:26 +00:00
zuntum 6d1101369a - bump MEMORY_DISK_ROOT_SIZE from 2920 to 2960
in sys/arch/i386/conf/INSTALL_TINY
- bump IMAGESIZE from 1460k to 1480k
  in distrib/i386/floppies/ramdisk-tiny/Makefile

so that "build.sh release" works again.

Suggested by simon, okay'd by luke.
2003-02-01 13:53:36 +00:00
lukem d744f1783b Let this grow to a second floppy. It's much less work than trying to
shave space here & there, only to have the problem occur the next time
the kernel or the ramdisk image slightly grows again.
2003-01-20 02:20:21 +00:00
lukem ef1ca5d8b8 crank to 2240k; they've grown again 2003-01-20 01:39:02 +00:00