From owner-freebsd-hackers@FreeBSD.ORG Fri Mar 23 00:41:17 2012 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 82C041065675 for ; Fri, 23 Mar 2012 00:41:17 +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 329998FC12 for ; Fri, 23 Mar 2012 00:41:16 +0000 (UTC) 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 9E6955C22 for ; Fri, 23 Mar 2012 10:54:49 +1000 (EST) Message-ID: <4F6BC6AB.30709@herveybayaustralia.com.au> Date: Fri, 23 Mar 2012 10:41:15 +1000 From: Da Rock User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:7.0.1) Gecko/20111109 Thunderbird/7.0.1 MIME-Version: 1.0 To: freebsd-hackers@freebsd.org References: <20120322173717.GA54005@onelab2.iet.unipi.it> <10033788658207@192.168.2.69> In-Reply-To: <10033788658207@192.168.2.69> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit 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: Fri, 23 Mar 2012 00:41:17 -0000 On 03/23/12 04:46, Thomas Schmitt wrote: > Hi, > >>> The trick is called "isohybrid". > Luigi Rizzo wrote: >> interesting. It does work for me indeed. > So why not for Da Rock ? Starting to feel left out here :) I tried with your flags to dd (as opposed to those on Ubuntu - bs=1m - not that I thought it would make much diff), and it got as far as the last time. It shows isolinux 4.04, blah blah, and a blinking cursor. It goes no further than that, which I why I commented that it seemed an unlikely solution. The system is an Acer AspireOne Netbook D255. I'm using an i386 image because its only an Atom. I did test a amd64 system and it worked though... hmmm. I wonder if they mixed up their images? That'd be a funny cock-up :D > > >> And it might be a nice trick for our images too, so we don't >> have to build a memstick and an ISO image... > I would be happy to help with that. > I am the developer of program xorriso which in the role of mkisofs > has composed that Ubuntu image. My knowlege is only about pointing BIOS > to the boot loader start programs, not about those boot systems themselves. > > A while ago i exercised the most simple case of > http://wiki.freebsd.org/AvgLiveCD > with the mkisofs emulation of xorriso. It booted. > > An MBR can be inserted easily by mkisofs option -G. > isohybrid demands to patch that MBR with the LBA of the boot image > and to set up the DOS partition table. GRUB2 demands only to set up > the partition table. (Special xorrisofs options get employed.) > > What would a FreeBSD bootloader MBR need to know about the data in > the ISO image to start up and handle it like a read-only hard disk ? > Do programs of the first boot stages need to know their own LBA in > the image resp. partition ? > > The El Torito and MBR equipment of GRUB2 can provide the same functionality > as ISOLINUX with isohybrid. GRUB2 script grub-mkrescue demonstrates this. > I understand Debian GNU/kFreeBSD boots via El Torito and GRUB2. But it > makes no use of the opportunity to have an MBR too. > I boot my own FreeBSD 8-STABLE from hard disk via MBR, GRUB2 and a > chainloaded FreeBSD boot loader. > > > 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"