Date: Tue, 20 Oct 2009 08:12:54 -0700 (PDT) From: RuiDC <ruidc@yahoo.com> To: freebsd-arm@freebsd.org Subject: Sheevaplug: preparing to boot from USB stick Message-ID: <25976957.post@talk.nabble.com>
next in thread | raw e-mail | index | archive | help
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: <UNUSED> The data for partition 3 is: <UNUSED> The data for partition 4 is: <UNUSED> 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.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?25976957.post>