From owner-freebsd-arm@freebsd.org Tue Jun 7 05:41:50 2016 Return-Path: Delivered-To: freebsd-arm@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id BA8A3B6E81B for ; Tue, 7 Jun 2016 05:41:50 +0000 (UTC) (envelope-from tvijlbrief@gmail.com) Received: from mail-lf0-x22b.google.com (mail-lf0-x22b.google.com [IPv6:2a00:1450:4010:c07::22b]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 49BC219BD for ; Tue, 7 Jun 2016 05:41:50 +0000 (UTC) (envelope-from tvijlbrief@gmail.com) Received: by mail-lf0-x22b.google.com with SMTP id s186so42809910lfs.1 for ; Mon, 06 Jun 2016 22:41:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:references:in-reply-to:from:date:message-id:subject:to; bh=bDXrwAuKjVFdw1eUqe/frq0Gdru4+jBVjv+S3XVTHlE=; b=tXDvEl1jFdUZq4N1KMA3uVFD12Yhngtw5CwVdf3aP22JNwNWeZ0s6xZiDjgPAFSH5m kA9z2t/VlmufFivQsSkPsSDv6fjmd4NVee8ijqFfj/9KJER6oy+U9wRFAOlnqt9SAQPs 1OqHiENcD2dP6iyuF+II2NfP1pRGcUs8XJItLdRDxZyPms77rbqwGBU0+1oVGoncd02U ZxB5chSL5zCm6IKk2h8QXxNFcGDrr8wQVp6NuWb4lpTRlaMYov63gJDMQlT/7KNupuBO L0/7icGc8TfYHdKfryF6johmPw6fivIh4rCTuht6uiuxF2P65wog1tv4wMcobEZP+2E9 fUqQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to; bh=bDXrwAuKjVFdw1eUqe/frq0Gdru4+jBVjv+S3XVTHlE=; b=LloWmLIdYBpgbTwkrZFRMnzxW8/yKaRejYVoMsQcWiKncJ4dKQ2pIlPj3bttevCJrB +/WduLllyaiM+RKmZdHZdxltFSH9llRZhhJKLGCO0UMzNZZGwe+pdbEwBPdT3z0Jn+NH 10UvJS7ayUPUVOrH48+FoIXcRzUXsS0Zg9S1NsAAPa9NLBiwJ1pET4O/ZbWa8Z0eCcPd ciuGPMGeAL5NelSXcT9t0eamHLuRxrnavuPW9LfFSUt+iBt2n1QrqvGWnkzQqmv5bib0 GnJ3cFNGj9qp6BvpJrlcfMxOq2sin/dyqucffyVewwOIUgXXfsU24d5miqJYg7csEvE5 wgFg== X-Gm-Message-State: ALyK8tId7YSGrqqO4hyJq4iTHn+BN0sZAzjMC/FLwrt85ZnFj/mPC6zMXg5a8vIH5I9LZSQkAnY90L4s0vhqpA== X-Received: by 10.25.161.132 with SMTP id k126mr1907329lfe.101.1465278108448; Mon, 06 Jun 2016 22:41:48 -0700 (PDT) MIME-Version: 1.0 References: <20160606063242.GA9594@metron.com> In-Reply-To: <20160606063242.GA9594@metron.com> From: Tom Vijlbrief Date: Tue, 07 Jun 2016 05:41:38 +0000 Message-ID: Subject: Re: Root on USB stick To: freebsd-arm@freebsd.org Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.22 X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 07 Jun 2016 05:41:50 -0000 Op ma 6 jun. 2016 08:33 schreef Lou Katz : > Where does the FreeBSD boot loader for Pi2 know about or find out > where the root partition is? I need to boot from an image in the > micro slot that I cannot remove (because I broke the push-pull mechanism) > but use a root parition on another card accessed through a USB port. > > There seems to have been a way to do this with FreeBSD 10, but I cannot > find it in FreeBSD 11. > My /boot/loader.conf (on the sd-card root) has vfs.root.mountfrom="ufs:/dev/ufs/bsd11" to boot from an attached usb stick. You could use eg /dev/da1s1a instead of a UFS label.