From owner-freebsd-hackers@FreeBSD.ORG Wed Mar 21 08:44:16 2012 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 D77A91065675 for ; Wed, 21 Mar 2012 08:44:16 +0000 (UTC) (envelope-from freebsd-hackers@herveybayaustralia.com.au) Received: from mail.unitedinsong.com.au (mail.unitedinsong.com.au [150.101.178.33]) by mx1.freebsd.org (Postfix) with ESMTP id 504B38FC2C for ; Wed, 21 Mar 2012 08:44:15 +0000 (UTC) Received: from mail.unitedinsong.com.au (bell.herveybayaustralia.com.au [192.168.0.40]) by mail.unitedinsong.com.au (Postfix) with ESMTP id 1B6E35C2E for ; Wed, 21 Mar 2012 18:57:42 +1000 (EST) Received: from laptop1.herveybayaustralia.com.au (laptop1.herveybayaustralia.com.au [192.168.0.182]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by mail.unitedinsong.com.au (Postfix) with ESMTPSA id A4E185C22 for ; Wed, 21 Mar 2012 18:57:41 +1000 (EST) Message-ID: <4F699391.9070804@herveybayaustralia.com.au> Date: Wed, 21 Mar 2012 18:38:41 +1000 From: Da Rock <9Phackers@herveybayaustralia.com.au> User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:7.0.1) Gecko/20111109 Thunderbird/7.0.1 MIME-Version: 1.0 To: "hackers@freebsd.org" Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Mailman-Approved-At: Wed, 21 Mar 2012 11:22:53 +0000 Cc: Subject: iso2flash img X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: "hackers@freebsd.org" List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 21 Mar 2012 08:44:17 -0000 I'm doing some work for a client and I need to get a copy of ubuntu to demo for them. I can only use a usb disk (no cdrom), and unfortunately the guys at ubuntu are too lazy to create a flash img themselves and expect you to do it yourself. Of course the tools to do this are only available on Winblows and Mac (hdiutils? I think). They have instructions on the site - which of course are useless to me being a FreeBSD freak ;) I googled a bit and found an old post here from Luigi (http://osdir.com/ml/freebsd-hackers/2008-11/msg00245.html) which had a script to do this, but I'm having trouble with it- is anyone familiar with this? I'm on a bit of a deadline... and yes, I did install syslinux port. Output: ../iso2flash ubuntu-11.10-desktop-i386.iso usage: realpath [-q] path [...] type <> tree /Downloads/ubuntu-11.10-desktop-i386.iso> image <> Extract files from /usr/home//Downloads/ubuntu-11.10-desktop-i386.iso into /usr/home//Downloads/ubuntu-11.10-desktop-i386.iso.tree chmod: /usr/home//Downloads/ubuntu-11.10-desktop-i386.iso.tree: No such file or directory total 6 drwxr-xr-x 2 512 Mar 21 18:22 . drwxr-xr-x 6 2560 Mar 21 18:22 .. total 2500 drwxr-xr-x 11 512 Mar 21 18:23 . drwxr-xr-x 6 2560 Mar 21 18:22 .. drwx------ 2 512 Oct 13 01:15 .disk -r-------- 1 225 Oct 13 01:15 README.diskdefines -r-------- 1 143 Oct 13 01:15 autorun.inf drwx------ 3 512 Oct 13 01:15 boot drwx------ 2 512 Oct 13 01:15 casper drwx------ 3 512 Oct 13 01:15 dists drwx------ 2 512 Oct 13 01:15 install drwx------ 2 2560 Oct 13 01:15 isolinux -r-------- 1 4418 Oct 13 01:15 md5sum.txt drwx------ 2 512 Oct 13 01:15 pics drwx------ 4 512 Oct 13 01:15 pool drwx------ 2 512 Oct 13 01:15 preseed -r-------- 1 2491552 Oct 13 01:15 wubi.exe image size is 711676 kb guess type 8+0 records in 8+0 records out 1048576 bytes transferred in 0.005349 secs (196035057 bytes/sec) newfs_msdos: /dev/711676: No such file or directory syslinux: invalid media signature (not a FAT filesystem?) moving boot code mv: rename /usr/home//Downloads/ubuntu-11.10-desktop-i386.iso.tree/isolinux.cfg to /usr/home//Downloads/ubuntu-11.10-desktop-i386.iso.tree/syslinux.cfg: No such file or directory moving files... init :: non DOS media Cannot initialize '::' Bad target ::/ init :: non DOS media Cannot initialize '::' I'm going to keep on investigating, I tried this on 8.2 and 9.0 with no luck. I intend to attempt a usb install of FreeBSD at some point (on the todo list for some time now), but at this point its still a bit of a mystery; so I think I may have some trouble understanding this atm. A little instruction would go a long way if someone could provide some pointers. Cheers