From owner-freebsd-hackers@FreeBSD.ORG Thu Mar 22 17:18:35 2012 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 551781065674 for ; Thu, 22 Mar 2012 17:18:35 +0000 (UTC) (envelope-from luigi@onelab2.iet.unipi.it) Received: from onelab2.iet.unipi.it (onelab2.iet.unipi.it [131.114.59.238]) by mx1.freebsd.org (Postfix) with ESMTP id 120798FC16 for ; Thu, 22 Mar 2012 17:18:34 +0000 (UTC) Received: by onelab2.iet.unipi.it (Postfix, from userid 275) id 9D2FF7300B; Thu, 22 Mar 2012 18:37:17 +0100 (CET) Date: Thu, 22 Mar 2012 18:37:17 +0100 From: Luigi Rizzo To: Thomas Schmitt Message-ID: <20120322173717.GA54005@onelab2.iet.unipi.it> References: <4F6A8C4B.2040605@herveybayaustralia.com.au> <10033882394537@192.168.2.69> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <10033882394537@192.168.2.69> User-Agent: Mutt/1.4.2.3i Cc: freebsd-hackers@freebsd.org Subject: Re: iso2flash img X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 22 Mar 2012 17:18:35 -0000 On Thu, Mar 22, 2012 at 05:42:27PM +0100, Thomas Schmitt wrote: > Hi, > > Vitaly Magerya : > > > you might want to try to dd the iso image directly onto USB instead; there > > > where talks that Ubuntu would support this starting at 11.10. > > Da Rock : > > Nada. Tried that and it didn't work. I'm not sure how that would work given > > that it uses isolinux to boot- ergo needs a cd to load the kernel. Maybe > > some way to determine the install media? > > The trick is called "isohybrid". > It works by a DOS MBR which starts the same executable boot image > that is pointed to by the El Torito boot catalog. > If the ISO is on a hard disk (or alike), then the BIOS boots via MBR. > If it is on an optical medium, then the BIOS boots via El Torito. interesting. It does work for me indeed. And it might be a nice trick for our images too, so we don't have to build a memstick and an ISO image... cheers luigi > The question is rather why it does not work for you. > > I downloaded > ubuntu-11.10-desktop-i386.iso > from > http://www.ubuntu.com/download/ubuntu/download > and put it onto an USB stick (by a Linux machine, but that should not matter) > dd of=/dev/sdc if=ubuntu-11.10-desktop-i386.iso bs=2048 > Note that /dev/sdc is not the first partition but the whole USB stick. > > This stick boots on amd64 hardware. > After some waiting with sparse iconography i get to the question > whether i want to try or to install. I choose to try and get a > graphical desktop. From the icon list i start Firefox and google > a bit via my internet router. All seems well. > > > On FreeBSD, GEOM complains about the DOS partition alignment. > Partition 1 starts at block 64. > fdisk -p /dev/da0 > # /dev/da0 > g c243 h255 s63 > p 1 0x17 64 1423896 > a 1 > Nevertheless these two commands work and open access to the image content: > mount -t cd9660 /dev/da0 /mnt > mount -t cd9660 /dev/da0s1 /mnt > (The ISO has two superblocks and two directory trees.) > > > Does your hardware boot from USB stick at all ? > Is its firmware (U)EFI rather than BIOS ? > > > Have a nice day :) > > Thomas > > _______________________________________________ > freebsd-hackers@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-hackers > To unsubscribe, send any mail to "freebsd-hackers-unsubscribe@freebsd.org"