Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 18 Sep 2001 16:39:24 -0400
From:      Randall Hopper <aa8vb@nc.rr.com>
To:        John Kozubik <john@kozubik.com>
Cc:        small@freebsd.org
Subject:   Re: Booting from Flash
Message-ID:  <20010918163924.B58036@nc.rr.com>
In-Reply-To: <Pine.BSF.4.21.0109181139350.76246-100000@www.kozubik.com>; from john@kozubik.com on Tue, Sep 18, 2001 at 11:41:20AM -0700
References:  <20010916193310.A26261@nc.rr.com> <Pine.BSF.4.21.0109181139350.76246-100000@www.kozubik.com>

next in thread | previous in thread | raw e-mail | index | archive | help
John Kozubik:
 |> What is the best way to get FreeBSD up and running on this box?
 |> Is there a simple way to put a basic loader on the flash and then load
 |> everything (kernel, MFS root, etc.) via the ethernet?
 |
 |http://www.freebsd.org/doc/en_US.ISO8859-1/articles/solid-state/index.html
 |
 |this will show you step by step how to boot off of a fixit disk and run
 |each command to prepare and load an image onto a flash device.

Thanks.  Merging its disk prep tips with some I found in the archives, I
cooked an empty disk image (with boot blocks) for his sandisk using the
procedure listed below.

After dd'ing it to his flash, he says the IPaq boots and gives the expected
FreeBSD boot prompt with the "No /boot/loader" and "No /boot/loader"
messages.  Cool!

Now I need to find out how much of the FreeBSD system I can netboot.  That
is, have virtually nothing on the sandisk and boot the kernel and an MFS
root off the network.  Ideally then /usr and other FSs could be
NFS-mounted, removing the need to whittle down FreeBSD to a bare minimum so
it'll fit in the 16MB flash.

Is this possible?  If anyone on the list done it, I'd sure appreciate any
pointers you could offer!

If not, tips on how to whittle down FreeBSD would also be helpful.  I
haven't located the "installsmallworld" target in the 4.x source tree yet.
Is it mythical?

Randall

------------------------------------------------------------------------------
   dd if=/dev/zero of=mfsroot bs=1k count=16000
   vnconfig -e -s labels vn0 mfsroot
   disklabel -r -w vn0 auto
   disklabel -e /dev/vn0c     # <- dup the 'c' partition to an 'a', and save
   disklabel -B vn0
   newfs /dev/vn0a
   #mount /dev/vn0a /mnt      # SHou
   #umount /mnt
   vnconfig -u vn0
------------------------------------------------------------------------------

-- 
Randall Hopper
aa8vb@nc.rr.com

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-small" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20010918163924.B58036>