#
3a50f0a9 |
| 28-Dec-2022 |
jmc <jmc@openbsd.org> |
spelling fixes; from paul tagliamonte any parts of his diff not taken are noted on tech
|
#
0ea62af5 |
| 31-Aug-2022 |
miod <miod@openbsd.org> |
Make installboot on landisk aware of a possible MBR on the disk, and in this case install the first level bootstrap at the beginning of the of the wd0a filesystem, rather than at the beginning of the
Make installboot on landisk aware of a possible MBR on the disk, and in this case install the first level bootstrap at the beginning of the of the wd0a filesystem, rather than at the beginning of the disk.
Both locations work but the previous behaviour overwriting an existing MBR is a violation of POLA.
tweaks & ok krw@
show more ...
|
#
c3e1bf61 |
| 20-Jul-2021 |
kettenis <kettenis@openbsd.org> |
Add -p option to "prepare" (newfs) a filesystem that will be used for the bootloader. This is a no-op on architectures where such a filesystem isn't needed.
ok krw@, deraadt@
|
#
f917af54 |
| 01-Sep-2018 |
krw <krw@openbsd.org> |
Remove 'overlap_allowance' parameter from bootstrap().
It was added to support Vax. Vax is dead Jim.
ok deraadt@
|
#
3b574945 |
| 15-Jan-2016 |
tobiasu <tobiasu@openbsd.org> |
sync() needs unistd.h
|
#
68507eda |
| 30-Nov-2015 |
jsing <jsing@openbsd.org> |
Revert the sync -> fsync conversion (at least for the time being) - there is a good chance that this is causing the 'No blocks to load' errors that various people have encountered.
|
#
123b5094 |
| 26-Nov-2015 |
deraadt <deraadt@openbsd.org> |
Apply pledge. The people I asked to review this did not get back to me, so we will test this a different way.
|
#
5c8b64e6 |
| 15-Oct-2015 |
miod <miod@openbsd.org> |
Add an extra argument to bootstrap() to allow for a limited overlap between an existing partition and the boot blocks span, and update all callers to require an overlap limit of zero sectors (thus no
Add an extra argument to bootstrap() to allow for a limited overlap between an existing partition and the boot blocks span, and update all callers to require an overlap limit of zero sectors (thus not changing their behaviour).
Then, add proper support for vax: copy the 2nd-stage boot block to /boot and install the 1st-stage boot block at the beginning of the disk, retaining the disklabel; allow for an overlap of up to 16 sectors, which is perfectly fine as long as your `a' partition is FFS.
Note that regular installs will not even have such an overlap, because the default OpenBSD span on a disk on vax starts at sector 16, but installation media use sperific layout which require this.
ok krw@
show more ...
|
#
ea9a2450 |
| 11-Oct-2015 |
deraadt <deraadt@openbsd.org> |
needs at least some include love; choosing <stdlib.h>
|
#
597864b7 |
| 08-Oct-2015 |
krw <krw@openbsd.org> |
Refactor fileprefix() and filecopy() to use warn() instead of err() to display error message, and to return error indications (NULL and -1 respectively). Use the error indications in write_efisystem
Refactor fileprefix() and filecopy() to use warn() instead of err() to display error message, and to return error indications (NULL and -1 respectively). Use the error indications in write_efisystem() to unwind in the face of more error conditions. In other cases just exit(1) to emulation current behaviour.
ok deraadt@
show more ...
|
#
c297c651 |
| 05-Oct-2015 |
miod <miod@openbsd.org> |
Copy the stage2 file to / in md_installboot().
|
#
b4544c7c |
| 19-Jan-2014 |
jsing <jsing@openbsd.org> |
Rework installboot and use a single directory with a single makefile. The directory per machine model is arguably cleaner, however it does not play well with distrib/special and instbin.
Discussed w
Rework installboot and use a single directory with a single makefile. The directory per machine model is arguably cleaner, however it does not play well with distrib/special and instbin.
Discussed with deraadt@
show more ...
|