Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 30 Jan 2010 21:44:53 -0500
From:      Ken Smith <kensmith@buffalo.edu>
To:        Ian Smith <smithi@nimnet.asn.au>
Cc:        freebsd-stable <freebsd-stable@freebsd.org>
Subject:   Re: 7.3-BETA1 Available... [memstick.img?]
Message-ID:  <1264905893.19953.23.camel@bauer.cse.buffalo.edu>
In-Reply-To: <20100130164546.K46992@sola.nimnet.asn.au>
References:  <1264828108.4948.18.camel@neo.cse.buffalo.edu> <20100130164546.K46992@sola.nimnet.asn.au>

next in thread | previous in thread | raw e-mail | index | archive | help

--=-d3V5gKSIdttV26ZhEn4O
Content-Type: text/plain
Content-Transfer-Encoding: quoted-printable

On Sat, 2010-01-30 at 17:17 +1100, Ian Smith wrote:

> are there any plans afoot to release memstick.img/s for 7.3-R?
>=20
> If so, where should I look for information on how it may be done?
>=20
> If not, is there something about RELENG_7 precluding that?  USB stack?

No, no plans afoot for memsticks for the balance of the 7.X releases.
The sysinstall support for installing from a USB based disk didn't get
MFCed to stable/7.  Even if it was we're already something of a
heavyweight on images (both CDs-with-packages and DVD) so my plan all
along had been to phase in the memstick image for stable/8 and at the
same time drop CDs-with-packages.

> My search for information on the particular recipe/s used to make the=20
> 8.0-R memstick images has proven fruitless so far, despite several=20
> useful suggestions on ways to make various other sorts of bootable USB=20
> stick images.  So far they seem to have been made out-of-band, somehow?
>=20
> My particular interest is in putting DVD release/s onto a 4GB(+) stick,=20
> hopefully on bootable slices rather than 'dangerously dedicated' form.

I was more or less experimenting with the memsticks for 8.0 and never
quite got around to packaging up what I do into a script.  I'll try to
get something along those lines into the tree some time soon.  Release
builds are done in two passes - the first pass creates all the
directories needed but stops there giving me a chance to add stuff to
those directories.  That's where I put the packages into place if there
are going to be any.  After doing that the second pass runs which builds
the ISO images.  After the first pass I briefly put the packages
directory that is supposed to be on disc1 (which is just the docs
packages, sysinstall gets grumpy if those aren't present) into the dvd1
directory and do this:

  makefs foo.fs dvd1
  dd if=3D/dev/zero of=3D8.0-RELEASE-amd64-memstick.img \
	bs=3D10240 count=3D<size>
  mdconfig -a -t vnode -f 8.0-RELEASE-amd64-memstick.img
  fdisk -BIq /dev/md0
  bsdlabel -B -w /dev/md0
  dd if=3Dfoo.fs of=3D/dev/md0a bs=3D10240 conv=3Dsync
  mdconfig -d -u 0

The <size> number should be calculated to be two blocks larger than the
size of foo.fs so you've got room for round-up error and enough space
for the label.

After doing that I put the packages directory I'd used where it's
supposed to be (disc1), put the proper set of packages for the DVD into
the dvd1 directory, and then run the second pass of the release build to
generate the ISO images.

--=20
                                                Ken Smith
- From there to here, from here to      |       kensmith@buffalo.edu
  there, funny things are everywhere.   |
                      - Theodore Geisel |


--=-d3V5gKSIdttV26ZhEn4O
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: This is a digitally signed message part

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

iEYEABECAAYFAktk7qUACgkQ/G14VSmup/b3xgCgjdr2341EB1mQkoBD1JJEapXh
7kUAni/wvjuiiCJFN6bh/CYNCNrOvsV7
=qcSe
-----END PGP SIGNATURE-----

--=-d3V5gKSIdttV26ZhEn4O--




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