Commit Graph

28 Commits

Author SHA1 Message Date
bouyer 04825266e6 Use the new common/Makefile.bootcd to make i386 and amd64 bootable ISO
images. amd64 gets a single kernel; i386 images gets 3 kernels:
- netbsd, copy from netbsd-INSTALL_LARGE.gz, loaded by default
- nbsd-l, copy from netbsd-INSTALL_LAPTOP.gz
- nbsd-i, copy from netbsd-INSTALL.gz for those who want the traditionnal
  non-ACPI kernel
- drop the bootcd-laptop image
both gets an installcd image, which is the same as bootcd but with the
binary sets in addition to kernels.
2007-03-06 21:52:44 +00:00
hubertf 2aeadc072d Prepare creation of boot CDs:
* Move files in distrib/amd64:

floppies/instkernel/Makefile -> instkernel/Makefile
floppies/ramdisk/Makefile -> ramdisks/ramdisk/Makefile
floppies/ramdisk/disktab.preinstall -> ramdisks/ramdisk/disktab.preinstall
floppies/ramdisk/list -> ramdisks/ramdisk/list
floppies/ramdisk/list.inet6 -> ramdisks/ramdisk/list.inet6
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:52 +00:00
hubertf 006af5fef5 X86_64 -> AMD64, the x86_86 port was renamed to amd64 long time ago;
also for consistency with i386
2006-05-07 13:54:53 +00:00
snj a640fe8c43 It's "its." 2006-04-24 19:00:29 +00:00
rjs 6d2b3c8c7c Build INSTALL_ACPI kernel as well as INSTALL. 2005-12-30 11:30:33 +00:00
dsl 2ff7661d8d Fix path of ping6 and rtsol.
lukem fixed the i386 one in July.
Fixes PR/32240
2005-12-04 21:32:11 +00:00
dsl b13289ebc4 We don't want any .eh_frame stuff bloating the ramdiskbin image. 2005-11-27 17:39:46 +00:00
dsl cc3fb44789 Increase the size of the ramdisk filesystem to that of the (recently
increased) hole in the kernel image
2005-11-27 17:39:01 +00:00
dsl b731f371c5 amd64 doesn't have 'BOOTMODEL', so set TERM to wsvt25 (not pc3) so that
the line drawing chars are available.
Remove the 9600 from the stty line (done to i386 a while ago)
2005-02-19 11:45:42 +00:00
lukem ac1f1eff7d reorder lines so bsd.own.mk will be included before USE_INET6 is tested 2005-01-19 00:16:17 +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
fvdl d45005ccdf Add bootxx_ffsv2 2005-01-17 21:36:08 +00:00
fvdl a26f018446 Revert previous; INSTALL should be small enough again. 2004-09-13 22:35:05 +00:00
chs c2e0ac407b increase floppy limit to 3, the 2.0-branch autobuild overflows 2. 2004-09-13 08:32:19 +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
martin 5d2216c751 More crunchgen lists needing -lz now for new gzip.
Noticed by Markus W Kilbinger.
2003-12-27 21:30:27 +00:00
fvdl 022ebc0010 Trim the ramdisk. 2003-11-10 00:43:20 +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
fvdl 29daa101c7 Trim this some. The world keeps a-growin' 2003-08-30 20:08:14 +00:00
salo 8d1781e39d netbsd.org->NetBSD.org 2003-07-26 17:06:22 +00:00
dsl 7ea6661b7f Fix serial boot floppy (sync with i386) 2003-07-26 08:32:18 +00:00
dsl 18d1abfb17 Put in boot files that sysinst needs - matches i386 2003-07-25 21:31:17 +00:00
dsl 1d61f8f341 Update amd64 to match latest i386 2003-07-25 21:24:37 +00:00
fvdl 8ec5ed33f8 Adjust ramdisksize downwards to match kernels. 2003-05-15 14:02:37 +00:00
fvdl 043f21d9ea x86_64 -> amd64 2003-04-26 19:14:17 +00:00
fvdl 3099975645 Remove a locally modified file that was untintentionallu committed. 2003-04-26 18:57:33 +00:00
fvdl b3786358e5 x86_64 -> amd64 2003-04-26 18:55:39 +00:00