From owner-freebsd-questions@FreeBSD.ORG Thu Feb 26 00:41:33 2004 Return-Path: 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 38BF216A4CE for ; Thu, 26 Feb 2004 00:41:33 -0800 (PST) Received: from redix.it (host49-169.pool8172.interbusiness.it [81.72.169.49]) by mx1.FreeBSD.org (Postfix) with SMTP id 530B943D31 for ; Thu, 26 Feb 2004 00:41:27 -0800 (PST) (envelope-from roberto@redix.it) Received: (qmail 3514 invoked by uid 72); 26 Feb 2004 08:41:25 -0000 Received: from 192.168.0.1 (proxying for 192.168.0.77) (SquirrelMail authenticated user roberto) by mail.redix.it with HTTP; Thu, 26 Feb 2004 09:41:25 +0100 (CET) Message-ID: <39678.192.168.0.1.1077784885.squirrel@mail.redix.it> In-Reply-To: <1045.192.168.0.77.1073926543.squirrel@mail.redix.it> References: <1045.192.168.0.77.1073926543.squirrel@mail.redix.it> Date: Thu, 26 Feb 2004 09:41:25 +0100 (CET) From: roberto@redix.it To: "eechia" User-Agent: SquirrelMail/1.4.2 MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Priority: 3 Importance: Normal cc: freebsd-questions@freebsd.org Subject: Re: #2 - Swapped disks and now stuck in the mountroot> prompt X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 26 Feb 2004 08:41:33 -0000 > > hello, i'm eechia. > i've come across your "mountroot" problem on the web. > i'm facing the similiar problem too. > can you give me some guideline regarding it? > thanks you > > -eechia- > > Date: 12 jan 2004 > > According to me, you have choice: 1) start the kernel with "-a" option (e.g. "boot -a" ): with this flag the device "ufs:/dev/ad2s1a" (warning: type in your appropriate device) is accepted by "mountroot> " and the boot proceed. Than I can change the fstab accordingly to make the change permanent. 2) boot with a rescue cdrom, get a shell prompt and change the /etc/fstab accordingly (yes this file is red before booting the kernel, to instruct the kernel itself to the right root device); But I've an unanswered question from freebsd-questions people: - Why without the boot "-a" flag, why the kernel ask me a device and even it is the correct one vfs_conf.c:vfs_mountroot_ask() give me the error code 6? Bye Roberto