Date: Thu, 7 Jan 2010 11:48:29 +1030 From: "Daniel O'Connor" <doconnor@gsoft.com.au> To: freebsd-stable@freebsd.org Cc: Ian Smith <smithi@nimnet.asn.au> Subject: Re: How to make release for *memstick.img Message-ID: <201001071148.47309.doconnor@gsoft.com.au> In-Reply-To: <20100107001709.V50666@sola.nimnet.asn.au> References: <20100107001709.V50666@sola.nimnet.asn.au>
next in thread | previous in thread | raw e-mail | index | archive | help
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 <postmaster@gsoft.com.au>. 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" <doconnor@gsoft.com.au> 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 <smithi@nimnet.asn.au> 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--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201001071148.47309.doconnor>