From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1NzUfA-0005mB-Gt for mharc-grub-devel@gnu.org; Wed, 07 Apr 2010 08:47:20 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NzUf6-0005kP-WC for grub-devel@gnu.org; Wed, 07 Apr 2010 08:47:17 -0400 Received: from [140.186.70.92] (port=33941 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NzUf5-0005jL-Cx for grub-devel@gnu.org; Wed, 07 Apr 2010 08:47:16 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1NzUf3-00086k-KN for grub-devel@gnu.org; Wed, 07 Apr 2010 08:47:15 -0400 Received: from fg-out-1718.google.com ([72.14.220.152]:23046) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1NzUf3-00086Y-9h for grub-devel@gnu.org; Wed, 07 Apr 2010 08:47:13 -0400 Received: by fg-out-1718.google.com with SMTP id l26so387874fgb.12 for ; Wed, 07 Apr 2010 05:47:12 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from :user-agent:mime-version:to:subject:references:in-reply-to :x-enigmail-version:content-type; bh=6n/qsy3Wl8HCM0g66NKBEvtpjaBlVouTBUVUJ3mSQ8M=; b=u5ILmFaW7rUYiQAIY845+4JlgSLw2q1VPJ5pDHeSPCI+2rTRIlKWNUAg6bdHIQSdaf 5S1AE8SnMiAahTKFyIIimXtyGdKN3JP2dXcMdXgXLTtTC+w402/kuRvh76dfTbjBPGZ3 ss5VOOHZw93jCgvX1cDHXNIB7lEo2aVXIDiNM= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:x-enigmail-version:content-type; b=L6o36e8SXZMyNX59AKt5DIGuDfZa0IyQw8cdEAxjWCJvT9vT2dRi3Rc/7YGjXv5szf 77HkOzdSKU6vPCq6885GNK94IFRZyCttTdnBS2A7VlydhnAWZJ7ipwQ+W0UVBQrsHl4U axFFLP/GgxokJeD1UQ1kM7Wa11ZkYrS2YkZeE= Received: by 10.87.67.13 with SMTP id u13mr561171fgk.66.1270644432112; Wed, 07 Apr 2010 05:47:12 -0700 (PDT) Received: from debian.bg45.phnet (149-144.203-62.cust.bluewin.ch [62.203.144.149]) by mx.google.com with ESMTPS id 21sm251216fkx.10.2010.04.07.05.47.10 (version=TLSv1/SSLv3 cipher=RC4-MD5); Wed, 07 Apr 2010 05:47:10 -0700 (PDT) Message-ID: <4BBC7EC7.7010501@gmail.com> Date: Wed, 07 Apr 2010 14:47:03 +0200 From: =?UTF-8?B?VmxhZGltaXIgJ8+GLWNvZGVyL3BoY29kZXInIFNlcmJpbmVua28=?= User-Agent: Mozilla-Thunderbird 2.0.0.22 (X11/20091109) MIME-Version: 1.0 To: The development of GNU GRUB References: <4BB74D95.2020002@gmail.com> <105894334819100@192.168.2.69> In-Reply-To: <105894334819100@192.168.2.69> X-Enigmail-Version: 0.95.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="------------enig9C949AC9087642EB1C71726F" X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) 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: Wed, 07 Apr 2010 12:47:17 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig9C949AC9087642EB1C71726F Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Thomas Schmitt wrote: > Hi, > > i have roughly implemented the missing options > of grub-mkisofs in xorriso and am now comparing > the results. > > The ISO image by xorriso boots from CD and from > USB stick. Are there other media types which > would impose a further challenge ? > > =20 Floppy. (supported for image sizes smaller than 1.44 MiB) > If so: are there testers who would be willing > to try my ISO image (1.9 MB) on such media ? > > > ------------------------------------------------ > > It seems that grub-mkisofs does not comply much > to the partition table prescription given by > Vladimir. > > =20 Yes, grub-mkisofs code is a stub. What I described is a correct table > The image made by grub-mkisofs has 1550336 bytes > =3D 757 * 2048 , 3028 * 512. > It bears as partition table: > > 0000660 0080 > 0000700 0000 00cd 0000 0001 0000 ffff ffff 0000 > 0000720 0000 0000 0000 0000 0000 0000 0000 0000 > * > 0000760 0000 0000 0000 0000 0000 0000 0000 aa55 > > (od -x regrettably produces big-endian 16 bit. > One has to swap: 00cd is actually cd 00 .) > > > The xorriso image is currently a bit larger > (see below). > > 1966080 bytes > =3D 960 * 2048 , 3840 * 2048 > xorriso -toc reports: > ISO session : 1 , 32 , 754s , ISOIMAGE > > Partition table: > > Image size is 32 + 754 =3D 786 * 2048 =3D 3144 * 512 > =3D 0x0C48 > I insert 0x00000C47 as end LBA (=3D 0c47 0000). > End C/H/S is c0,h49,s57 (=3D 31xx 0039). > > 0000660 0080 > 0000700 0002 31cd 0039 0001 0000 0c47 0000 0000 > 0000720 0000 0000 0000 0000 0000 0000 0000 0000 > * > 0000760 0000 0000 0000 0000 0000 0000 0000 aa55 > > Vladimir: does that look ok for you ? > Is 0x0C47 correct to depict image size 0x0C48 ? > =20 Yes > Is my C/H/S computation ok ? > =20 It looks fine > ------------------------------------------------- > > xorriso produces a larger image because of 64 kB > multi-session preparations, of 300 kB end padding > and of padding to full 32 kB blocks. > Most of this overhead can already be prevented. > I will see whether i can strip the output to > its net size of 754 sectors. > > Nevertheless, neither the image of grub-mkisofs > nor of xorriso fit on a vanilla floppy disk. > =20 We probably need a way to choose a subset of modules for floppies > =20 > Is it worth to sacrifice multi-session history > capabilities in order to save 64 kB ? > (If i do not duplicate the ISO superblock then > i cannot mount older sessions of a multi-session > ISO image.) > > =20 Perhaps as an option, not as default. > ------------------------------------------------ > > Compatibility question: > > Is the help text of grub-mkisofs > --protective-msdos-label Patch a protective DOS-style label in the= image > essential to any frontend of grub-mkisofs ? > > I would prefer to print something more neutral. > Like: > --protective-msdos-label Patch System Area by partition table > Any DOS connotation should be obvious by the > option name already. > > =20 msdos is the name of this partition label > ------------------------------------------------- > > > Have a nice day :) > > Thomas > > > > _______________________________________________ > Grub-devel mailing list > Grub-devel@gnu.org > http://lists.gnu.org/mailman/listinfo/grub-devel > > =20 --=20 Regards Vladimir '=CF=86-coder/phcoder' Serbinenko --------------enig9C949AC9087642EB1C71726F Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iF4EAREKAAYFAku8fs0ACgkQNak7dOguQgmbDAD9EkWoQbOd1yl80m9x7pHbIiCq QYRn+Jv/eFkZLQn67bQA/1KtM+Rn84ZegZZ3sGupZTEbRsLzSuW0n9bPu3fbJG9w =kd0a -----END PGP SIGNATURE----- --------------enig9C949AC9087642EB1C71726F--