LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora
User Name
Password
Fedora This forum is for the discussion of the Fedora Project.

Notices

Reply
 
Search this Thread
Old 02-18-2008, 02:33 AM   #1
vatzcar
LQ Newbie
 
Registered: Jan 2007
Location: India
Distribution: Ubuntu 10.04
Posts: 16

Rep: Reputation: 0
Question 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?
 
Old 02-18-2008, 02:39 AM   #2
reddazz
Guru
 
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 73
Try using the Super Grub Disk. Its a small live cd that has options that will help you to reinstall grub.
 
Old 02-18-2008, 02:50 AM   #3
Simon Bridge
Guru
 
Registered: Oct 2003
Location: Waiheke NZ
Distribution: Ubuntu
Posts: 9,211

Rep: Reputation: 197Reputation: 197
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?
 
Old 02-18-2008, 05:53 AM   #4
vatzcar
LQ Newbie
 
Registered: Jan 2007
Location: India
Distribution: Ubuntu 10.04
Posts: 16

Original Poster
Rep: Reputation: 0
Thank you for your reply. I don't use LVM. My Windows and Linux is on separate drive.
 
Old 02-18-2008, 09:11 AM   #5
mether
Member
 
Registered: Mar 2007
Distribution: RHEL, Fedora, Open Suse
Posts: 151

Rep: Reputation: 31
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.
 
Old 02-18-2008, 05:01 PM   #6
Simon Bridge
Guru
 
Registered: Oct 2003
Location: Waiheke NZ
Distribution: Ubuntu
Posts: 9,211

Rep: Reputation: 197Reputation: 197
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>
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
reinstalling grub. greythorne Ubuntu 23 12-03-2005 01:51 AM
GRUB not reinstalling jboo Linux - Software 5 10-02-2005 10:55 AM
GRUB problem/reinstalling Fedora bsdpowa Fedora 6 07-28-2005 09:25 AM
Reinstalling grub darkangel29 Linux - Newbie 3 04-03-2005 05:53 PM
Reinstalling GRUB Petelow Linux - Newbie 1 05-24-2004 04:03 AM


All times are GMT -5. The time now is 12:18 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration