Guy Helmer
3d8993c197
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
Robert Nordier
c9091105f3
Activate mbr.
1999-05-24 22:44:32 +00:00
Robert Nordier
9292eec80d
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
Robert Nordier
32ea10b4fc
Fix a reference to the mysterious Mike Smisth.
1999-05-22 13:18:28 +00:00
Robert Nordier
e2c9098e4f
Drop some non-existent commented-out targets.
1999-05-18 22:10:05 +00:00
John Birrell
957055c6a9
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
Joseph Koshy
e539c67bbb
Correct typos.
...
PR: docs/11445
Submitted by: Kazuo Horikawa <horikawa@jp.freebsd.org>
1999-05-03 08:32:45 +00:00
Daniel C. Sobral
4093b9aa2e
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
Daniel C. Sobral
cf69fad236
Move loader.conf.5, while it is still in it's first revision.
1999-04-24 17:49:47 +00:00
Daniel C. Sobral
2de24e689e
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
Dag-Erling Smørgrav
5f967b24fc
Make the location of init(8) tunable at boot time.
1999-04-20 21:15:13 +00:00
Daniel C. Sobral
5d9a0e5b26
Installs a default loader.rc if none exists. Document loader.conf.
1999-04-18 09:21:12 +00:00
Robert Nordier
0e5731f9f4
Fix damage introduced in previous commit.
1999-04-05 07:36:30 +00:00
Robert Nordier
bf0eae60c5
Optimize better for space.
...
Thanks to: jdp
1999-04-05 07:24:51 +00:00
David E. O'Brien
df5ee53868
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 Wunsch
9859e703f6
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
Daniel C. Sobral
76bd51f729
Avoid copying m_args if none exists. (Perhaps this is a better solution,
...
Doug?)
1999-03-18 14:36:22 +00:00
Daniel C. Sobral
276dcca185
Version bump: kvm & dictionary size.
1999-03-17 23:05:46 +00:00
Daniel C. Sobral
306a07af57
The man page, version 0.1.
1999-03-15 08:52:23 +00:00
Daniel C. Sobral
f847f7558c
Install new loader.rc stuff.
1999-03-10 03:34:14 +00:00
Daniel C. Sobral
445a035707
Add MODINFO_ARGS, parameters passed to a module at load time.
...
VS: ----------------------------------------------------------------------
1999-03-08 11:05:52 +00:00
Robert Nordier
a3c69bbcf8
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
Robert Nordier
5052aa25a1
Implement "setdrv" option
1999-02-26 14:51:14 +00:00
Robert Nordier
401d37631a
Emulate a V86 "movl %cr0,%eax" instruction.
...
Feedback and testing: Kurt Hopfensperger <kjhmdjd@ix.netcom.com>
1999-02-25 16:27:41 +00:00
Mike Smith
bf18286593
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
Daniel C. Sobral
b9305c6c70
Bumb up loader's version.
...
Reviewed by: Michael Smith <msmith@freebsd.org>
1999-02-08 04:14:31 +00:00
Robert Nordier
391911b768
Check size of partition before using it.
1999-01-29 03:36:42 +00:00
Robert Nordier
ab19eb8230
Fix a couple of further bugs: missing argument to sprintf() and
...
"==" used for "=".
1999-01-25 23:07:02 +00:00
Mike Smith
84ef5a8f66
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
Mike Smith
1c2587457f
Document root_disk_unit
1999-01-24 00:12:17 +00:00
Mike Smith
c679ae39a8
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
Mike Smith
5d3d992565
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
Robert Nordier
d0a4f5ea63
Fix read error not being detected.
1999-01-22 18:32:52 +00:00
Robert Nordier
d7478bf0df
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
Mike Smith
378972ac6b
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
Robert Nordier
05c7fdda18
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
Robert Nordier
726c0943c0
Drop boot.help support.
1999-01-11 11:36:03 +00:00
Mike Smith
ba536e2ae8
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
Mike Smith
f414995e5c
Disable kzipping the loader; it seems to be breaking the aout-to-elf build
1999-01-10 20:20:27 +00:00
Steve Price
24d156f499
Remove redundant line of code.
...
PR: 9364
Submitted by: Daniel C. Sobral <dcs@newsguy.com>
1999-01-10 18:22:23 +00:00
Robert Nordier
c03fa7f977
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 Wemm
c03b24b2d8
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
Mike Smith
244cf84b1e
Explicitly look for kzip in /usr/bin, again this is a stopgap, to avoid
...
making kzip a build tool.
1999-01-09 20:14:46 +00:00
Mike Smith
82bbbb8c73
kzip the loader, this shrinks it to about 60% of its original size.
...
Note that this is a stopgap with dependancies on the a.out tools.
1999-01-09 02:38:40 +00:00
Mike Smith
ee5799c4ee
Extend bd_print() so that it displays slices and partitions on disks.
1999-01-09 02:36:19 +00:00
Peter Wemm
e423230b0d
Fix a potential sign extension bug on 8-bit chars.
...
Outputting a backspace isn't supposed to be destructive.. It isn't on
most terminals, nor on the standard bios output (vs. TERM_EMU mode)
1999-01-04 18:45:08 +00:00
Mike Smith
170aadf69a
Restore dependancy to build loader.help here
1999-01-04 01:28:46 +00:00
Mike Smith
5dfcac87f7
Reenable generation of the loader.help file
1999-01-03 20:50:35 +00:00
Andrzej Bialecki
de37e4a6d2
Add back ability to make beeps when using new TERM_EMU.
...
Submitted by: W Gerald Hicks <wghicks@bellsouth.net>
1998-12-31 13:44:04 +00:00
Andrzej Bialecki
cf9443f92b
Add simple terminal emulator, compatible with cons25. Currently supported
...
capabilities are: AF, AB, cm, ho, me, cd. The code is hidden behind
-DTERM_EMU - should it cause any problems, you can remove this define
to get back the old behaviour.
You'll find some examples how to use it in src/share/examples/bootforth.
Reviewed by: jkh
1998-12-22 11:51:25 +00:00