LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora > Fedora - Installation
User Name
Password
Fedora - Installation This forum is for the discussion of installation issues with Fedora.

Notices


Reply
  Search this Thread
Old 06-27-2006, 06:13 AM   #1
michaelsr
Member
 
Registered: Jan 2005
Location: Berkshire, UK
Distribution: Fedora Core 7, 8
Posts: 38

Rep: Reputation: 15
Reinstalling Grub


Does anyone know how FC4 detects that grub has been installed or how I can force it to reinstall grub?

I have a boot problem and am trying to avoid reinstalling the whole operating system again.

Thanks,
Michael.
 
Old 06-27-2006, 08:16 AM   #2
Gethyn
Member
 
Registered: Aug 2003
Location: UK
Distribution: (X)Ubuntu 10.04/10.10, Debian 5, CentOS 5
Posts: 900

Rep: Reputation: 32
You can reinstall grub by issuing the command 'grub-install hdx' where hdx (or sdx) is the hard drive you wish to install grub on. For example, to install grub on the primary master SATA drive you'd use 'grub-install sda'.

However, it may be possible that this will not solve your problem, and could break things. Could you describe the problem you are having?
 
Old 06-27-2006, 08:40 AM   #3
michaelsr
Member
 
Registered: Jan 2005
Location: Berkshire, UK
Distribution: Fedora Core 7, 8
Posts: 38

Original Poster
Rep: Reputation: 15
Gethyn - thanks for that, unfortunately grub-install just hangs... What happened is that I did a yum update which included a kernel update. The system then refused to boot with the word GRUB coming up in the top left corner of an otherwise blank screen (this was not a prompt). I can boot from the rescue disk but don't seem to be able to do better than that. I have fiddled with which drive boots and the entries in my grub.conf, all to no avail. There are some comments and files in the Fedora forum.

Thanks,
Michael.
 
Old 06-27-2006, 09:40 AM   #4
michaelsr
Member
 
Registered: Jan 2005
Location: Berkshire, UK
Distribution: Fedora Core 7, 8
Posts: 38

Original Poster
Rep: Reputation: 15
Smile

Gethyn - ok, now I am really confused but happy! Basically I finally got grub-install to work but had to edit my device map first and remove fd0 (there is no floppy drive on this machine). hd0 is mapped to /dev/sdb (the only mapping in the file). Almost forgot the mention - my machine now boots!

Then everything appeared to work swimmingly.

Thanks to everyone who helped out.

Michael.
 
  


Reply



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 vineet7kumar Linux - Newbie 1 01-15-2006 12:02 PM
reinstalling grub vineet7kumar Linux - General 2 01-10-2006 07:57 AM
Reinstalling grub darkangel29 Linux - Newbie 3 04-03-2005 05:53 PM
reinstalling grub ELconkestador Linux - Software 1 02-12-2005 10:22 PM
Reinstalling GRUB Petelow Linux - Newbie 1 05-24-2004 04:03 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora > Fedora - Installation

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

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration