From owner-freebsd-stable@FreeBSD.ORG Thu Jan 7 01:19:03 2010 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1DFDC1065676 for ; Thu, 7 Jan 2010 01:19:03 +0000 (UTC) (envelope-from doconnor@gsoft.com.au) Received: from cain.gsoft.com.au (cain.gsoft.com.au [203.31.81.10]) by mx1.freebsd.org (Postfix) with ESMTP id 8CF148FC21 for ; Thu, 7 Jan 2010 01:19:02 +0000 (UTC) Received: from inchoate.gsoft.com.au ([203.31.81.30]) (authenticated bits=0) by cain.gsoft.com.au (8.13.8/8.13.8) with ESMTP id o071IvKe081657 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=NO); Thu, 7 Jan 2010 11:48:57 +1030 (CST) (envelope-from doconnor@gsoft.com.au) From: "Daniel O'Connor" To: freebsd-stable@freebsd.org Date: Thu, 7 Jan 2010 11:48:29 +1030 User-Agent: KMail/1.9.10 References: <20100107001709.V50666@sola.nimnet.asn.au> In-Reply-To: <20100107001709.V50666@sola.nimnet.asn.au> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="----------=_1262827138-75921-240" Content-Transfer-Encoding: binary Message-Id: <201001071148.47309.doconnor@gsoft.com.au> X-Spam-Score: -3.626 () ALL_TRUSTED,AWL,BAYES_00 X-Scanned-By: MIMEDefang 2.63 on 203.31.81.10 Cc: Ian Smith Subject: Re: How to make release for *memstick.img X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 07 Jan 2010 01:19:03 -0000 This is a multi-part message in MIME format... ------------=_1262827138-75921-240 Content-Type: text/plain; name="warning1.txt" Content-Disposition: inline; filename="warning1.txt" Content-Transfer-Encoding: 7bit MIME-Version: 1.0 X-Mailer: MIME-tools 5.420 (Entity 5.420) WARNING: This e-mail has been altered by MIMEDefang. Following this paragraph are indications of the actual changes made. For more information about your site's MIMEDefang policy, contact Postmaster . For more information about MIMEDefang, see: http://www.roaringpenguin.com/mimedefang/enduser.php3 An attachment named makeusb.sh was removed from this document as it constituted a security hazard. If you require this document, please contact the sender and arrange an alternate means of receiving it. ------------=_1262827138-75921-240 From: "Daniel O'Connor" To: freebsd-stable@freebsd.org Subject: Re: How to make release for *memstick.img Date: Thu, 7 Jan 2010 11:48:29 +1030 User-Agent: KMail/1.9.10 Cc: Ian Smith References: <20100107001709.V50666@sola.nimnet.asn.au> In-Reply-To: <20100107001709.V50666@sola.nimnet.asn.au> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart36083323.HucdVS7T4L"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit Message-Id: <201001071148.47309.doconnor@gsoft.com.au> --nextPart36083323.HucdVS7T4L Content-Type: multipart/mixed; boundary="Boundary-01=_nZTRL871LoTfSB+" Content-Transfer-Encoding: 7bit Content-Disposition: inline --Boundary-01=_nZTRL871LoTfSB+ Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline On Thu, 7 Jan 2010, Ian Smith wrote: > trying to figure out how 8.0-RELEASE-i386-memstick.img was made, with > a view to, well, knowing how it's done, so perhaps I could do some > more. > > I've been studying release(7) and src/release/* for a while now, over > a few releases. I've learned a lot, and while there's plenty I've > skimmed over the finer detail, I have some sort of grip on how > floppy, cdrom and dvd ISOs are made, but can't see how the memstick > images were generated. > > Are there some pointers somewhere to the particular recipe used? I'm not sure about _the_ way, but _a_ way is to use makefs to create an=20 image of /boot from the CD/DVD and then use syslinux to make it=20 bootable. See the attached script, you run it like so.. /tmp/makeusb.sh /tmp/7.2-release/R/cdrom/dvd1 /dev/da1 (it will destroy /dev/da1, so be careful :) It requires the sysutils/syslinux port be installed to work. Once it's done copy /tmp/7.2-release/R/cdrom/dvd1/7.2-STABLE to the USB=20 stick. Now you should be able to boot off the stick and install from a DOS=20 device (ie the memory stick). --=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 --Boundary-01=_nZTRL871LoTfSB+-- --nextPart36083323.HucdVS7T4L Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part. Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.12 (FreeBSD) iD8DBQBLRTZ35ZPcIHs/zowRAqG9AJ9bQ/r6ATOHIUITlVEe5qDJ6NdBwACfRdZN /P4BeEI2mczxVOzo2lHYVMI= =3EKj -----END PGP SIGNATURE----- --nextPart36083323.HucdVS7T4L-- ------------=_1262827138-75921-240--