peter
8fd8236771
Reconcile all the loader newvers.sh's into one common one.
1999-06-29 21:23:26 +00:00
ru
1e7459a41e
-mdoc fix.
1999-06-23 09:06:18 +00:00
rnordier
0571a0f633
Fill in bi_bios_geom[] in the bootinfo structure passed to the kernel.
...
This should resolve the problem raised in PR 12315, and incidentally
makes it easier to determine what geometry the BIOS is actually using
(by way of boot -v and dmesg).
1999-06-21 18:27:02 +00:00
rnordier
156dba23c0
Provide for enabling/disabling each slice individually.
1999-06-19 21:40:55 +00:00
rnordier
f3313ef5a0
Fix use of e_phoff in place of e_phnum.
1999-06-19 20:50:38 +00:00
rnordier
5f25113ddb
Correct and clarify some comments.
1999-06-19 20:40:32 +00:00
rnordier
517a8eacaf
Change active flag handling; sanity check passed drive number; pass
...
partition pointer to bootstrap; optimise away 10 bytes; cosmetics.
1999-06-18 21:49:18 +00:00
ghelmer
b7771a65a4
Modify the boot loader to recognize the -C flag and pass the RB_CDROM
...
flag to the kernel to mount a CDROM as the root filesystem. Alternatively,
the boot_cdrom env var can be set.
As Mike Smith noted, "-C is the "wrong" way to do this", but this is
an acceptable stopgap in lieu of a better way.
PR: bin/11884
Reviewed by: msmith@freebsd.org
1999-06-04 03:18:28 +00:00
rnordier
ebabc28d79
Activate mbr.
1999-05-24 22:44:32 +00:00
rnordier
baab5b9100
This commit was generated by cvs2svn to compensate for changes in r47471,
...
which included commits to RCS files with non-trunk default branches.
1999-05-24 22:36:24 +00:00
rnordier
32c4cd5138
Add mbr: a standard master boot record intended to replace a couple
...
that are presently embedded in the fdisk and sysinstall code.
1999-05-24 22:36:24 +00:00
rnordier
c7b7a58ae1
Fix a reference to the mysterious Mike Smisth.
1999-05-22 13:18:28 +00:00
rnordier
ada744aa5c
Drop some non-existent commented-out targets.
1999-05-18 22:10:05 +00:00
jb
fbcc8bb5ab
Found the needle in the haystack!
...
Use colons instead of semi-colons in the default init_path to behave like
UNIX instead of DOS.
Suggested by: bde
Reminded by: des (with no hint as to *which* man page).
1999-05-11 11:20:13 +00:00
jkoshy
3e587269bb
Correct typos.
...
PR: docs/11445
Submitted by: Kazuo Horikawa <horikawa@jp.freebsd.org>
1999-05-03 08:32:45 +00:00
dcs
131007fae0
Make man page reflect reality on parsing rules. Now I know Jordan
...
never read this man page... :-)
1999-04-25 21:41:09 +00:00
dcs
073326ad33
Move loader.conf.5, while it is still in it's first revision.
1999-04-24 17:49:47 +00:00
dcs
aa57b67a29
Add loader.4th man page (worst man page I ever wrote -- reviews
...
are welcomed). Correct a nasty bug in loader.4th before anyone
notices, add a couple of features.
1999-04-24 17:25:35 +00:00
des
d3e9d9a7c3
Make the location of init(8) tunable at boot time.
1999-04-20 21:15:13 +00:00
dcs
7da9554ad1
Installs a default loader.rc if none exists. Document loader.conf.
1999-04-18 09:21:12 +00:00
rnordier
3fdb487782
Fix damage introduced in previous commit.
1999-04-05 07:36:30 +00:00
rnordier
33dbdcecb9
Optimize better for space.
...
Thanks to: jdp
1999-04-05 07:24:51 +00:00
obrien
d343a5cdea
Remove the string ">>> FreeBSD/i386 BOOT". I need to reduce the size of
...
boot2 by 16 bytes. I expect this to be temperary until the boot2 authors
can do the proper fix.
1999-04-04 21:15:41 +00:00
joerg
378da8f135
Make <DEL> an alternative rubout character for command input; many
...
serial terminals use this as their default rubout key.
1999-03-31 08:28:42 +00:00
dcs
c18006911a
Avoid copying m_args if none exists. (Perhaps this is a better solution,
...
Doug?)
1999-03-18 14:36:22 +00:00
dcs
5286c095cf
Version bump: kvm & dictionary size.
1999-03-17 23:05:46 +00:00
dcs
fa973cd0a2
The man page, version 0.1.
1999-03-15 08:52:23 +00:00
dcs
313dc063d0
Install new loader.rc stuff.
1999-03-10 03:34:14 +00:00
dcs
526581a289
Add MODINFO_ARGS, parameters passed to a module at load time.
...
VS: ----------------------------------------------------------------------
1999-03-08 11:05:52 +00:00
rnordier
c74450fa3d
Save option, rather than slice, selected. This permits unattended
...
booting from other than drive 0, as the F5 keypress is saved and
"replayed."
Requested (some time ago) by: archie
1999-03-01 02:42:47 +00:00
rnordier
c17b4c476c
Implement "setdrv" option
1999-02-26 14:51:14 +00:00
rnordier
a3fa9785d0
Emulate a V86 "movl %cr0,%eax" instruction.
...
Feedback and testing: Kurt Hopfensperger <kjhmdjd@ix.netcom.com>
1999-02-25 16:27:41 +00:00
msmith
7648580bdb
Don't try protecting page 0; it seems that BIOS writers now feel it's
...
appropriate to check for Windows95 by polling for state in low
memory, with fatal results.
Submitted by: rnordier@freebsd.org
1999-02-24 01:37:23 +00:00
dcs
ea6b709336
Bumb up loader's version.
...
Reviewed by: Michael Smith <msmith@freebsd.org>
1999-02-08 04:14:31 +00:00
rnordier
c84955e100
Check size of partition before using it.
1999-01-29 03:36:42 +00:00
rnordier
7332041031
Fix a couple of further bugs: missing argument to sprintf() and
...
"==" used for "=".
1999-01-25 23:07:02 +00:00
msmith
6f8753800c
Bleh. Missing 'unit =' doesn't help legacy num_ide_disks code.
...
PR: bin/9651
Submitted by: "Daniel C. Sobral" <dcs@newsguy.com>
1999-01-24 06:03:44 +00:00
msmith
d0d15b4eb8
Document root_disk_unit
1999-01-24 00:12:17 +00:00
msmith
1e566c5505
biosdisk.c
...
Implement a new variable 'root_disk_unit' which supersedes
'num_ide_disks' and makes it possible to explicitly set the
root device unit number regardless of type considerations.
bootinfo.c
If we can't calculate a dev_t for the root disk, complain and
don't proceed to boot with an invalid boot device.
1999-01-24 00:12:04 +00:00
msmith
13b06fbe36
Fill in the bi_bios_dev field in the bootinfo struct; the loader doesn't
...
guess this value well in anything other than the simplest of situations.
1999-01-24 00:10:10 +00:00
rnordier
8603959049
Fix read error not being detected.
1999-01-22 18:32:52 +00:00
rnordier
aa2df6372b
Push version numbers up to 1.00. This is just intended to reflect
...
that the BTX code can be regarded as stable: there are no associated
code changes.
Suggested by: obrien
1999-01-22 13:07:17 +00:00
msmith
488523664e
Transition from using Perl to using awk for our text-manipulation
...
needs. This removes the dependancy on Perl for the generation of the
loader, allowing the world to be built on a perl-free system.
Submitted by: Joe Abley <jabley@clear.co.nz>
1999-01-18 19:05:27 +00:00
rnordier
6edc8726f9
In the event of a disk error, boot2 is expecting an error
...
code to be returned: give it one
1999-01-13 23:30:07 +00:00
rnordier
192bb84877
Drop boot.help support.
1999-01-11 11:36:03 +00:00
msmith
527d380042
Preserve the previous loader as loader.old.
...
Note no matching commit for the Alpha, as the alpha boot0 stage does
not have the ability to prompt for user input.
PR: kern/9406
Submitted by: "Daniel C. Sobral" <dcs@newsguy.com>
1999-01-11 05:52:28 +00:00
msmith
ea810b3ebb
Disable kzipping the loader; it seems to be breaking the aout-to-elf build
1999-01-10 20:20:27 +00:00
steve
01f82cbb96
Remove redundant line of code.
...
PR: 9364
Submitted by: Daniel C. Sobral <dcs@newsguy.com>
1999-01-10 18:22:23 +00:00
rnordier
7f3d245232
Use etc/make.conf settings for serial port and speed.
...
Submitted by: rvb
Reviewed by: bde
1999-01-10 14:48:05 +00:00
peter
6f74dc01b4
Damn, I thought I had committed this already, but it seems not.
...
Move the relocated boot1 and arg transfer space from 0x600/0x800 to
0x700/0x900. In theory this should make no difference, apart from the fact
that Buslogic controllers happen to use a few bytes at 0x600 for some sort
of scratch space for it's int 0x13 hook (!!!), causing the machine to crash
badly when the boot2 code makes it's callbacks into boot1 for disk IO.
Submitted by: Robert Nordier <rnordier@freebsd.org>
1999-01-10 13:29:52 +00:00