From owner-freebsd-stable@FreeBSD.ORG Sun Jul 11 15:43:52 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 791A7106566B for ; Sun, 11 Jul 2010 15:43:52 +0000 (UTC) (envelope-from zkolic@sbb.rs) Received: from smtp1.sbb.rs (smtp1.sbb.rs [89.216.2.33]) by mx1.freebsd.org (Postfix) with ESMTP id E48098FC14 for ; Sun, 11 Jul 2010 15:43:51 +0000 (UTC) Received: from localhost (cable-94-189-181-102.dynamic.sbb.rs [94.189.181.102]) by smtp1.sbb.rs (8.14.0/8.14.0) with ESMTP id o6BFhnbg030902 for ; Sun, 11 Jul 2010 17:43:49 +0200 Date: Sun, 11 Jul 2010 17:43:49 +0200 From: Zoran Kolic To: freebsd-stable@freebsd.org Message-ID: <20100711154349.GA1247@pilgrim.sbb.rs> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline X-SMTP-Vilter-Version: 1.3.2 X-SBB-Virus-Status: clean X-SBB-Spam-Score: -2.0 Subject: dmg handling 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: Sun, 11 Jul 2010 15:43:52 -0000 Howdy! I got a file made on mac, sized at 142 mb and with dmg extension. It is a dump of 4 gb SD card with firmware upgrade files. File says: disk1s1.dmg: VAX COFF executable not stripped So, compressed. The file system on that original card is ext3. Linux people use dmg2img utility to decompress and then mount it with options like: mount -o loop -t hfsplus image dir If correct, I could try to bunzip2 it first, then rsync to sheevaplug node (ubuntu on it) and mount finally. The final step would be to write that ima- ge to new SD card and use it to upgrade the gadget. I was sure that simple dd would suffice, but more I read, more I see it's wrong. I also assume that I cannot write that image to smaller, 2 gb SD card. Any idea what to do in this situation? Best regards Zoran