Re: How to reinstall Grub from Debian
> You can reinstall grub using grub's own command line tool grub-install
> (see 'man grub-install').
thanks. Reinstallation with 'grub-install /dev/hda' from within Debain
worked for me fine.
For completness I should mention here that Ubunutu boot menu entry was
created, however not the Ubunutu recovery boot menu entry.
Would it be worth to file an error report against debian-grub?
> Boot loader installation is something that is done before the reboot
> as part of setting up the base-system; configuring it is a completely
> different subject.
There are also cases, when Debain distribution can no longer be started
from the boot menu. Reason may be a MBR virus that corrupted Grub from a
MS Windows partition or e.g. MS Windows installation subsequntly to the
Debian installation, which replaced Grub in the MBR by directly starting
Here a method is needed to reinstall Grub after booting from
After booting from install CD, e.g. the Red Hat installer allows
reinstallation of the boot manager (and doing hard disk partitioning
with Fdisk) without being required to perform subsequently a full Linux
installation. So far I've been missing this option in Debian installer...
Frans Pop schrieb:
On Tuesday 29 March 2005 02:46, firstname.lastname@example.org wrote:
+ from within Gurb (re)-installation is not possible with 'base-config'
You can not and that will not be supported in future. Boot loader
installation is something that is done before the reboot as part of
setting up the base-system; configuring it is a completely different
+when starting the 'systemtools-> system start' tool (Translated
from german: 'Systemwerkzeuge-> Systemstart'), I get shown the
identical grub configuration as it was created by Debian before
installation of Ubuntu. This information no longer reflects the current
grub configuration nor any change to the confguration shown here does
change grubs boot behaviour.
This is because you have different /boot directories for each linux
installation. Grub uses only one of them, based on the "groot=(hdx,y)"
line in /boot/grub/menu.lst when GRUB was installed.
Currently it is using the one from the Ubuntu installation, not the one
from the Debian installation.
What you need is to do is RTFM on how GRUB works.
How can I reinstall grub from my Debian installation?
I think even after installation of Debain, 'base-config' should allow
reinstallation of Grub. Did I miss anything here?
You can reinstall grub using grub's own command line tool grub-install
(see 'man grub-install').