From owner-freebsd-hackers@FreeBSD.ORG Thu Apr 22 17:06:52 2010 Return-Path: Delivered-To: hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 180591065743 for ; Thu, 22 Apr 2010 17:06:52 +0000 (UTC) (envelope-from kensmith@buffalo.edu) Received: from localmailB.acsu.buffalo.edu (localmailB.acsu.buffalo.edu [128.205.5.200]) by mx1.freebsd.org (Postfix) with ESMTP id DB9BE8FC2A for ; Thu, 22 Apr 2010 17:06:51 +0000 (UTC) Received: from localmailB.acsu.buffalo.edu (localhost [127.0.0.1]) by localhost (Postfix) with SMTP id 7A0AADEE; Thu, 22 Apr 2010 12:57:29 -0400 (EDT) Received: from localmailB.acsu.buffalo.edu (localhost [127.0.0.1]) by localmailB.acsu.buffalo.edu (Postfix) with ESMTP id 7E45CC5E; Thu, 22 Apr 2010 12:57:27 -0400 (EDT) Received: from mweb2.acsu.buffalo.edu (mweb2.acsu.buffalo.edu [128.205.5.239]) by localmailB.acsu.buffalo.edu (Prefixe) with ESMTP id 73CC9BB3; Thu, 22 Apr 2010 12:57:27 -0400 (EDT) Received: from [128.205.32.76] (bauer.cse.buffalo.edu [128.205.32.76]) by mweb2.acsu.buffalo.edu (Postfix) with ESMTP id 63137203C0; Thu, 22 Apr 2010 12:57:27 -0400 (EDT) From: Ken Smith To: "Julian H. Stacey" In-Reply-To: <201004211909.o3LJ9W8b072724@fire.js.berklix.net> References: <201004211909.o3LJ9W8b072724@fire.js.berklix.net> Content-Type: multipart/signed; micalg="pgp-sha1"; protocol="application/pgp-signature"; boundary="=-qcIQMG8edC5xW6o/TC0g" Date: Thu, 22 Apr 2010 12:57:26 -0400 Message-ID: <1271955446.76185.142.camel@bauer.cse.buffalo.edu> Mime-Version: 1.0 X-Mailer: Evolution 2.28.2 FreeBSD GNOME Team Port X-PM-EL-Spam-Prob: : 8% Cc: hackers@freebsd.org, re@freebsd.org Subject: Re: Bug with fixit live 8.0 memstick.img running on F1 after MBR X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 22 Apr 2010 17:06:52 -0000 --=-qcIQMG8edC5xW6o/TC0g Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable On Wed, 2010-04-21 at 21:09 +0200, Julian H. Stacey wrote: > Hi hackers@, > No replies in over 4 days to this, so this is a repost,=20 > I've also added re@ as newish memstick.img might interest them ? > (The live command prompt on F4 wasn't much use, no ls yet.) echo * That said you usually run into a different thing you can't do shortly after finding out what files/directories are there... > > Conclusion: > > Would be nice if others tried too, to tell if it's my mistake or a bu= g. > > WOrth doing as it also sets you up ready with a stick that can rescue= / > > fixit + has enough space for other file systemes with your own > > personal /usr/local inc. X, ready for eg testing laptops in shops. I won't have much time to fiddle with this in the next few days but just a few misc. comments. I never pictured someone wanting to do what you're trying to do with the memstick images so this sort of thing was never tested (at least by me). I pictured people taking a totally different approach to doing the general thing you are trying to do. There is a script named "make-memstick.sh" in /usr/src/release/scripts on head and stable/8 (it got added after 8.0-RELEASE was out) that I use to make the memstick images. If you don't like what's on the memstick images we provide you can basically roll your own using that script, possibly by starting off with what's on our memstick image (just mount it and copy everything off it to a directory that you then add/remove stuff to produce what you want). Just as a quick example if you wanted the full DVD (packages and all) on a memstick you could stick the DVD in a drive (or mount the DVD .iso file as a vnode md or whatever) and do: make-memstick.sh /cdrom dvd.img Then copy dvd.img to a drive. Or, more to your point, copy /cdrom to normal disk space and then add/remove stuff before running the script. The make-memstick.sh script is, on purpose, very basic. It just barely does what I need it to and can be used as a base to come up with your own script that does more if you find that doing this sort of thing happens often (testing laptops in shops, etc). --=20 Ken Smith - From there to here, from here to | kensmith@buffalo.edu there, funny things are everywhere. | - Theodore Geisel | --=-qcIQMG8edC5xW6o/TC0g Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (FreeBSD) iEYEABECAAYFAkvQf+sACgkQ/G14VSmup/YinQCeLRZ2Mid761QJLpIvlM3s7JgE vPgAn3gMGzeWMQaCiUNi7a3DSk68LR17 =F1Q8 -----END PGP SIGNATURE----- --=-qcIQMG8edC5xW6o/TC0g--