Re: debian-installer grub-efi test image
On 5/2/19 5:35 PM, Meelis Roos wrote: > I test-booted it on RX2660 (booted into installer fine) and RX1600 (grub > loads, kernel starting reboots as do most kernels on RX1600, RX1620 and > RX2800). Thanks, another independent confirmation. I did already verify it myself, too. > Did not try how it installs grub (yet) because I did not have a vacant disk > there. No worries, this is known to work. Adrian -- .''`. John Paul Adrian Glaubitz : :' : Debian Developer - glaub...@debian.org `. `' Freie Universitaet Berlin - glaub...@physik.fu-berlin.de `-GPG: 62FF 8A75 84E0 2956 9546 0006 7426 3B37 F5B5 F913
Re: debian-installer grub-efi test image
I have just created the first test image for debian-installer on ia64 with grub-efi as a bootloader instead of elilo. The changes have not been committed to git yet but a test image can be found at [1]. Could someone test whether this image does something useful for them? For anyone interested, the patches for d-i and debian-cd are attached. Adrian [1] https://cdimage.debian.org/cdimage/ports/grub-test/ I test-booted it on RX2660 (booted into installer fine) and RX1600 (grub loads, kernel starting reboots as do most kernels on RX1600, RX1620 and RX2800). Did not try how it installs grub (yet) because I did not have a vacant disk there. -- Meelis Roos
Re: debian-installer grub-efi test image
On 4/30/19 18:19, John Paul Adrian Glaubitz wrote: On 4/30/19 6:13 PM, Pedro Miguel Justo wrote: And setup will proceed correctly. So, this is what mean by “replacing the executable”. In a nutshell replacing bootnetia64.efi with bootnetia64.efi and keep everything else in the tarball. This pretty much sounds to me that the GRUB EFI executable from the netboot image is really just to be used for netboots and not local boots using your particular hack. I'd back that. To be sure one could check the TFTP requests the machine is emitting after starting `bootnetia64.efi`: The sequence for e.g powerpc-ieee1275 is: ``` RRQ from 172.16.2.100 filename /boot/grub/powerpc-ieee1275/normal.mod RRQ from 172.16.2.100 filename /boot/grub/powerpc-ieee1275/crypto.mod RRQ from 172.16.2.100 filename /boot/grub/powerpc-ieee1275/terminal.mod RRQ from 172.16.2.100 filename /boot/grub/powerpc-ieee1275/gettext.mod RRQ from 172.16.2.100 filename /boot/grub/powerpc-ieee1275/gzio.mod RRQ from 172.16.2.100 filename /boot/grub/powerpc-ieee1275/command.lst RRQ from 172.16.2.100 filename /boot/grub/powerpc-ieee1275/fs.lst RRQ from 172.16.2.100 filename /boot/grub/powerpc-ieee1275/crypto.lst RRQ from 172.16.2.100 filename /boot/grub/powerpc-ieee1275/terminal.lst RRQ from 172.16.2.100 filename /boot/grub/grub.cfg ``` ... though I'm not sure if `bootnetia64.efi` will behave differently if not loaded from network. Cheers, Frank
RE: debian-installer grub-efi test image
Hi Adrian. First of all, I just tested the CD based installation and it seems to be working fine. I didn’t install all the way, but I got to the point where setup is running, and media is detected. I don’t think going forward from this point is relevant just for the purpose of testing ELILO vs GRUB. > Okay, I wasn't aware that you were going this way. Please always include your individual steps of your installation procedure that I understand what you did. In a nutshell, I untar-ed the netinstall tarball into my EFI partition: Directory of: fs0:\EFI\debian\debian-installer\ia64 04/28/19 07:01p 4,096 . 04/28/19 07:01p 4,096 .. 04/19/19 08:45p 778,240 bootnetia64.efi 04/19/19 08:45p 4,096 grub 04/19/19 08:45p 28,584,558 initrd.gz 04/19/19 08:45p8,035,889 linux 3 File(s) 37,398,687 bytes 3 Dir(s) Then I try to execute the install. fs0:\EFI\debian\debian-installer\ia64> bootnetia64.efi The result is: GNU GRUB version 2.02+dfsg1-17 Minimal BASH-like line editing is supported. For the first word, TAB lists possible command completions. Anywhere else TAB lists possible device or file completions. grub> ls (hd0) (cd0) grub> > What did you replace the EFI executable with? I'm not sure I understand what > you mean. I replace the "bootnetia64.efi" that came in the debian-install tarball with the "grubia64.efi" that is put into the EFI partition when you install the OS. If you run that grubia64.efi instead, then the output is: GNU GRUB version 2.02+dfsg1-17 Minimal BASH-like line editing is supported. For the first word, TAB lists possible command completions. Anywhere else TAB lists possible device or file completions. ESC at any time exits. grub> ls (hd0) (hd0,gpt3) (hd0,gpt2) (hd0,gpt1) (cd0) grub> So, from that point on I can grub> configfile (hd0,gpt1)/efi/debian/debian-installer/ia64/grub/grub.cfg And setup will proceed correctly. So, this is what mean by “replacing the executable”. In a nutshell replacing bootnetia64.efi with bootnetia64.efi and keep everything else in the tarball. _ Pedro
Re: debian-installer grub-efi test image
On 4/30/19 6:13 PM, Pedro Miguel Justo wrote: > First of all, I just tested the CD based installation and it seems to be > working fine. I didn’t install all the way, but I got to the point where > setup is running, and media is detected. I don’t think going forward from > this point is relevant just for the purpose of testing ELILO vs GRUB. Okay, thanks for the confirmation. I will commit the changes to debian-installer then. >> Okay, I wasn't aware that you were going this way. Please always include >> your > individual steps of your installation procedure that I understand what you > did. > > (snip) >> What did you replace the EFI executable with? I'm not sure I understand what >> you mean. > > I replace the "bootnetia64.efi" that came in the debian-install tarball with > the "grubia64.efi" that is put into the EFI partition when you install the > OS. If you run that grubia64.efi instead, then the output is: > (snip) > > And setup will proceed correctly. So, this is what mean by “replacing the > executable”. In a nutshell replacing bootnetia64.efi with bootnetia64.efi and > keep everything else in the tarball. This pretty much sounds to me that the GRUB EFI executable from the netboot image is really just to be used for netboots and not local boots using your particular hack. Adrian -- .''`. John Paul Adrian Glaubitz : :' : Debian Developer - glaub...@debian.org `. `' Freie Universitaet Berlin - glaub...@physik.fu-berlin.de `-GPG: 62FF 8A75 84E0 2956 9546 0006 7426 3B37 F5B5 F913
Re: debian-installer grub-efi test image
On 4/30/19 4:15 PM, Pedro Miguel Justo wrote: > Fair enough. This is what I have been doing since forever with ELILO tho. It > is very convenient because I can just transfer the package to the EFI > partition and remote-start it, all via iLO. Since ELILO is (was) all > path-relative, everything works irrespective of where the bundle got > extracted to. Okay, I wasn't aware that you were going this way. Please always include your individual steps of your installation procedure that I understand what you did. > Again it seems as the GRUB version that comes with netinst is incapable of > parsing the GPT partition scheme. Once I replaced the EFI executable alone, > everything worked and I was able to bootstrap the setup process. I do realize > that the reason the original executable may not be parsing the GPT is because > it might not be finding the modules present in the grub/ia64-efi folder. What did you replace the EFI executable with? I'm not sure I understand what you mean. > Meanwhile I also tried the latest CD on my Alpha LX164 and I got stuck very > early in setup. It appears as the CMD64x module is not present in the CD > Debian-installer. This is the EDI controller on many EV56 motherboards. > Without it setup can’t recognize the disk or the cdrom. Please don't post Alpha-related stuff to the ia64 list. Also, I would like to solve one problem after another as debugging debian-installer issues with very time-consuming. Adrian -- .''`. John Paul Adrian Glaubitz : :' : Debian Developer - glaub...@debian.org `. `' Freie Universitaet Berlin - glaub...@physik.fu-berlin.de `-GPG: 62FF 8A75 84E0 2956 9546 0006 7426 3B37 F5B5 F913
Re: debian-installer grub-efi test image
Hi Pedro! On 4/28/19 9:55 PM, Pedro Miguel Justo wrote: > Either I am doing something wrong, or this doesn’t seem to be quite working. > > When I run bootnetia64.efi from the debian-installer package I just get the > GRUB prompt – no config was loaded. I can’t even manually load one with > “configfile” since it doesn’t seem to be able to parse the partition table. Did you actually set up a proper TFTP server for installation? You cannot just run bootnetia64.efi without anything else. You need to serve the whole netboot directory through TFTP so that the EFI loader can load the remaining components through TFTP. See: https://www.debian.org/releases/wheezy/ia64/ch05s01.html.en#boot-tftp Adrian -- .''`. John Paul Adrian Glaubitz : :' : Debian Developer - glaub...@debian.org `. `' Freie Universitaet Berlin - glaub...@physik.fu-berlin.de `-GPG: 62FF 8A75 84E0 2956 9546 0006 7426 3B37 F5B5 F913
RE: debian-installer grub-efi test image
That’s fine. I can test the CD image tomorrow – I’ll have physical access to the box. _ Pedro From: John Paul Adrian Glaubitz Sent: Sunday, April 28, 2019 11:37:08 AM To: Pedro Miguel Justo Cc: debian-ia64 Subject: Re: debian-installer grub-efi test image On 4/28/19 8:11 PM, Pedro Miguel Justo wrote: > Did you generate the netboot images as well? To test things remotely (iLO) it > is generally more convenient to use netboot that cd-image. The netboot images are normally built within the debian-installer package built. I'm currently primarily interested in tests of the CD image so I can commit the changes without fearing to break anything. However, I uploaded the netboot image into the grub-test directory [1]. Adrian > [1] https://cdimage.debian.org/cdimage/ports/grub-test/ -- .''`. John Paul Adrian Glaubitz : :' : Debian Developer - glaub...@debian.org `. `' Freie Universitaet Berlin - glaub...@physik.fu-berlin.de `-GPG: 62FF 8A75 84E0 2956 9546 0006 7426 3B37 F5B5 F913
RE: debian-installer grub-efi test image
Either I am doing something wrong, or this doesn’t seem to be quite working. When I run bootnetia64.efi from the debian-installer package I just get the GRUB prompt – no config was loaded. I can’t even manually load one with “configfile” since it doesn’t seem to be able to parse the partition table. grub> ls (hd0) (cd0) When I run the GRUB that was installed by my previous OS installation (grubia64.efi), it does parse the HD partitions correctly grub> ls (hd0) (hd0,gpt3) (hd0,gpt2) (hd0,gpt1) (cd0) and, if I force the configfile to point at the debian-installer one, it does start installation correctly. So, what’s the deal with bootnetia64.efi? Does it need to load all the mod files that are present in the “grub” directory in order to understand GPT partitions? If that’s the case, why is it not loading them? Do relative paths not work? In other words, does the debian-installer folder need to be on a specific, hardcoded, path within the EFI partition? Thanks. _ Pedro From: John Paul Adrian Glaubitz Sent: Sunday, April 28, 2019 11:43:46 AM To: Pedro Miguel Justo Cc: debian-ia64 Subject: Re: debian-installer grub-efi test image On 4/28/19 8:41 PM, Pedro Miguel Justo wrote: > That’s fine. I can test the CD image tomorrow – I’ll have physical access to > the box. You can test the netboot image if you want, I uploaded it into the same location. Just download the tarball and extra the netboot image. Adrian -- .''`. John Paul Adrian Glaubitz : :' : Debian Developer - glaub...@debian.org `. `' Freie Universitaet Berlin - glaub...@physik.fu-berlin.de `-GPG: 62FF 8A75 84E0 2956 9546 0006 7426 3B37 F5B5 F913
Re: debian-installer grub-efi test image
On 4/28/19 9:55 PM, Pedro Miguel Justo wrote: > Either I am doing something wrong, or this doesn’t seem to be quite working. > > When I run bootnetia64.efi from the debian-installer package I just get the > GRUB prompt – no config was loaded. I can’t even manually load one with > “configfile” since it doesn’t seem to be able to parse the partition table. > > (...) > When I run the GRUB that was installed by my previous OS installation > (grubia64.efi), it does parse the HD partitions correctly > (...) > So, what’s the deal with bootnetia64.efi? Does it need to load all the mod > files that are present in the “grub” directory in order to understand GPT > partitions? If that’s the case, why is it not loading them? Do relative paths > not work? In other words, does the debian-installer folder need to be on a > specific, hardcoded, path within the EFI partition? You're the very first person to test the netboot image. I merely copied the configuration from arm64 and adapted it for ia64. There was no testing at all, so if something doesn't work, you know why. That's why I want to focus on the CD images first. Adrian -- .''`. John Paul Adrian Glaubitz : :' : Debian Developer - glaub...@debian.org `. `' Freie Universitaet Berlin - glaub...@physik.fu-berlin.de `-GPG: 62FF 8A75 84E0 2956 9546 0006 7426 3B37 F5B5 F913
RE: debian-installer grub-efi test image
Hi Adrian. Did you generate the netboot images as well? To test things remotely (iLO) it is generally more convenient to use netboot that cd-image. Thanks. _ Pedro From: John Paul Adrian Glaubitz Sent: Saturday, April 27, 2019 3:41:46 PM To: debian-ia64 Subject: debian-installer grub-efi test image Hi! I have just created the first test image for debian-installer on ia64 with grub-efi as a bootloader instead of elilo. The changes have not been committed to git yet but a test image can be found at [1]. Could someone test whether this image does something useful for them? For anyone interested, the patches for d-i and debian-cd are attached. Adrian > [1] https://cdimage.debian.org/cdimage/ports/grub-test/ -- .''`. John Paul Adrian Glaubitz : :' : Debian Developer - glaub...@debian.org `. `' Freie Universitaet Berlin - glaub...@physik.fu-berlin.de `-GPG: 62FF 8A75 84E0 2956 9546 0006 7426 3B37 F5B5 F913
Re: debian-installer grub-efi test image
On 4/28/19 8:41 PM, Pedro Miguel Justo wrote: > That’s fine. I can test the CD image tomorrow – I’ll have physical access to > the box. You can test the netboot image if you want, I uploaded it into the same location. Just download the tarball and extra the netboot image. Adrian -- .''`. John Paul Adrian Glaubitz : :' : Debian Developer - glaub...@debian.org `. `' Freie Universitaet Berlin - glaub...@physik.fu-berlin.de `-GPG: 62FF 8A75 84E0 2956 9546 0006 7426 3B37 F5B5 F913
Re: debian-installer grub-efi test image
On 4/28/19 8:11 PM, Pedro Miguel Justo wrote: > Did you generate the netboot images as well? To test things remotely (iLO) it > is generally more convenient to use netboot that cd-image. The netboot images are normally built within the debian-installer package built. I'm currently primarily interested in tests of the CD image so I can commit the changes without fearing to break anything. However, I uploaded the netboot image into the grub-test directory [1]. Adrian > [1] https://cdimage.debian.org/cdimage/ports/grub-test/ -- .''`. John Paul Adrian Glaubitz : :' : Debian Developer - glaub...@debian.org `. `' Freie Universitaet Berlin - glaub...@physik.fu-berlin.de `-GPG: 62FF 8A75 84E0 2956 9546 0006 7426 3B37 F5B5 F913
debian-installer grub-efi test image
Hi! I have just created the first test image for debian-installer on ia64 with grub-efi as a bootloader instead of elilo. The changes have not been committed to git yet but a test image can be found at [1]. Could someone test whether this image does something useful for them? For anyone interested, the patches for d-i and debian-cd are attached. Adrian > [1] https://cdimage.debian.org/cdimage/ports/grub-test/ -- .''`. John Paul Adrian Glaubitz : :' : Debian Developer - glaub...@debian.org `. `' Freie Universitaet Berlin - glaub...@physik.fu-berlin.de `-GPG: 62FF 8A75 84E0 2956 9546 0006 7426 3B37 F5B5 F913 >From 134c589ab28ef5557a3d914a7ed0e4f675940fd5 Mon Sep 17 00:00:00 2001 From: John Paul Adrian Glaubitz Date: Sun, 28 Apr 2019 00:37:40 +0200 Subject: [PATCH] ia64: Switch bootloader for d-i from elilo to grub --- build/boot/ia64/elilo.conf | 31 - build/boot/ia64/elilo_menu.msg | 24 --- build/boot/ia64/general.msg| 24 --- build/boot/ia64/params.msg | 25 --- build/config/ia64.cfg | 153 + build/config/ia64/cdrom.cfg| 8 +-- build/config/ia64/netboot.cfg | 9 +-- debian/control | 5 +- 8 files changed, 89 insertions(+), 190 deletions(-) delete mode 100644 build/boot/ia64/elilo.conf delete mode 100644 build/boot/ia64/elilo_menu.msg delete mode 100644 build/boot/ia64/general.msg delete mode 100644 build/boot/ia64/params.msg diff --git a/build/boot/ia64/elilo.conf b/build/boot/ia64/elilo.conf deleted file mode 100644 index 9f586b8..000 --- a/build/boot/ia64/elilo.conf +++ /dev/null @@ -1,31 +0,0 @@ -chooser=textmenu -default=install -delay=20 -prompt - -message=${SYSDIR}elilo_menu.msg -f1=${SYSDIR}general.msg -f2=${SYSDIR}params.msg - -relocatable - -image=${KERNEL} -label=install -description="Install" -initrd=${INITRD} -append="--" -read-only - -image=${KERNEL} -label=expert -description="Install [Expert mode]" -initrd=${INITRD} -append="priority=low --" -read-only - -image=${KERNEL} -label=rescue -description="Rescue" -initrd=${INITRD} -append="rescue/enable=true --" -read-only diff --git a/build/boot/ia64/elilo_menu.msg b/build/boot/ia64/elilo_menu.msg deleted file mode 100644 index e9e21b2..000 --- a/build/boot/ia64/elilo_menu.msg +++ /dev/null @@ -1,24 +0,0 @@ - ° ± ² ³ ´ µ ¶ · ¸ ¹ º » ¼ ½ ¾ ¿ À Á Â Ã Ä Å Æ Ç È É Ê Ë Ì Í Î Ï Ð Ñ Ò Ó Ô Õ Ö × Ø Ù Ú Û Ü Ý Þ ß -10 - 7fÚÄÄÄ´ 74Debian Installer7f ÃÄ7f¿10 - 7f³70 This is the Debian GNU/Linux installation system, built on ${BUILD_DATE}. 7f³10 - 7f³707f³10 - 7f³70 Use the arrow keys to select a menu item and then Enter to select it. 7f³10 - 7f³70 Use the function keys for help. On a serial console, use Ctrl-F and the7f³10 - 7f³70 function key number instead. 7f³10 - 7f³707f³10 - 7f³70 7eBeware that this is an OS installer, and misuse can result in the loss of 7f³10 - 7f³70 7eany data currently on your disks. 7f³10 - 7f³70 ÚÄÄ70¿7f ³10 - 7f³70 ³70 70³ 7f³10 - 7f³70 ³70 70³7f ³10 - 7f³70 ³70 70³7f ³10 - 7f³70 ³70 70³7f ³10 - 7f³70 ³70 70³7f ³10 - 7f³70 ³70 1e70³ 7f³10 - 7f³70 ÀÄÄÙ70 7f³10 - 7f³707f³10 - 7f³70 Boot: 35 70 7f³10 - 7f³707f³10 - 7f³70 Help: [71F170-General] [71F270-Params]7f³10 - 7fÀÙ10 diff --git a/build/boot/ia64/general.msg b/build/boot/ia64/general.msg deleted file mode 100644 index ca8de0b..000 --- a/build/boot/ia64/general.msg +++ /dev/null @@ -1,24 +0,0 @@ - ° ± ² ³ ´ µ ¶ · ¸ ¹ º » ¼ ½ ¾ ¿ À Á Â Ã Ä Å Æ Ç È É Ê Ë Ì Í Î Ï Ð Ñ Ò Ó Ô Õ Ö × Ø Ù Ú Û Ü Ý Þ ß -10 - 7fÚ´ 74General Screen7f ÃÄÄÄ