From owner-freebsd-stable@FreeBSD.ORG Tue Sep 29 09:31:14 2009 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2E6E01065676 for ; Tue, 29 Sep 2009 09:31:14 +0000 (UTC) (envelope-from marius@nuenneri.ch) Received: from mail-ew0-f209.google.com (mail-ew0-f209.google.com [209.85.219.209]) by mx1.freebsd.org (Postfix) with ESMTP id C86AA8FC1C for ; Tue, 29 Sep 2009 09:31:13 +0000 (UTC) Received: by ewy5 with SMTP id 5so3827387ewy.36 for ; Tue, 29 Sep 2009 02:31:12 -0700 (PDT) MIME-Version: 1.0 Received: by 10.216.7.5 with SMTP id 5mr992359weo.36.1254214910529; Tue, 29 Sep 2009 02:01:50 -0700 (PDT) Date: Tue, 29 Sep 2009 11:01:50 +0200 Message-ID: From: =?ISO-8859-1?Q?Marius_N=FCnnerich?= To: FreeBSD Stable Mailing List Content-Type: text/plain; charset=ISO-8859-1 Subject: Booting FreeBSD 8.0-RC1 from usb stick 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: Tue, 29 Sep 2009 09:31:14 -0000 Hi all, FreeBSD 8.0-RC1 was installed onto hard disk. The root filesystem was transferred to a usb memory stick via #pwd / # find -print . -x | cpio -pdm /mnt/usbstick The fstab on the stick was modified such that "/" was to be mounted from /dev/da0s1a, the ufs fs on the usb stick. This had proven to work perfectly with 7.2. In 8.0-RC1, however, this approach fails. After booting the kernel, the system does not automatically mount the "/" partition. Instead, it asks for a partition to mount to "/", and when exactly the same location is entered ("ufs:/dev/da0s1a"), it mounts this partition and works perfectly. Explicitly setting the root partition (vfs.root.mountfrom="ufs:/dev/da0s1a") in /boot/loader.conf does not help either: Again, the system knows which partition it should mount to "/", but it fails to do so. (vfs.root.mountfrom.options=rw was set too). Any ideas? Marius