From owner-freebsd-hackers@FreeBSD.ORG Thu Mar 22 16:41:52 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 EDD1E106564A for ; Thu, 22 Mar 2012 16:41:52 +0000 (UTC) (envelope-from scdbackup@gmx.net) Received: from mailout-de.gmx.net (mailout-de.gmx.net [213.165.64.22]) by mx1.freebsd.org (Postfix) with SMTP id 62E2C8FC15 for ; Thu, 22 Mar 2012 16:41:51 +0000 (UTC) Received: (qmail invoked by alias); 22 Mar 2012 16:41:50 -0000 Received: from 165.126.46.212.adsl.ncore.de (HELO 192.168.2.69) [212.46.126.165] by mail.gmx.net (mp034) with SMTP; 22 Mar 2012 17:41:50 +0100 X-Authenticated: #2145628 X-Provags-ID: V01U2FsdGVkX19fpTg1BXVfxc9hW8FdiAphV/VmN2K4LnrRvMnM1S wXQIOWMC17MuCN Date: Thu, 22 Mar 2012 17:42:27 +0100 From: "Thomas Schmitt" To: freebsd-hackers@freebsd.org References: <4F6A8C4B.2040605@herveybayaustralia.com.au> In-Reply-To: <4F6A8C4B.2040605@herveybayaustralia.com.au> Message-Id: <10033882394537@192.168.2.69> X-Y-GMX-Trusted: 0 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 16:41:53 -0000 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. 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