LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Fedora (https://www.linuxquestions.org/questions/fedora-35/)
-   -   reinstalling grub in fedora 8 (https://www.linuxquestions.org/questions/fedora-35/reinstalling-grub-in-fedora-8-a-621924/)

vatzcar 02-18-2008 02:33 AM

reinstalling grub in fedora 8
 
Hi,
Recently I've reinstalled XP now I'm unable to restore the grub. I've chosen Rescue option from the boot menu of Fedora 8. In shell I've tried 'chroot /mnt/sysimage' and 'grub-install /dev/sda'.

In chroot an error is coming stating can't chroot. And for 2nd one another error is coming stating 'could not find /sbin/grub.

How can I restore my grub?

reddazz 02-18-2008 02:39 AM

Try using the Super Grub Disk. Its a small live cd that has options that will help you to reinstall grub.

Simon Bridge 02-18-2008 02:50 AM

Please quote exact errors along with the command used.
Usually it is sufficient to run grub-install /dev/sda or whatever from the rescue shell. If you did it after the (unsuccessful) chroot, it may be looking in the wrong place. Did you use LVM in the fedora install? Did you install Windows to a seperate drive?

vatzcar 02-18-2008 05:53 AM

Thank you for your reply. I don't use LVM. My Windows and Linux is on separate drive.

mether 02-18-2008 09:11 AM

If you can provide the exact error you getting while chrooting. I am not really sure but at time you booted the system in rescue mode, anaconda might have given you option to select the disk. If you select the windows disk the chroot will fail.

Simon Bridge 02-18-2008 05:01 PM

Quote:

Originally Posted by vatzcar
Thank you for your reply.

Please quote exact errors along with the command used.
From rescue mode - enter "fdisk -l" and tell us what it says.

<derail>
@mether: nice sig
Quote:

Originally Posted by mether
FIRST THEY IGNORE YOU
THEN THEY LAUGH AT YOU
THEN THEY FIGHT YOU
THEN YOU WIN.

"Truth Happens"
</derail>


All times are GMT -5. The time now is 11:48 PM.