On Fri, 2005-01-28 at 18:21 +0100, Pierrette Barbaresco wrote:
Hello,
We updated smp kernel on a Sun V20Z AMD Opteron Scsi device.
After installation we tried grub-install /dev/sda and we got
/sbin/grub-install: line 475: 4041 Segmentation fault
[root@cict-009 ~]# uname -a
Linux cict-009.toulouse.grid5000.fr 2.6.10-1.741_FC3smp #1 SMP Thu Jan 13 16:58:29 EST
2005 x86_64 x86_64 x86_64 GNU/Linux
[root@cict-009 ~]# grub-install /dev/sda
/sbin/grub-install: line 475: 4041 Segmentation fault $grub_shell --batch
$no_floppy --device-map=$device_map >$log_file <<EOF
root $root_drive
setup $force_lba --stage2=$grubdir/stage2 --prefix=$grub_prefix $install_drive
quit
EOF
Installation finished. No error reported.
This is the contents of the device map /boot/grub/device.map.
Check if this is correct or not. If any of the lines is incorrect,
fix it and re-run the script `grub-install'.
# this device map was generated by anaconda
(fd0) /dev/fd0
(hd0) /dev/sda
Any idea.
Ran into the same problem. Installed a new SATA disk on an x86_64
system, copied/configured/booted FC3 installation, and attempted to
reconfigure grub to use the new /boot partition. Attempting to run grub
or grub-install to update boot record results in "Segmentation fault".
The old MBR is not changed. Not sure what kernel update may have to do
with it. Behavior is the same for at least the last 3 kernels tried.
See
https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=147600
Phil