KLOADER(4) BSD Kernel Interfaces Manual KLOADER(4)NAME
kloader -- in-kernel bootloader
SYNOPSIS
options KLOADER
options KLOADER_KERNEL_PATH=""/netbsd""
DESCRIPTION
The kloader is the in-kernel bootloader for platforms that do not have a proper firmware.
Some platforms supported by NetBSD do not have a firmware that can boot the NetBSD kernel. Examples are game consoles (dreamcast port), and
handhelds (hpcarm, hpcmips, and hpcsh ports). On such platforms the bootloader is usually a host program that runs under the native OS.
This means that rebooting NetBSD is a lengthy process of booting into the native OS first, launching the bootloader program, and finally
booting NetBSD again. This problem is addressed by kloader, which allows the currently running kernel to serve as a bootloader for the ker-
nel being booted, thus avoiding the burden of booting into the native OS first.
When kloader is configured into the kernel, a call to reboot(2) causes the kloader to load the new kernel into memory, and arrange for con-
trol to be passed to the new kernel -- just like a standalone bootloader does. The new kernel then boots in the ordinary manner.
SEE ALSO reboot(2), boot(8), reboot(8)HISTORY
kloader first appeared in NetBSD 1.6.
BUGS
kloader ignores howto and bootstr arguments passed to the reboot(2) system call, and reboots the system with the previous boot settings.
kloader doesn't support booting compressed kernels.
The hpcarm port doesn't support kloader yet.
BSD April 3, 2004 BSD
Check Out this Related Man Page
reboot(3C)reboot(3C)NAME
reboot - reboot system or halt processor
SYNOPSIS
#include <sys/reboot.h>
int reboot(int howto, char *bootargs);
The reboot() function reboots the system. The howto argument specifies the behavior of the system while rebooting and is a mask con-
structed by a bitwise-inclusive-OR of flags from the following list:
RB_AUTOBOOT The machine is rebooted from the root filesystem on the default boot device. This is the default behavior. See boot(1M) and
kernel(1M).
RB_HALT The processor is simply halted; no reboot takes place. This option should be used with caution.
RB_ASKNAME Interpreted by the bootstrap program and kernel, causing the user to be asked for pathnames during the bootstrap.
RB_DUMP The system is forced to panic immediately without any further processing and a crash dump is written to the dump device
(see dumpadm(1M)) before rebooting.
Any other howto argument causes the kernel file to boot.
The interpretation of the bootargs argument is platform-dependent.
Upon successful completion, reboot() never returns. Otherwise, -1 is returned and errno is set to indicate the error.
The reboot() function will fail if:
EPERM The {PRIV_SYS_CONFIG} privilege is not asserted in the effective set of the calling process.
intro(1M), boot(1M), dumpadm(1M), halt(1M), init(1M), kernel(1M), reboot(1M), uadmin(2)
22 Mar 2004 reboot(3C)
Hi ,
My Sun Machine Rebooted by itself 2 days back . Its running fine now , But i wanted to find out wat caused it to reboot...
This is wat the var/adm/messages show .
Kern.notice:- System booting after fatal error FATAL...
Wat causes this message ...
And wat tasks should i do to ensure it... (6 Replies)
I have installed Win98 OS .......1st
then RH7.2
with GRUB bootloader okay
i.e in the Grub there is two choices 1-Linux
2-Dos
also I install bootloader of linux in MBR -master boot record-
when select Linux an error :
... (6 Replies)
Hello. I have inherited a HP 9000 series E35 server that has stopped working. It is running HPUX (10.2-I think). The fault light is on (steady) on the front of the server and it will not boot. It only goes to a CM> prompt, which I have never seen before. Initial research through HP indicated a... (8 Replies)
We have an old k class server that we would like to use as a testbed for our oracle application. However, it is not booting properly - fiailing the self boot test (light at the back of server is blinking). On the little window on the front of server i see the following message about console (?). ... (9 Replies)
HI all!
this is my problem:
my boss got a Model 43P 7248-100 PowerPC server with the AIX 4.2 os, but some days ago it crashed and now it doesn't want to boot up again, it stops after the initial diagnostic phase with the "PowerPC" screen!
I must recover some important data from the hard disk, so... (6 Replies)
Hi All,
I am using Fedora Core and Windows Xp. I deleted all the files from root
directory. When i am trying to restart the computer it showing some grub > prompt. What i will do ? I have lots of data in XP OS.
Please help me
i used
# rm * (8 Replies)
Hi all,
Laptop compaq presario v3000 is not booting! It just gives 3 beeps and there is no display. All the green LEDs are glowing!
I have "performed a hard reset" as per HP site
Troubleshooting Black Screen Displays with No Error Messages During Startup or Boot Compaq Presario V3115AU... (7 Replies)
Hey everyone, I currently have a sparcstation 5, and am trying to run some scripts on it without booting off the hard drive.
Currently I am using a Solaris 8 install cd to boot into single user mode. However, the scripts I have are on a different CD.
What I would like to do is to use the... (6 Replies)
Hello guys
This is my first post. I have very little experience and I woud appreciate your input on this problem.
I have a server running Solaris 10. In that server I have 2 zones that work perfectly fine, however, if I reboot the server, the zones don't boot and I have to do it manually. i... (12 Replies)
Hi all,
I have an problem with dual booting.
I installed windows7 and i want to install redhat linux on same system. When i insert the cd and boot with the cd it is not showing the hard drive. If i boot with hard disk its booting with windows7. But, if i boot with cdrom it is showing an... (7 Replies)
Hello,
I have an older RS/6000 system and it is not booting. It just keeps rebooting. If I try to put in the 5.3 install media it just sits at Starting Software...Please wait
I searched other posts that say to go into maintenance mode from SMS menu and check if the filesystems are full... (8 Replies)
Hi all,
I'm getting errors while booting AIX 7.1 after upgrade
I have used FLRT tool for the process with the following input values shown in the attached photo. titled FLRT
After reboot for the upgrade process system hangs and no response as shown in screenshot named AIX7.1-NormalBoot
I... (13 Replies)
Hello,
I need help booting to a command prompt. The server runs SCO Openserver 5.0, with a point of sale program that automatically boots upon startup. I can't gain root access, and the administrator password for the point of sale program is un-obtainable. I am upgrading to a new point of sale... (8 Replies)