From owner-freebsd-arm@FreeBSD.ORG Tue Oct 20 15:12:55 2009 Return-Path: Delivered-To: freebsd-arm@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7BE2E106566B for ; Tue, 20 Oct 2009 15:12:55 +0000 (UTC) (envelope-from bounces@nabble.com) Received: from kuber.nabble.com (kuber.nabble.com [216.139.236.158]) by mx1.freebsd.org (Postfix) with ESMTP id 5071E8FC12 for ; Tue, 20 Oct 2009 15:12:55 +0000 (UTC) Received: from isper.nabble.com ([192.168.236.156]) by kuber.nabble.com with esmtp (Exim 4.63) (envelope-from ) id 1N0GOM-0001ZV-JE for freebsd-arm@freebsd.org; Tue, 20 Oct 2009 08:12:54 -0700 Message-ID: <25976957.post@talk.nabble.com> Date: Tue, 20 Oct 2009 08:12:54 -0700 (PDT) From: RuiDC To: freebsd-arm@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Nabble-From: ruidc@yahoo.com Subject: Sheevaplug: preparing to boot from USB stick X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to the StrongARM Processor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 20 Oct 2009 15:12:55 -0000 I have followed http://wiki.freebsd.org/FreeBSDMarvell and am booting fine via tftp/NFS but now wish to switch to using USB stick so that the plug operates without a server. In the absence of a guide as to how to proceed, i was following from step 7 onwards from: http://bsdimp.blogspot.com/2007/12/building-bootable-arm-sd.html step7: # fdisk -I da0 ******* Working on device da0 ******* fdisk: /boot/mbr: No such file or directory Should i be using on of these instead: # ls -l boot ... -r--r--r-- 1 root wheel 13320 Sep 28 09:57 loader.help -r-xr-xr-x 1 root wheel 165864 Sep 28 09:57 ubldr And if so, what preparation do i need for the USB stick? ie. swapping is disabled on the kernel config, can i just use a single large UFS partition/slice ? as below or do i need a FAT32 partition to make it accessible from u-boot? # fdisk da0 ******* Working on device /dev/da0 ******* parameters extracted from in-core disklabel are: cylinders=972 heads=255 sectors/track=63 (16065 blks/cyl) parameters to be used for BIOS calculations are: cylinders=972 heads=255 sectors/track=63 (16065 blks/cyl) Media sector size is 512 Warning: BIOS sector numbering starts with sector 1 Information from DOS bootblock is: The data for partition 1 is: sysid 165 (0xa5),(FreeBSD/NetBSD/386BSD) start 62, size 15620218 (7627 Meg), flag 80 (active) beg: cyl 0/ head 0/ sector 63; end: cyl 972/ head 80/ sector 60 The data for partition 2 is: The data for partition 3 is: The data for partition 4 is: Thanks, RuiDC -- View this message in context: http://www.nabble.com/Sheevaplug%3A-preparing-to-boot-from-USB-stick-tp25976957p25976957.html Sent from the freebsd-arm mailing list archive at Nabble.com.