From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1NxQxk-0002iw-LL for mharc-grub-devel@gnu.org; Thu, 01 Apr 2010 16:26:00 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NxQxj-0002iQ-20 for grub-devel@gnu.org; Thu, 01 Apr 2010 16:25:59 -0400 Received: from [140.186.70.92] (port=39538 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NxQxh-0002hu-SR for grub-devel@gnu.org; Thu, 01 Apr 2010 16:25:58 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1NxQxg-0004nH-GE for grub-devel@gnu.org; Thu, 01 Apr 2010 16:25:57 -0400 Received: from mail.gmx.net ([213.165.64.20]:38050) by eggs.gnu.org with smtp (Exim 4.69) (envelope-from ) id 1NxQxg-0004n7-47 for grub-devel@gnu.org; Thu, 01 Apr 2010 16:25:56 -0400 Received: (qmail invoked by alias); 01 Apr 2010 20:25:49 -0000 Received: from 165.126.46.212.adsl.ncore.de (HELO 192.168.2.69) [212.46.126.165] by mail.gmx.net (mp069) with SMTP; 01 Apr 2010 22:25:49 +0200 X-Authenticated: #2145628 X-Provags-ID: V01U2FsdGVkX1+LbVIQUJ+LPTzWwNxLPCEBaQgbI2pwuSJ0StXzx4 /yhXtAtmu/D1Sh Date: Thu, 01 Apr 2010 22:25:01 +0200 From: "Thomas Schmitt" To: grub-devel@gnu.org References: <4BB4E47C.1040709@gmail.com> In-Reply-To: <4BB4E47C.1040709@gmail.com> Message-Id: <105802396924361@192.168.2.69> X-Y-GMX-Trusted: 0 X-FuHaFi: 0.46000000000000002 X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. Subject: Re: How to prepare an ISO 9660 CD for booting via GRUB ? X-BeenThere: grub-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: The development of GNU GRUB List-Id: The development of GNU GRUB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 01 Apr 2010 20:25:59 -0000 Hi, > GRUB2 iso generated with grub-mkrescue is a bit special: it can be boot > as either CD, HDD or floppy. For CD boot it follows El Torito no > emulation boot. Ahum ... grub-1.98/util/grub-mkrescue.in : iso_uuid=$(date +%Y-%m-%d-%H-%M-%S-00) grub_mkisofs_arguments="${grub_mkisofs_arguments} --modification-date=$(echo ${iso_uuid} | sed -e s/-//g)" [...] grub_mkisofs_arguments="${grub_mkisofs_arguments} -b boot/grub/i386-pc/eltorito.img -boot-info-table \ --embedded-boot ${embed_img}" [...] grub-mkisofs ${grub_mkisofs_arguments} --protective-msdos-label -o ${output_image} -r ${iso9660_dir} ${source} Do i get it right that there are two boot files: - eltorito.img for CD - ${embed_img} for MBR style booting I don't see the -no-emul-boot option, though. Are you sure it is effectively used ? man mkisofs says -b is by default floppy emulation. For comparison, this is the official ISOLINUX production gesture which already works with xorriso: mkisofs -o output.iso \ -b isolinux/isolinux.bin -c isolinux/boot.cat \ -no-emul-boot -boot-load-size 4 -boot-info-table \ root-of-iso-tree So if there is indeed a -no-emul-boot option in grub-mkrescue then it seems to be mainly about implementing option --embedded-boot combinable with the El Torito option -b. These seem to be Robert's novelties: --modification-date Override modification date Probably ECMA-119, 8.4.27, Volume Modification Date and Time (BP 831 to 847 of Primary Volume Descriptor) --protective-msdos-label Patch a protective DOS-style label in the image What is this ? How does it look and at what address to write it ? > I'll happily discuss GRUB and > xorriso collaboration. Would you mind joining our IRC channel? I would prefer e-mail. Public or private. It's so nicely asynchronous. Have a nice day :) Thomas