[wplug] Grub Error

Eric Cooper ecc at cmu.edu
Tue Apr 1 21:28:56 EST 2008


On Wed, Apr 02, 2008 at 06:30:02AM +0530, Deepan wrote:
> How do I reinstall grub using live CD? Or should I boot into my
> linux operating system with root, kernel and initrd option in grub
> and then install grub ?

In the Live-CD system, you can mount your hard disk's root partition
(say as /mnt/target) and then run
    grub-install --root-directory=/mnt/target

Or you can chroot to your hard disk and run grub-install from there
(but make sure the chroot's /dev directory is accurate).

-- 
Eric Cooper             e c c @ c m u . e d u


More information about the wplug mailing list