From mboxrd@z Thu Jan 1 00:00:00 1970 From: "pelzflorian (Florian Pelz)" Subject: Re: ISO installer image: GPT versus MBR partitions Date: Thu, 25 Apr 2019 13:49:43 +0200 Message-ID: <20190425114943.el4reqk5364zpuok@pelzflorian.localdomain> References: <20190423214340.tfck3m4gaxtnweog@pelzflorian.localdomain> <9716677716869443995@scdbackup.webframe.org> <20190424091323.uyuxd3ib7zfw2cut@pelzflorian.localdomain> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([209.51.188.92]:38227) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hJcsw-0005py-AS for guix-devel@gnu.org; Thu, 25 Apr 2019 07:49:51 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hJcsv-0003il-8G for guix-devel@gnu.org; Thu, 25 Apr 2019 07:49:50 -0400 Content-Disposition: inline In-Reply-To: <20190424091323.uyuxd3ib7zfw2cut@pelzflorian.localdomain> List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: "Guix-devel" To: Thomas Schmitt Cc: bug-xorriso@gnu.org, guix-devel@gnu.org On Wed, Apr 24, 2019 at 11:13:23AM +0200, pelzflorian (Florian Pelz) wrot= e: > On Wed, Apr 24, 2019 at 08:56:57AM +0200, Thomas Schmitt wrote: > > Florian Pelz wrote > > > By the way, someone I know has a most peculiar machine called Lenov= o > > > Ideapad 100S which does not boot Guix, [=E2=80=A6] > >=20 > > If Guix does not show up in the boot manager, try a plain grub-mkresc= ue > > image that was made when GRUB was configured for both EFI variations: > > 32 bit x86 and 64 x86. > > My experiments are made when it is configured for those two plus PC-B= IOS. > > The EFI partition then has bootx64.efi and bootia32.efi in /efi/boot/= . > >=20 >=20 > Will do. >=20 The Lenovo Ideapad 100S=E2=80=99s owner tried a USB drive prepared with a purely 32-bit GRUB as per On Thu, Apr 25, 2019 at 10:18:08AM +0200, Thomas Schmitt wrote: > wget https://dev.lovelyhq.com/libburnia/libisoburn/raw/master/fronten= d/grub-mkrescue-sed.sh > chmod u+x grub-mkrescue-sed.sh >=20 > export MKRESCUE_SED_MODE=3Dmbr_hfs > export MKRESCUE_SED_IN_EFI_NO_PT=3Dyes >=20 > grub-mkrescue --xorriso=3D./grub-mkrescue-sed.sh \ > -iso_mbr_part_type 0x83 -partition_offset 16 \ -o mbrhfs.iso and it boots fine. I do not know and did not try yet how to configure GRUB to produce both 32-bit and 64-bit EFI. (Would putting both 32-bit and 64-bit bootefi files in EFI/Boot/ be a good idea for Guix ISOs in general, or could this lead to problems with 64-bit machines or lead to confusing boot selection screens?) A Debian 9.8.0 32-bit also boots fine and a DVD with an untreated Guix git master could not be booted but very likely due to an error with my external DVD drive (it often does not work) and not due to an error with the DVD. I will try a current git master Guix iso built for 32-bit next. If it does not work (guixsd-install-0.15.0.i686-linux.iso did not work), I will try the same with dd if=3D/dev/zero bs=3D1 count=3D16 seek=3D446 of=3D/dev/sdc2 Regards, Florian