Commit Graph

150 Commits

Author SHA1 Message Date
abs 7a3d39395e Use the cutdown distrib/common/services and distrib/common/protocols
rather than the full fat etc versions
2009-01-25 22:08:37 +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
joerg 47066a311f Make x86 installation use tmpfs. 2008-11-04 14:21:39 +00:00
minskim 1e13ec8154 Remove trailing whitespace. 2008-10-25 18:18:01 +00:00
tsutsui d7acf79ee6 Sync with src/distrib/i386/cdroms/installcd/boot.cfg.in reg 1.4:
> Bump the timeout to 30s, it takes longer to read and digest the information
> esp. if you have not seen it before.
2008-10-22 12:01:59 +00:00
tsutsui 0dfcc311be Add a boot.cfg file to bootcds as well as i386. 2008-10-22 11:59:24 +00:00
tsutsui 6222fecd93 Add /sbin/dmesg to ramdisk since /kern/msgbuf is a bit annoying.
mount_kernfs is still there because there is no size restriction.
2008-10-22 11:58:00 +00:00
dyoung fdf6250eac Add -lprop to the LIBS line so that ifconfig will link. 2008-05-06 15:32:06 +00:00
xtraeme 4e0bb25a64 Also add boot.cfg into the installation CD, as was intended by ad@. 2008-05-01 21:59:07 +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
tsutsui d92ad10bca Move and share a common termcap.mini file. 2008-02-01 13:43:11 +00:00
joerg cc25cbe9b0 Don't hardcode limits for the floppy number on amd64. Just let it use as
many floppies as necessary.
2007-12-17 13:47:29 +00:00
bouyer 8fc0f9f54d Build amd64 xen kernels, and include them in the distrib. 2007-11-22 21:23:42 +00:00
joerg 18d2e98d25 Include sysctl on the amd64 boot floppy. This is useful for allowing
people to test suspend/resume and can be used to find other values as
well.
2007-10-07 13:12:15 +00:00
skd 1e30d70843 /libexec, not /usr/libexec. 2007-08-24 17:11:58 +00:00
he 582037c8a5 Add libexec to SRCDIRS so that the source of the newly added
lfs_cleanerd can be found.
2007-08-23 12:24:14 +00:00
skd e066a10613 Enable LFS from sysinstall. 2007-08-21 02:20:55 +00:00
dogcow c1583b0d2c Since /etc/services has gotten rather large, use a minimal one for install
kernels. (mount_nfs is notably the only binary that doesn't gracefully deal
with the lack of an /etc/services file, it appears.)
2007-05-10 23:22:27 +00:00
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
bouyer ff6bcd05a5 For the benefit of modern hardware, enable ACPI by default in INSTALL and
GENERIC kernels. If ACPI is an issue on your hardware, 'boot -c' and
'disable acpi' should be a workaround. ACPI-enabled kernels works fine
on pre-acpi hardware.
for amd64:
- add ACPI to INSTALL and GENERIC, remove the *_ACPI config files.
- get rid of the bootfloppy-big.fs boot image, and got to a 3-floppy boot
  image
for i386:
- introduce INSTALL_LARGE which has ACPI and some devices with big firmware
- move some devices from INSTALL to INSTALL_LARGE
- Boot floppies still use INSTALL, and bootfloppy-big.fs is still there
  (for thoses who want to build el-torito floppy emulation boot CD) and use
  INSTALL.
For both, drop the 'iso-image' code in etc/ to make the iso bootable, we'll
use something else to build bootable CDs.
2007-03-06 21:47:45 +00:00
bouyer f410e266ed Sync with i386: add sbin/raidctl to amd64's install ramdisk. 2007-01-17 20:42:53 +00:00
hubertf 1cd9ce06e8 Add example on how to make an install CD - it's the same
as the bootcd* CDs just with the install sets added to
the CD as well.

XXX 1) The implementation of this is rather cludgy (copying sets around),
       as our makefs(8) can't put files from multiple directories into
       one image -- something that mkisofs can do with 'graft' points
XXX 2) This should be run after 'build.sh release' - It would be nice
       if we had a seperate stage to add such hooks in our build framework
2006-10-29 17:58:15 +00:00
hubertf f3513c1e13 Add & enable boot-CDs (with ramdisk kernels only, no install sets),
built as part of a regular release. For more information, see
http://mail-index.netbsd.org/tech-install/2006/05/11/0001.html

OK: core@
2006-06-02 22:35:21 +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