Received: from list by lists.gnu.org with archive (Exim 4.71) id 1dNGv1-0003Ut-7s for mharc-grub-devel@gnu.org; Tue, 20 Jun 2017 07:01:59 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:50656) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dNGuz-0003Uk-Hd for grub-devel@gnu.org; Tue, 20 Jun 2017 07:01:58 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dNGup-0002xs-Vt for grub-devel@gnu.org; Tue, 20 Jun 2017 07:01:57 -0400 Received: from mout.gmx.net ([212.227.17.20]:65115) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dNGup-0002xT-Lj for grub-devel@gnu.org; Tue, 20 Jun 2017 07:01:47 -0400 Received: from scdbackup.webframe.org ([87.167.207.232]) by mail.gmx.com (mrgmx101 [212.227.17.168]) with ESMTPSA (Nemesis) id 0LjeWC-1duPo80CHw-00bY8D; Tue, 20 Jun 2017 13:01:36 +0200 Date: Tue, 20 Jun 2017 13:01:53 +0200 From: "Thomas Schmitt" To: grub-devel@gnu.org Subject: Problems with recent Debian GNU/Hurd ISO GRUB menu graphics Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit Cc: sthibault@debian.org Message-Id: <2069177045238142622@scdbackup.webframe.org> X-Provags-ID: V03:K0:8+ZqhMnazTf/uC8GAeSydMIL5QZJFjvhCsX/MxHMxD/2aTkigHz g7pgQP3f8PLBbb38Kx+Apc143NLNiLz5wdLW98kaV6I4tcGZoB576IA6pS/MeMQPJ0voWPs zPRbRW4dAz7lRX2v1Ft5aHx6BAKMJfcFZr/m5JvqSlPxsSxOPjViZn3FifqfQCoaCXnZT/t YvD3Qo6pjjVgFtk2pPzEw== X-UI-Out-Filterresults: notjunk:1;V01:K0:D84UItj/NBs=:ztNf7RkD1a4+Vwa2UEcGOI PvMboQLveOaBaf61n62Tzv/uTiVmpLVww7n9Q7HoqDNzG1rLJj2sR2y1JRoAIDsQQcy1StC53 B7psgXmZ7zHA0Vx7lVI3AxiG7+wQHblfkuBC6zD/I4ILRVITh3gVyQuUf1bdco3umAhxnQsuY /9D8B6yd0gliOxHEJeiVGJ65HpsoR8N6ENHqoO0GjKeg0TAVLEmnnMXB61MJ0RFPBXFaW9Asm y2S2fXPSJ+vapB+VrayZFLievdB0SRUK/jpqjF2eFiBe1jxrLTBzfqzQ5CcNw3rKSheASS8dE Vpjv0yPN5xspPWLmhCMMoPm8LFyY/1QvSl5mtgf29roy6PsMs0jtH2wT7MinXFXlvR7RD0TyD bvPT0rrDtET/7MutdHmbA8iFNuTZgptEG/zMrNb77tpx3rO2Al5ORRN9QrpxDCY7XA1AnwzPO n8Imh1RZdHfYvAKX4wpAVtIWqYMAgSUaX0xfu1T9J0LSGG6KMOOmpO02nIw3Xpfb7UdZVuKOf dj+ZbOaJiv1KtX7Z79WNUSB0ajmsFnUUYzrb5m3Kn2SuCWv056P+11ft68WDK3uU1+vF1nyBj YFy3J8tg2DPLFzKteZkuDWhdfH+IJTqdc0RlSw3uyYawL18rgdPN08jknbCPEy2/XwPfLrf8d k0ehoQkPeUc0u6chafIUJ/l85skk23ugWg/vtpDPJU604GZQmKdKhzpyk7buKEcVjtcc6Fx2H yyP6Mv+TNxzmiHHN1miiCr9BiS7zrWiTpDhMBOj+uDDw0Qs5iNVr5XPzGndE9SH78exZ0vA/i gBpB4fF X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 212.227.17.20 X-BeenThere: grub-devel@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: The development of GNU GRUB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 20 Jun 2017 11:01:58 -0000 Hi, i am discussing with Samuel Thibault two riddling issues of the new Debian GNU/Hurd ISOs, e.g. this one of about 160 MB: http://ftp.ports.debian.org/debian-ports-cd/hurd-i386/debian-hurd-2017/debian-hurd-2017-i386-NETINST-1.iso Those ISOs are among the very few which use GRUB for booting via BIOS. So i think the problems are worth to be discussed here. I assume that Debian maintainers of GRUB are around, too. My discussion with Samuel begins at: https://lists.debian.org/debian-hurd/2017/06/msg00019.html ---------------------------------------------------------------------- Issue 1: There is an MBR with probably x86 code after byte 446 where normally the partition table is located. This yields of course weird results with partition editors and would expose the code for being damaged by editors. The MBR is a 1:1 copy of what my Debian 8 amd64 has as /usr/lib/grub/i386-pc/boot.img It gets appended a grub-mkimage result in line 53 of https://anonscm.debian.org/cgit/d-i/debian-installer.git/tree/build/util/x86-image The concatenated result is then submitted to xorrisofs by option -G without any options to write a partition table. Questions: - Is the state of i386-pc/boot.img intentional ? If yes: - With what use case is it useful to have an MBR with garbled partition table ? - Are the bytes 446 to 509 indeed intended to be executed as x86 code ? If yes: - Are there other MBR templates which do not have code in bytes 446 to 509 but would nevertheless be suitable for getting appended a result from grub-mkimage ? If no: - What might have went wrong with the production of i386-pc/boot.img ? ---------------------------------------------------------------------- Issue 2: The GRUB menu of the ISOs when started on Debian 8 amd64 by qemu-system-i386 -enable-kvm -m 1024 -hda debian-hurd-2017-i386-NETINST-1.iso appears with wrong color, pushed up by about 30 percent of image size, and rolled over horizontally by about 45 percent. Same effect with qemu option -cdrom rather than -hda. I can post an image if this cannot be reproduced easily. The first arrow key press repairs the graphics, but the second arrow key press brings it back into wrong state. So every second menu choice is visible and every other item has to be chosen blindly. (A nice trick is to navigate to the last item and to press arrow once in vain. When moving up, the previously bad screens become good and the good ones go bad.) The problem with qemu + SeaBIOS seems well reproducible. But only some versions of OVMF seem not to work well with the GRUB software of the Debian 9.0.0 amd64 netinst ISO. Samuel posted a PNG of a garbled menu which he gets from his local OVMF, which the debian-hurd mailing list seems to have rejected. It's not to see in the archives, i fear. My local OVMF shows the menu ok. Questions: - Is it known that GRUB graphics and SeaBIOS or OVMF do not go well together ? - Any ideas how to give the GNU/Hurd ISO a flawlessly working menu on SeaBIOS ? (VMs are the main installation target of GNU/Hurd.) ---------------------------------------------------------------------- Have a nice day :) Thomas