From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1Vczuo-0004VL-CD for mharc-grub-devel@gnu.org; Sun, 03 Nov 2013 10:48:38 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:50466) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Vczui-0004VB-9B for grub-devel@gnu.org; Sun, 03 Nov 2013 10:48:36 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Vczud-00065H-R3 for grub-devel@gnu.org; Sun, 03 Nov 2013 10:48:32 -0500 Received: from mail-ea0-x22a.google.com ([2a00:1450:4013:c01::22a]:40017) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Vczud-000659-GA for grub-devel@gnu.org; Sun, 03 Nov 2013 10:48:27 -0500 Received: by mail-ea0-f170.google.com with SMTP id q10so2455158eaj.1 for ; Sun, 03 Nov 2013 07:48:26 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:content-type; bh=saZFcqOTgXh7N8R1CF2YpCNIhtUqJU8KRcjdPn38Xec=; b=NU2FKqcoF4fo6sLYHmMx9UJvX6TpnV7hOl25/j+gNfw/OWlDWaAXQqo3g0bqDKai9g PCtaZTLMImxWjjd6ZXt/jMpq8dXrn+xzUHduyCT9cgJh7eX1S0PWSPgC9mCDLx6BxfIs x+Vs3+5rpx43rU0ID+Goyi/okc0BmFJHzjXTKyJZEL8ZCIvvDLQgqNtZ/2yihJdk8nna 4ckJ9uZGzUMtlUYlXAk4N/+oi4+Is4Hl3rQGV6QtLK6dC9jmpM8s7J9pD66OHwsbKvcV tHAq2SDM7Oc4qASyNr7oBEJyoFEkkHY584cWW7bgWJyApnUI2fIP+r9Irr0i03C7iudm GGKQ== X-Received: by 10.14.5.3 with SMTP id 3mr3257665eek.49.1383493706392; Sun, 03 Nov 2013 07:48:26 -0800 (PST) Received: from [192.168.1.16] (31-249.1-85.cust.bluewin.ch. [85.1.249.31]) by mx.google.com with ESMTPSA id z2sm22123903eee.7.2013.11.03.07.48.25 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Sun, 03 Nov 2013 07:48:25 -0800 (PST) Message-ID: <52767048.9050902@gmail.com> Date: Sun, 03 Nov 2013 16:48:24 +0100 From: =?UTF-8?B?VmxhZGltaXIgJ8+GLWNvZGVyL3BoY29kZXInIFNlcmJpbmVua28=?= User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20131005 Icedove/17.0.9 MIME-Version: 1.0 To: The development of GNU GRUB Subject: Re: How important is the MBR partition offset of grub-mkrescue ? References: <52764A2E.5050701@gmail.com> <27179651378991409308@scdbackup.webframe.org> In-Reply-To: <27179651378991409308@scdbackup.webframe.org> X-Enigmail-Version: 1.5.1 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="----enig2IPISMILBJVJGORVUGUTG" X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2a00:1450:4013:c01::22a Cc: Thomas Schmitt X-BeenThere: grub-devel@gnu.org X-Mailman-Version: 2.1.14 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: Sun, 03 Nov 2013 15:48:37 -0000 This is an OpenPGP/MIME signed message (RFC 4880 and 3156) ------enig2IPISMILBJVJGORVUGUTG Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On 03.11.2013 16:21, Thomas Schmitt wrote: > Hi, >=20 >> Isn't this HFS+ catalog sufficient for the problem at hand? >=20 > I see the misleading link to /dev/sdb1 with Debian 6 > and with a Debian 7 based distro. Dunno which udev rule > first looks at /dev/sdb for an ISO PVD and then links > ./by-label to the first partition of that device. >=20 > The filesystem itself is not necessarily mounted. > Actually, the /dev/sdb1 with start at LBA 1 cannot be mounted. > Neither as ISO nor as HFS+ (if that was present). An offset > of 512 bytes would spoil any address that works in an ISO image. >=20 If GPT is present it takes precedence over MBR contents. And GPT would point nicely to HFS+ >=20 >> Can we detect presence of this bug? >=20 > It is a bug of the perceiving system. Linux specific. Lifetime > at least for Debian 6 and 7, i'd say.=20 >=20 > Put a grub-mkrescue generated ISO on a USB stick (e.g. /dev/sdb), > replug, and see what your Linux has in /dev/disk/by-label. > (If it has such a directory, at all.) >=20 So it's bug in Debian, not in xorriso? >=20 >> Additional problem you don't mention: consumption of space by addition= al >> headers. We use xorriso for making floppies as well (and it works). >=20 > The feature is easy to add by user arguments of grub-mkrescue > anyway. No need for action inside grub-mkrescue. > I am mainly fishing for experience with pure GRUB2 boot setups > and Linux. Most distros let BIOS boot ISOLINUX. >=20 > Is there a distro which produces its ISO images with grub-mkrescue > and uses all or most of the BIOS, UEFI, and Apple features ? >=20 > As soon as i have a working ISO image, i can play with it. > I never learned to build operating systems or boot loaders myself. > It would be helpful to have a copy of the grub-mkrescue script > which was used for image production. I understand it evolves. >=20 It's in our git repo in util/ . There are 2 versions currently: sh one and C one. It wasn't decided yet as to whether we'll switch to C one. http://git.savannah.gnu.org/cgit/grub.git/tree/util?h=3Dphcoder/install_c= grub-mkrescue.in is sh one and grub-mkrescue.c is C one. >=20 >> Another solution is to have a hybrid ISO + FAT or ISO + HFS+ + FAT lay= outs. >=20 > But will this help against udev madness ? > FAT would make it look like most common USB stick. > Whatever. If i remember correctly, we still have open plans > about adding FAT to the super-hybrid layout. > See the very end of > http://bazaar.launchpad.net/~libburnia-team/libisofs/scdbackup/view/h= ead:/doc/boot_sectors.txt >=20 > (I see that i did not yet document the --grub2-boot-info > patching.) >=20 >=20 > Have a nice day :) >=20 > Thomas >=20 >=20 > _______________________________________________ > Grub-devel mailing list > Grub-devel@gnu.org > https://lists.gnu.org/mailman/listinfo/grub-devel >=20 ------enig2IPISMILBJVJGORVUGUTG 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.15 (GNU/Linux) Comment: Using GnuPG with Icedove - http://www.enigmail.net/ iF4EAREKAAYFAlJ2cEgACgkQNak7dOguQgk7JQEAkV2BaE/nUQ19Wy199RGWXLLI EXivomu+AHrwsxNTLrgA/33E4ehFt7v3h/l9a1hLyb24HGZZM26IhIMV0dPefvsV =pElF -----END PGP SIGNATURE----- ------enig2IPISMILBJVJGORVUGUTG--