Hi, Bernard. On Fri, Jul 06, 2018 at 07:32:46PM +0200, Bernhard Übelacker wrote: > Attached patch is not relying on having the static variables accessible > after the stack got switched by putting pointer to them on the new stack. > > Tested so far: > - i386/amd64: /usr/sbin/grub works. > - amd64: grub-install works with a ext2 boot partition [1]. Booting the > system after that worked too. > For some reason it did not want to install to a ext4 system partition, > but this might be a different problem (probably #748793).
I built probematic grub-legacy 0.97-73 debian package with you patch, on x86_64 and i686 architectures. Both variants work fine: - command line /usr/sbin/grub and grub-install script run without faults, - kernels boot as they should. File systems are ext3 on both my computers. So I think the problem is solved. Thank you very much! Waiting for updated version in Debian repository. -- Eugene Berdnikov

