From owner-freebsd-stable@FreeBSD.ORG Mon Jun 26 21:19:01 2006 Return-Path: X-Original-To: freebsd-stable@freebsd.org Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2F9F216A400 for ; Mon, 26 Jun 2006 21:19:01 +0000 (UTC) (envelope-from mike@jellydonut.org) Received: from mail.secureworks.net (mail.secureworks.net [65.114.32.155]) by mx1.FreeBSD.org (Postfix) with SMTP id A9BAC43D79 for ; Mon, 26 Jun 2006 21:19:00 +0000 (GMT) (envelope-from mike@jellydonut.org) Received: (qmail 21562 invoked from network); 26 Jun 2006 21:18:59 -0000 Received: from unknown (HELO ?192.168.14.135?) (63.239.86.253) by 0 with SMTP; 26 Jun 2006 21:18:59 -0000 Message-ID: <44A04F43.2090400@jellydonut.org> Date: Mon, 26 Jun 2006 17:18:59 -0400 From: Michael Proto User-Agent: Thunderbird 1.5.0.2 (X11/20060503) MIME-Version: 1.0 To: freebsd-stable@freebsd.org References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Subject: Re: kernel can't find root filesystem X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 26 Jun 2006 21:19:01 -0000 Robert Ames wrote: >> From: "M.Hirsch" >> >> I had the same problem with 6.1. But only on some occasions, not >> always (iirc). >> The installations I made over the last weeks had all very different >> environments and deployment methods. >> I can't tell anymore when it happens and when not because I simply >> added the below loader.conf setting to my postinstall-script. >> >> Add "vfs.root.mountfrom=ufs:da0s1" to /boot/loader.conf to fix it. > > Thank you. That solves my problem even though it seems more like > a workaround than an actual solution. But I'll take it. :-) > > Also, someone responded asking if I had a valid entry in /etc/fstab > for the root filesystem. > > foo# cat /etc/fstab > # Device Mountpoint FStype Options Dump > Pass# > /dev/da0s1a / ufs rw > 1 1 > /dev/da0s1b none swap sw > 0 0 > /dev/da1s1d /local ufs rw > 2 2 > /dev/cd0 /cdrom cd9660 ro,noauto > 0 0 > If I'm not mistaken, you could also try to (re)install the boot0 loader: boot0cfg /dev/da0 -Proto