Received: from mail.netbsd.org (mail.netbsd.org [204.152.190.11]) by www.NetBSD.org (Postfix) with ESMTP id 566EE63C3EA for ; Thu, 5 May 2011 06:53:33 +0000 (UTC) Received: by mail.netbsd.org (Postfix, from userid 605) id 1861E14A1E4; Thu, 5 May 2011 06:53:33 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mail.netbsd.org (Postfix) with ESMTP id 5875C14A195 for ; Thu, 5 May 2011 06:53:30 +0000 (UTC) X-Virus-Scanned: amavisd-new at NetBSD.org Received: from mail.netbsd.org ([127.0.0.1]) by localhost (mail.NetBSD.org [127.0.0.1]) (amavisd-new, port 10025) with ESMTP id oUyTVHrCPLSS for ; Thu, 5 May 2011 06:53:29 +0000 (UTC) Received: from cvs.netbsd.org (cvs.NetBSD.org [IPv6:2001:4f8:3:7:2e0:81ff:fe30:95bd]) by mail.netbsd.org (Postfix) with ESMTP id 7A30E14A165 for ; Thu, 5 May 2011 06:53:29 +0000 (UTC) Received: by cvs.netbsd.org (Postfix, from userid 500) id 36FED175DD; Thu, 5 May 2011 06:53:29 +0000 (UTC) MIME-Version: 1.0 Content-Disposition: inline Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="US-ASCII" Date: Thu, 5 May 2011 06:53:28 +0000 From: "Alistair G. Crooks" Subject: CVS commit: pkgsrc/sysutils/mkmemstick To: pkgsrc-changes@NetBSD.org Reply-To: agc@netbsd.org X-Mailer: log_accum Message-Id: <20110505065329.36FED175DD@cvs.netbsd.org> Sender: pkgsrc-changes-owner@NetBSD.org List-Id: pkgsrc-changes.NetBSD.org Precedence: bulk Module Name: pkgsrc Committed By: agc Date: Thu May 5 06:53:28 UTC 2011 Update of /cvsroot/pkgsrc/sysutils/mkmemstick In directory ivanova.netbsd.org:/tmp/cvs-serv15307 Log Message: Initial import of Jared Mcneill's script to create a memory stick from a NetBSD installation ISO. Further information can be found here: http://genericzero.wordpress.com/2009/08/01/install-netbsd-from-a-usb-memory-stick-the-easy-way/ memory stick the easy way I got tired of having to jump through hoops to install NetBSD on my Eee PC, so I wrote a simple script to take a NetBSD release ISO and convert it to an image that can be written to a USB memory stick. To use the script, simply feed it an ISO and tell it where to write the resulting image: $ sh mkmemstick.sh i386cd-5.0.1.iso i386memstick-5.0.1.img The resulting image can be written to a memory stick using dd(1): $ dd if=i386memstick-5.0.1.img of=/dev/sd0d Please note that this script depends on the sysutils/cdrtools package for extracting the contents of the release ISO. Hopefully this will be integrated with the build process so these images are available for those who cannot prepare an image due to lack of access to a NetBSD machine. Status: Vendor Tag: TNF Release Tags: pkgsrc-base N pkgsrc/sysutils/mkmemstick/DESCR N pkgsrc/sysutils/mkmemstick/PLIST N pkgsrc/sysutils/mkmemstick/Makefile N pkgsrc/sysutils/mkmemstick/distinfo N pkgsrc/sysutils/mkmemstick/files/mkmemstick.sh No conflicts created by this import