Date: Fri, 23 Mar 2012 10:41:15 +1000 From: Da Rock <freebsd-hackers@herveybayaustralia.com.au> To: freebsd-hackers@freebsd.org Subject: Re: iso2flash img Message-ID: <4F6BC6AB.30709@herveybayaustralia.com.au> In-Reply-To: <10033788658207@192.168.2.69> References: <20120322173717.GA54005@onelab2.iet.unipi.it> <10033788658207@192.168.2.69>
next in thread | previous in thread | raw e-mail | index | archive | help
On 03/23/12 04:46, Thomas Schmitt wrote: > Hi, > >>> The trick is called "isohybrid". > Luigi Rizzo<rizzo@iet.unipi.it> 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"
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4F6BC6AB.30709>