From owner-freebsd-questions Fri Jan 17 2:14:11 2003 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2983E37B401 for ; Fri, 17 Jan 2003 02:14:10 -0800 (PST) Received: from mail.tele-kom.ru (tele-kom.ru [81.22.2.14]) by mx1.FreeBSD.org (Postfix) with SMTP id C0C1C43F13 for ; Fri, 17 Jan 2003 02:14:08 -0800 (PST) (envelope-from doublef@tele-kom.ru) Received: (qmail 9912 invoked by uid 0); 17 Jan 2003 10:14:07 -0000 Date: 17 Jan 2003 10:14:07 -0000 Message-ID: <20030117101407.9911.qmail@mail.tele-kom.ru> Received: from (HELO ) (81.22.3.139) by tele-kom.ru with ESMTP id 9907-1042798447-10 for FreeBSD-questions@freebsd.org; Fri Jan 17 10:14:07 2003 0000 From: DoubleF To: "FreeBSD-questions" Subject: Re: Make World Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG 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