From owner-freebsd-hackers Tue Jan 2 03:08:34 1996 Return-Path: owner-hackers Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id DAA12986 for hackers-outgoing; Tue, 2 Jan 1996 03:08:34 -0800 (PST) Received: from beer.pilsnet.sunet.se (beer.pilsnet.sunet.se [192.36.125.73]) by freefall.freebsd.org (8.7.3/8.7.3) with SMTP id DAA12961 for ; Tue, 2 Jan 1996 03:08:08 -0800 (PST) Received: from aviion.ts.kiev.ua by beer.pilsnet.sunet.se (8.6.8/2.03) id MAA20983; Tue, 2 Jan 1996 12:08:04 +0100 Received: from wind.UUCP by aviion.ts.kiev.ua with UUCP id KAA21126; (8.6.11/zah/1.4b) Tue, 2 Jan 1996 10:51:24 GMT Received: from dawn.ww.net (dawn.ww.net [193.124.73.50]) by unicorn.ww.net (8.6.12/alexis 2.5) with ESMTP id NAA20284 for <@unicorn.ww.net:freebsd-hackers@freebsd.org>; Tue, 2 Jan 1996 13:47:28 +0300 Received: (from alexis@localhost) by dawn.ww.net (8.6.12/alexis 2.5) id NAA02885 for freebsd-hackers@freebsd.org; Tue, 2 Jan 1996 13:49:19 +0300 Message-Id: <199601021049.NAA02885@dawn.ww.net> Subject: Booting with a specific root device (other than boot device) To: freebsd-hackers@freebsd.org Date: Tue, 2 Jan 1996 13:49:18 +0300 (MSK) From: "Alexis Yushin" Reply-To: alexis@ww.net (Alexis Yushin) X-Office-Phone: +380 65 2 26.1410 X-Home-Phone: +380 65 2 27.0747 X-NIC-Handle: AY23 X-Mailer: ELM [version 2.4 PL25 ME8b] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-hackers@freebsd.org Precedence: bulk Greetings, Is there a *standart* way to compile a kernel for selecting root device other than booted. That is to wire into the kernel some root device with ``config kernel root on sd0'' and then boot the kernel with that device being root device. Best I can do is to patch i386/i386/autoconf.c to set boothowto to RB_DFLTROOT. Is there a way to set this flag by default in config? alexis -- The more experienced you are the less people you can get an advise from.