Skip site navigation (1)Skip section navigation (2)
Date:      17 Jan 2003 10:14:07 -0000
From:      DoubleF <doublef@tele-kom.ru>
To:        "FreeBSD-questions" <FreeBSD-questions@freebsd.org>
Subject:   Re: Make World
Message-ID:  <20030117101407.9911.qmail@mail.tele-kom.ru>

next in thread | raw e-mail | index | archive | help
Recently, I (DoubleF) wrote:

>Hacking boot1 source to load the kernel instead of BTX directly and

Sorry. I was on drugs;). boot2 not boot1. Here's the code:
--------/usr/src/sys/boot/i386/boot2/boot2.c----------
#define RBX_MASK        0xffff
#define PATH_CONFIG     "/boot.config"
#define PATH_BOOT3      "/boot/loader"
#define PATH_KERNEL     "/kernel"
------------------------------------------------------
A quick hack would be to substitute "/boot/loader" with "/kernel"
or whatever you wish. I haven't tested it by myself, though.
Slippery when wet.

		DoubleF

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030117101407.9911.qmail>