From owner-freebsd-arm@FreeBSD.ORG Wed Jun 10 23:53:32 2015 Return-Path: Delivered-To: freebsd-arm@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 2EDC9530 for ; Wed, 10 Jun 2015 23:53:32 +0000 (UTC) (envelope-from ian@freebsd.org) Received: from pmta2.delivery4.ore.mailhop.org (pmta2.delivery4.ore.mailhop.org [54.200.247.200]) by mx1.freebsd.org (Postfix) with SMTP id 0EAF91BE0 for ; Wed, 10 Jun 2015 23:53:31 +0000 (UTC) (envelope-from ian@freebsd.org) Received: from ilsoft.org (unknown [73.34.117.227]) by outbound1.ore.mailhop.org (Halon Mail Gateway) with ESMTPSA; Wed, 10 Jun 2015 23:53:26 +0000 (UTC) Received: from revolution.hippie.lan (revolution.hippie.lan [172.22.42.240]) by ilsoft.org (8.14.9/8.14.9) with ESMTP id t5ANrNll005203; Wed, 10 Jun 2015 17:53:23 -0600 (MDT) (envelope-from ian@freebsd.org) Message-ID: <1433980403.1200.381.camel@freebsd.org> Subject: Re: Booting a USB hard drive From: Ian Lepore To: bob prohaska Cc: freebsd-arm@freebsd.org Date: Wed, 10 Jun 2015 17:53:23 -0600 In-Reply-To: <20150610231238.GA29525@www.zefox.net> References: <20150610231238.GA29525@www.zefox.net> Content-Type: text/plain; charset="us-ascii" X-Mailer: Evolution 3.12.10 FreeBSD GNOME Team Port Mime-Version: 1.0 Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 10 Jun 2015 23:53:32 -0000 On Wed, 2015-06-10 at 16:12 -0700, bob prohaska wrote: > Are there any descriptions floating around for booting an > rpi2 from a usb hard disk? I thought it would be a simple > matter of loading a crochet image on both microSD card and > hard disk, then adjusting the boot config on the microSD card > to point at the hard disk. > > In fact it does work, but only by stalling the boot process > at the mountroot prompt long enough for the hard disk to > be (re) discovered, whence issuing the ufs:da0s2a command > results in a clean boot of the hard disk, with the microSD > card left unmounted. > > Apologies if this is a premature request; there are many > discriptions of how to boot Raspbian from USB, but I could > not find any guidance on how to do it with FreeBSD. The > small success thus far seems to have been a matter of luck. > > Thanks for reading, and any guidance. > > bob prohaska > > > _______________________________________________ > freebsd-arm@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-arm > To unsubscribe, send any mail to "freebsd-arm-unsubscribe@freebsd.org" Copy /boot/loader.rc.sample to /boot/loader.rc, then add kern.cam.boot_delay="10000" to /boot/loader.conf (you may have to create the file). That's a 10-second delay for the usb drive to be ready, adjust as necessary with a delay in milliseconds. -- Ian