From owner-freebsd-questions@FreeBSD.ORG Thu May 29 01:08:25 2003 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 1609A37B401 for ; Thu, 29 May 2003 01:08:25 -0700 (PDT) Received: from tina.la3sg.net (la3sg.net [217.13.29.172]) by mx1.FreeBSD.org (Postfix) with ESMTP id CFD2743F75 for ; Thu, 29 May 2003 01:08:23 -0700 (PDT) (envelope-from tina@tina.la3sg.net) Received: from tina.la3sg.net (tina@localhost.la3sg.net [127.0.0.1]) by tina.la3sg.net (8.12.8p1/8.12.8) with ESMTP id h4T88L8H002025 for ; Thu, 29 May 2003 10:08:21 +0200 (CEST) (envelope-from tina@tina.la3sg.net) Received: (from tina@localhost) by tina.la3sg.net (8.12.8p1/8.12.8/Submit) id h4T88Kjl002024 for freebsd-questions@freebsd.org; Thu, 29 May 2003 10:08:20 +0200 (CEST) Date: Thu, 29 May 2003 10:08:20 +0200 From: Kjell Midtseter To: freebsd-questions@freebsd.org Message-ID: <20030529080820.GC1726@tina.la3sg.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4.1i Subject: boot error on R5.0 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: kmidtset@c2i.net List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 29 May 2003 08:08:25 -0000 When booting the boot sequence ends with: ------------- mounting root from ufs: /dev/ad0s1a setrootbyname failed ffs_mount root: can't find rootvp Root mount failed: 6 mountroot> -------------- When I enter 'ufs:ad0a' after the prompt I get a login prompt. When I log in as root I receive a '%' prompt, and I can enter commands etc.. --------------------------------------------------------------- Background: I want to update my firewall to use the new pf packet filter port. This requires FreeBSD 5.0 It is not practical to recompile kernel & world on the firewall box. So I do all the work on a more powerfull box and transfer the new system to a disk that I then move to the firewall where I then get the above error message. After building and testing the new system I - move all required files to directories under /mybsd - build a disk image with bootstrap and partitioning - insert my files from /mybsd into the disk image - use dd to copy the image to the firewall disk The only difference from FreeBSD 4.x that I can see is that my /mybsd/dev is not populated. In 4.x I copied MAKEDEV from /dev to /mybsd/dev and used 'sh MAKEDEV all' to populate my new /dev So what is this rootvp? Regards from Kjell