From owner-freebsd-arm@freebsd.org Mon Oct 1 14:59:40 2018 Return-Path: Delivered-To: freebsd-arm@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 94CDA10C00B3 for ; Mon, 1 Oct 2018 14:59:40 +0000 (UTC) (envelope-from simond@irrelevant.org) Received: from mail-qt1-x82a.google.com (mail-qt1-x82a.google.com [IPv6:2607:f8b0:4864:20::82a]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 36B847A61C for ; Mon, 1 Oct 2018 14:59:40 +0000 (UTC) (envelope-from simond@irrelevant.org) Received: by mail-qt1-x82a.google.com with SMTP id q41-v6so9473211qtq.10 for ; Mon, 01 Oct 2018 07:59:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=irrelevant.org; s=irrelevant; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=Fl1vruD60MWLuvMwmAyfD3h1U4XN/egwwC1kVfZdDO4=; b=Fh1CBBYcmw6r7mHcZo/pKqG029qv6shp1w8DrMg0w5gK/nwESTTEsNdB0fEfoSKeK6 U8E8y0Tgy9w/HVJiEMrxZAUflo9xF/R/xmYHvQSM78CyN6w/rpr2+f+sHp7CuoIwEIyU +zc6ItFvyroWcIlM4r2On+KzWHhNbmPQuYET0= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=Fl1vruD60MWLuvMwmAyfD3h1U4XN/egwwC1kVfZdDO4=; b=phOPBJ/6uZ2Xbg+wLZATNxvn09CUqPbfE7cPY9/Dhc3fojR2G/fj6h0wZ684uT0us1 emeIDJy+GMxffGJX7BoDt0VPPKZEI0wnNawE3t6DWegFgv00F4nGO5qXxTozHr6nkF6g TSbSiFrXSClbBq5/KBwnJaVMgq2Jenjnz+h5x1UUWqrmK6AAtwV4hqPoMckVlB1qZzgb FfnsF6SMsOjVHVH6WNQ/4XGt9JvjjBrWgV1e1bvIeDQdBe2FzZGojpcucg3Ktxw7IPUm AvoMsYgzQpdHFIbOXmM95cxfBORUEKKe5cThfHOFReQinlfmPumQGsc2qGqQeTs4SN9F wutA== X-Gm-Message-State: ABuFfoiS8VhLNuKJWeSxlwQTddslwL5MmJbjVUBlGULR6lqcB7HG+IIy UsivdfuTlfAQYD1EH6p7ChQTN48//eMvGkRFACF+0w== X-Google-Smtp-Source: ACcGV60Nvv9PyccVtGnng+6rMIeE7SV/bC5nI5NpPLxKj4asg3HBX4pfKnbeSpUuMeHnE06Jj0+iig7v+9IBmh+xaa8= X-Received: by 2002:ac8:435b:: with SMTP id a27-v6mr8581460qtn.295.1538405979658; Mon, 01 Oct 2018 07:59:39 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: Simon Dick Date: Mon, 1 Oct 2018 15:59:28 +0100 Message-ID: Subject: Re: Booting the raspberry pi 2 from a usb hd To: vdemart@gmail.com Cc: freebsd-arm@freebsd.org Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.27 X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.27 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 01 Oct 2018 14:59:41 -0000 On Mon, 1 Oct 2018 at 15:32, Victor wrote: > I'm using a pi 2 card with FreeBSD 11.2-STABLE on the required sd card. It > works like a charm but using it as a postgresql server with many write > operation on it, to be on the safe side, I would like to move the operating > system to an external hard-disk or ssd. > I've been surfing the net to find if it is possible to boot my pi 2 from > an external hard-disk (or SSD) to no avail. > Could you please give me some hint, directions on this subject? > >From memory the Pi 2 itself doesn't support booting from USB so your best bet would be to mount the external drive and then place your postgres data files on there. I believe the Pi 3 upwards can do USB booting, though I don't know how much support there is in FreeBSD for it yet as I've not had a reason to try.