BOOT(8) | System Manager's Manual (amiga) | BOOT(8) |
boot
— system
bootstrapping procedures
When the NetBSD kernel is booted normally (using one of the two methods discussed below), it initializes itself and proceeds to boot the system. An automatic consistency check of the file systems takes place, and unless this fails, the system comes up to multi-user operations. The proper way to shut the system down is with the shutdown(8) command.
If the system crashes, it will enter the kernel debugger, ddb(4), if it is configured in the kernel. If the debugger is not present, or the debugger is exited, the system will attempt a dump to the configured dump device (which will be automatically recovered with savecore(8) during the next boot cycle). After the dump is complete (successful or not), the system will attempt a reboot.
When a bootable NetBSD partition is created by means of HDTOOLBOX or another RDB editing program and a bootblock has been copied there by amiga/installboot(8) and the boot priority of the NetBSD partition is either the highest or the NetBSD partition is selected by means of the boot menu, the Amiga ROM will automatically start the NetBSD bootloader. By default it will, after a short timeout, load the kernel image /netbsd and attempt to boot it into multi-user mode. This behaviour can be changed by typing in an alternate command sequence. The command line looks like:
-abkpqsvACDS
] [-c
model] [-m
memsize] [-n
memsegments] [-I
mask]-a
-b
-c
model-k
-m
memsize-n
-p
-q
-s
-v
-A
-C
-D
-S
).-I
mask-S
-D
).When you want (or have to) start NetBSD
from AmigaOS, you have to use the loadbsd
program
that is supplied in the utils directory of the distribution. The loadbsd
command line specification is:
loadbsd
[-abkpqstvACDSZ
] [-c
model] [-m
memsize] [-n
memsegments] [-I
mask] kernel-pathDescription of options:
-a
-b
-c
-k
-m
-n
-p
-q
-s
-t
-v
-A
-C
-D
-S
).-I
mask-S
-D
).-Z
Note: Because the loadbsd program can only read kernels from a AmigaOS filesystem, the file /netbsd is often not the same as the actual kernel booted. This can cause some programs to fail. However, note that you can use third-party Berkeley filesystems such as bffs to access the NetBSD root partition from AmigaOS.
ddb(4), amiga/installboot(8), fsck_ffs(8), newfs(8), savecore(8), shutdown(8)
Due to code size restrictions, you can't currently use an
old-style file system (created with
newfs(8) -O or with
NetBSD 0.9) with the boot block. You can use
loadbsd
to boot from AmigaOS, or upgrade the file
system with fsck_ffs -c 2.
February 25, 2021 | NetBSD 10.99 |