From owner-freebsd-questions Sun Nov 23 02:17:09 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id CAA02820 for questions-outgoing; Sun, 23 Nov 1997 02:17:09 -0800 (PST) (envelope-from owner-freebsd-questions) Received: from gatekeeper.barcode.co.il (gatekeeper.barcode.co.il [192.116.93.17]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id CAA02814 for ; Sun, 23 Nov 1997 02:17:03 -0800 (PST) (envelope-from nadav@barcode.co.il) Received: (from smap@localhost) by gatekeeper.barcode.co.il (8.8.5/8.6.12) id MAA14496; Sun, 23 Nov 1997 12:16:26 +0200 (IST) X-Authentication-Warning: gatekeeper.barcode.co.il: smap set sender to using -f Received: from localhost.barcode.co.il(127.0.0.1) by gatekeeper.barcode.co.il via smap (V1.3) id sma014493; Sun Nov 23 12:15:56 1997 Message-ID: <34780227.776E@barcode.co.il> Date: Sun, 23 Nov 1997 12:15:03 +0200 From: Nadav Eiron X-Mailer: Mozilla 3.0 (X11; I; SunOS 5.6 sun4u) MIME-Version: 1.0 To: Pierre HOFFMANN CC: FreeBSD Subject: Re: Probleme with mounting root partition References: <01bcf6ae$528ac5e0$1d160ac3@pierre.hexanet.fr> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk Pierre HOFFMANN wrote: > > How can I enter this in freeBSD parameters definitively ?? > Recompiling kernel ? > Change a file in /etc ?? > > Help me i don't know ! > > >At the Boot: prompt, give 1:wd(2,a)/kernel > > > >Nadav > > > With 2.2.5 you can simply put that line in the file /boot.config. With older versions the best chance you have is renaming your disks. Assuming you don't have a wd1 disk (i.e. a disk that's a slave on the primary controller) you can do the following: 1. Edit your kernel config file, commenting out the line for wd1 and changing the line for wd2 to read wd1 instead (change just the name, leave all parameters the same). 2. Edit /etc/fstab and change all references to wd2 into references to wd1. This will have the effect of naming your second disk wd1 instead of wd2, which should make the boot code heapier. Nadav