Re: Grub install broken after kernel update

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, 28 Jan 2005 18:21:44 +0100 (MET), Pierrette Barbaresco
<pb@xxxxxxx> 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.

No, not really.  But why are you running grub-install?  You do not
have to re-install GRUB after every kernel update like you do for
LILO.  The configuration file only needs to be updated, which is done
automatically by rpm when you install a kernel.  You should only run
grub-install again if somehow your MBR gets corrupted and your machine
won't boot (you have to boot with the recovery CD).
Back to your question, you can always try running the grub shell and
typing in the commands and see what happens.  Of course, you'll have
to figure out what each of the variables would be.  You can also check
the log file; look for it under /tmp/

Jonathan


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux