LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
Search this Thread
Old 04-11-2007, 08:42 AM   #1
NinjaGeek
LQ Newbie
 
Registered: Apr 2007
Location: Mars
Distribution: FC5
Posts: 1

Rep: Reputation: 0
GRUB hard disk error


I'm having a grub problem that I can't figure out.

I have an FC5 system which started having problems with the hard drive (IDE 0 Master/hda).
So I added a second drive (IDE 0 Slave/hdb), installed FC5 on the new drive (hdb) and
copied everything off the old drive onto the new one.

I quickly discovered that things aren't behaving quite right. FC5 performs all updates
to the kernel, grub.conf, etc. on /dev/hdb1 and the grub.conf says to boot from
hd0. When the system actually boots, its using the files from the old installation
on /dev/hda1. If I copy grub.conf from /hdb1 to /hda1 and change all references
from hd0 to hd1 it all works "normally."

hda1 is getting worse, so I want to remove it from the system entirely. When I do
so and make the new drive the master on IDE 0, the system halts with a
"GRUB hard disk error" message.

- MGG
 
Old 04-11-2007, 10:00 AM   #2
mether
Member
 
Registered: Mar 2007
Distribution: RHEL, Fedora, Open Suse
Posts: 151

Rep: Reputation: 31
You need to reinstall grub on this new disk. Boot the system in resuce mode and install grub. Also check the devices.map file and make sure that it contains correct entries as well.
 
Old 04-11-2007, 10:57 AM   #3
ramram29
Member
 
Registered: Jul 2003
Location: Miami, Florida, USA
Distribution: Debian
Posts: 848
Blog Entries: 1

Rep: Reputation: 47
The easiest solution would be to swap master slave jumpers and install grub on the new drive.
 
  


Reply

Tags
boot, error, grub


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
Message: Grub Hard Disk Error frfrazier Linux - Newbie 2 11-18-2005 09:59 PM
GRUB hard disk error 0perat0r Linux - Newbie 3 02-24-2005 12:17 AM
grub hard disk error gtanghookup Linux - Software 7 04-24-2004 12:33 AM
GRUB Hard Disk Error joe_wilkins2001 Linux - Newbie 1 01-25-2004 04:29 PM
GRUB Hard Disk Error joe_wilkins2001 Linux - General 1 01-25-2004 02:49 PM


All times are GMT -5. The time now is 06:22 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