[CVALE] Grub Error
Steven Hollingsworth
steven at aznc.com
Wed Apr 2 06:37:00 PDT 2008
On Wed, Apr 02, 2008 at 06:27:15AM +0530, Deepan wrote:
[snip]
> found. 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 ?
Have you ever installed Gentoo? The rescue would be similar to
installing grub in their howto manual.
First mount your linux partitions in knoppix,
mount the necessary dev and proc so grub has access to that.
mount /dev/sda<root> /mnt/myroot
mount ... other partitions /mnt/myroot/boot if needed
mount -t proc none /mnt/myroot/proc (this one may vary)
mount -o bind /dev/ mnt/myroot/dev
then chroot into your root environment.
chroot /mnt/myroot /bin/bash
run the grub installer (grub /dev/sda || grub-setup /dev/sda)
If you have problems with grub spazing out, edit /etc/mtab manually and
make sure there isn't any cruft in there and try again.
This last part is a bit of a hack, but has worked for me in the past.
HTH,
~ stevo
More information about the cvale
mailing list