Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 29 Sep 2009 11:01:50 +0200
From:      =?ISO-8859-1?Q?Marius_N=FCnnerich?= <marius@nuenneri.ch>
To:        FreeBSD Stable Mailing List <freebsd-stable@freebsd.org>
Subject:   Booting FreeBSD 8.0-RC1 from usb stick
Message-ID:  <b649e5e0909290201o6f038fd3xdccf94c5039c9e1@mail.gmail.com>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?b649e5e0909290201o6f038fd3xdccf94c5039c9e1>