Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 3 Nov 2004 12:19:07 +1030
From:      "Daniel O'Connor" <doconnor@gsoft.com.au>
To:        freebsd-current@freebsd.org
Cc:        "Thyer, Matthew" <Matthew.Thyer@dsto.defence.gov.au>
Subject:   Re: USB Key Disk Boot
Message-ID:  <200411031219.18088.doconnor@gsoft.com.au>
In-Reply-To: <BDAD4DA0.7BA10%joe@via.net>
References:  <BDAD4DA0.7BA10%joe@via.net>

next in thread | previous in thread | raw e-mail | index | archive | help
--nextPart1414373.FCvV1IzkBr
Content-Type: text/plain;
  charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline

On Wed, 3 Nov 2004 08:13, joe mcguckin wrote:
> Most USB keys don't have a rw/ro switch. Is there a kernel flag you can s=
et
> to tell FreeBSD that boot device is flash and that writes should be kept =
to
> a minimum? Can swap space be completely done away with?

There is the kernel option NO_SWAPPING.

As for writes to an FS.. I think you might want to check out some of the=20
diskless work which uses MFS to hold things.

> Thanks!
>
> Joe
>
> On 11/2/04 11:51 AM, "Doug White" <dwhite@gumbysoft.com> wrote:
> > On Tue, 2 Nov 2004, joe mcguckin wrote:
> >> You neglect to state the minimum size USB key for a standard FreeBSD
> >> install.
> >
> > My 4.X router at home has a fairly complete system install in 128MB.
> > Thats without any special pruning whatsover, just base+crypto. With some
> > work (minibsd, nanobsd, etc.), you can do alot better than that.
> >
> > Note that I creatd that from a second system and dd'd the flash card ov=
er
> > so UFS wouldnt' burn out the flash, but I suppose you could install
> > direct to it if you odn't plan on writing to the key afterward.  UFS do=
es
> > exra bad things to flash (think superblock updates), so you don't want =
to
> > leave it read/write for very long.
> >
> >> -joe
> >>
> >>
> >> On 11/2/04 12:07 AM, "Thyer, Matthew"
> >> <Matthew.Thyer@dsto.defence.gov.au>
> >>
> >> wrote:
> >>> To install onto this device:
> >>>
> >>> Simply boot your installation media (CD) and do your installing on the
> >>> device
> >>> "da0" (the first SCSI device - this is likely to be your USB Key unle=
ss
> >>> you already have SCSI hard disk drives in your system).
> >>>
> >>> As for booting, you will have to understand how to change your BIOS to
> >>> ensure
> >>> the correct boot order.  Many BIOS's will boot on these devices if you
> >>> have "USB-ZIP" as the first boot device.  If that doesn't work try
> >>> "USB-HDD" or just "USB".
> >>>
> >>> If your Key device is too small to accommodate a minimal install of
> >>> FreeBSD then you will need to investigate the more embedded solutions
> >>> such as PicoBSD.
> >>> This is an advanced topic which will require an experienced UNIX
> >>> specialist to
> >>> implement.  You may be able to find various how-to type procedures on
> >>> the Web
> >>> and the FreeBSD handbook should be very useful but this is not
> >>> something for the fainthearted.
> >>>
> >>> As for the booting process, it is described in the manual page for
> >>> "boot".
> >>>
> >>>
> >>> Matthew Thyer                                 Phone:  +61 8 8259 7249
> >>> Science Corporate Information Systems         Fax:    +61 8 8259 5537
> >>> Defence Science and Technology Organisation, Edinburgh
> >>> PO Box 1500 EDINBURGH South Australia 5111
> >>>
> >>> IMPORTANT: This email remains the property of the Australian Defence
> >>> Organisation and is subject to the jurisdiction of section 70 of the
> >>> CRIMES ACT 1914.  If you have received this email in error, you are
> >>> requested to contact the sender and delete the email.
> >>>
> >>>
> >>> _______________________________________________
> >>> freebsd-current@freebsd.org mailing list
> >>> http://lists.freebsd.org/mailman/listinfo/freebsd-current
> >>> To unsubscribe, send any mail to
> >>> "freebsd-current-unsubscribe@freebsd.org"

=2D-=20
Daniel O'Connor software and network engineer
for Genesis Software - http://www.gsoft.com.au
"The nice thing about standards is that there
are so many of them to choose from."
  -- Andrew Tanenbaum
GPG Fingerprint - 5596 B766 97C0 0E94 4347 295E E593 DC20 7B3F CE8C

--nextPart1414373.FCvV1IzkBr
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.6 (FreeBSD)

iD8DBQBBiDke5ZPcIHs/zowRAoZ+AJ92UWQKm75kFD+MwF3Qy3VXoOmtRACdEhHp
J9TFEB4ePOMub61kmYkQsZc=
=sUPS
-----END PGP SIGNATURE-----

--nextPart1414373.FCvV1IzkBr--



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