From owner-freebsd-stable@FreeBSD.ORG Sat Apr 12 05:11:31 2014 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id EDCA49AF for ; Sat, 12 Apr 2014 05:11:31 +0000 (UTC) Received: from wonkity.com (wonkity.com [67.158.26.137]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "wonkity.com", Issuer "wonkity.com" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 25A631A0F for ; Sat, 12 Apr 2014 05:11:31 +0000 (UTC) Received: from wonkity.com (localhost [127.0.0.1]) by wonkity.com (8.14.8/8.14.8) with ESMTP id s3C59xWw079985 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Fri, 11 Apr 2014 23:09:59 -0600 (MDT) (envelope-from wblock@wonkity.com) Received: from localhost (wblock@localhost) by wonkity.com (8.14.8/8.14.8/Submit) with ESMTP id s3C59usY079961; Fri, 11 Apr 2014 23:09:57 -0600 (MDT) (envelope-from wblock@wonkity.com) Date: Fri, 11 Apr 2014 23:09:56 -0600 (MDT) From: Warren Block To: Chris H Subject: Re: Unable to mount the root fs on stable/8 r264339, GENERIC kernel, with MBR, FreeBSD slice, and UFS volume labels In-Reply-To: <31c0491faf776771e8a28dba8f66b02b.authenticated@ultimatedns.net> Message-ID: References: <31c0491faf776771e8a28dba8f66b02b.authenticated@ultimatedns.net> User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.4.3 (wonkity.com [127.0.0.1]); Fri, 11 Apr 2014 23:09:59 -0600 (MDT) Cc: FreeBSD stable X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 12 Apr 2014 05:11:32 -0000 On Fri, 11 Apr 2014, Chris H wrote: >> >> There I first wiped the harddrive clean, by booting from the >> 8.0-RELEASE dvd1, ran dd if=/dev/zero of=/dev/ad0 bs=128M, before I >> installed 8.0-RELEASE. I then transferred an up-to-date working copy >> of stable/8 to the spare system. Next, I compiled world and the >> GENERIC kernel, without any hassle. I performed make installkernel and >> rebooted. >> >> The boot loader managed its way through the maze, read /etc/fstab and >> found the entry for the root filesystem. The new GENERIC kernel, >> however, simply can't understand what to do with: >> >> vfs.root.mountfrom="ufs:/dev/ufs/root" >> vfs.root.mountfrom.options="rw" >> >> as presented by the boot loader. Mind you, the boot loader hasn't been >> replaced yet. Maybe that's the whole issue, however weird it sounds. >> /boot/loader.conf is empty btw. >> >> I'm doing a similar attempt in VirtualBox at home as I write this. >> There I began with 8.4-RELEASE, and are currently compiling stable/8 >> r264351. >> >> I'll later try in VBox, 8.4-R -> stable/8 with GPT + UFS, using GPT >> labels, just to rule out UFS labels. > Looks to me like you're suffering a mix of MBR + GPT. It /appears/ to > be expecting one of them, but getting the other. Did you install the > bootcode, or update it? Was it consistent with your choice of > schemes (GPT v MBR)? Well. Looks like you're on the right track. As > far as I can see. Good luck. :) My first guess would be missing bootcode in the BSDlabel slice. But I may have missed that when I missed earlier parts of this thread. In general, use GPT unless there is some reason to avoid it. http://www.wonkity.com/~wblock/docs/html/disksetup.html shows both GPT and MBR/BSDlabel setup.