Bugzilla – Bug 520009
YaST says "GRUB installation failed" despite successful installation
Last modified: 2009-07-08 10:58:25 UTC
Created attachment 303625 [details] YaST2 logs User-Agent: Mozilla/5.0 (X11; U; Linux i686; cs-CZ; rv:1.9.1.0) Gecko/20090617 SUSE/3.5.0-2.2 Firefox/3.5 During the installation of openSUSE 11.2 Milestone 3 [Build0146], after all packages were installed, a window with title "GRUB installation failed" appears. In the window there is an empty space, which is probably intended for the output of the command doing grub installation. I tried several different GRUB configurations (install to MBR, install to root partition, ...), but after each attempt the window reappeared. Finally I chose to ignore the error and continue installation. After the restart, GRUB starts with no troubles. Reproducible: Didn't try Steps to Reproduce: Since I did no extra configuration, the error probably appears every time. Actual Results: Error appears, but installation works well. Expected Results: The window with the message should not appear. Alternatively if the window appears, there should be some error message in it and GRUB should not be properly installed. ;-)
Reason is that grub segfault and error output is not succesfully catch. *** This bug has been marked as a duplicate of bug 515529 ***
But here the GRUB's installation succeeds, which seems not to be the case in bug 515529. For this case I filed a new bug...
It segfault during quit command, so boot sector is correctly written. It is stupid mistake, which doesn't affect work, but as long as it segfault it is detected as error.