On an AMD Opteron running fully up2date'd Fedora Core Development (except for a slightly old glibc - see bug 112849): # /sbin/grub-install /dev/hda /sbin/grub-install: line 431: 19780 Segmentation fault $grub_shell --batch --device-map=$device_map >$log_file <<EOF dump ${root_drive}${tmp} ${img_file} quit EOF /sbin/grub-install: line 431: 19785 Segmentation fault $grub_shell --batch --device-map=$device_map >$log_file <<EOF dump ${root_drive}${tmp} ${img_file} quit EOF /sbin/grub-install: line 431: 19790 Segmentation fault $grub_shell --batch --device-map=$device_map >$log_file <<EOF dump ${root_drive}${tmp} ${img_file} quit EOF /sbin/grub-install: line 431: 19795 Segmentation fault $grub_shell --batch --device-map=$device_map >$log_file <<EOF dump ${root_drive}${tmp} ${img_file} quit EOF /sbin/grub-install: line 431: 19800 Segmentation fault $grub_shell --batch --device-map=$device_map >$log_file <<EOF dump ${root_drive}${tmp} ${img_file} quit EOF The file /boot/grub/stage1 not read correctly. Exit 1 Older version of grub did not have this problem. P.S. If I get a core dump, gdb is unable to understand the core file, so I can not get a stack trace.
Does just running /sbin/grub segfault? You should be able to get a backtrace by rpm2cpio'ing the i386 gdb and running that if nothing else. The package works just fine here for me, although I'm basically running RHEL3 on the machine in question.
Just running /sbin/grub segfaults too. i386 gdb does not work since it requires 32-bit libc. Will attach the core file.
Created attachment 96773 [details] Core dump
I have an Athlon64 3200+ and I have installed x86_64 development version and I found the same problem. Every time I try to execute /sbin/grub a segfault message is displayed.
Kernel bug, davej says its fixed in his most recent kernel (which may not be pushed yet)
*** Bug 116288 has been marked as a duplicate of this bug. ***
*** Bug 114011 has been marked as a duplicate of this bug. ***
Two months without an update. This is causing us major pain with FC3 installer. Has davej pushed his "fixed" kernel? We've updated the Fedore Core install bits to 2.6.10-1.770_FC3 and it still fails. Should we expect that grub 0.95-12 should improve things?
Err fourteen! months... Whatever fix was in davej's kernel surely must have pushed by now. Unfortunately, the FC3 kernel/grub are still broken. Hardware configuration is a SATA drive using libata (ata_piix) Grub reliably segfaults during install, leaving the system unbootable. The installed GRUB is actually a 32-bit executable and not 64-bit. Grub works on the same hardware with a 32-bit version of FC3. Is there a problem with the BOOT kernel 32-bit emulation support?