LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 08-07-2005, 02:13 PM   #1
eggoz
Member
 
Registered: Feb 2003
Posts: 159

Rep: Reputation: 30
Grub won't load


I installed a cd writer and a new HD on this older server. It died after that and had to replace the cpu. Now, after fighting with it, I have gotten it to start up. But still no linux. Here's what I got...

I have 2 HDs installed. One is a scsi (sda1) which has all the boot info. The other is a 160 gig with mostly all my info which is split in hdb1-hdb4. And a cd writer. This is all according to Knoppix.

When I start the computer, all I get is GRUB on the screen. If I disconnect the 160 gig drive, the computer starts up fine. I have checked and double checked and sda1 has the boot and grub folder. The other drive just has files on it.

I tried this that I found on another page...
chroot /mnt/sysimage/
grub-install /dev/sda
exit
exit

That did nothing. everything seems ok to me. fdisk -l /dev/sda or hdb shows all the partitions. /boot/grub/device.map shows (hd0) /dev/sda.

I'm out of ideas. Any ideas?
 
Old 08-07-2005, 03:08 PM   #2
fsateler
Member
 
Registered: Jul 2004
Location: Santiago, Chile
Distribution: Debian Unstable
Posts: 107

Rep: Reputation: 15
what does /boot/grub.conf say? Perhaps there is a problem there.
 
Old 08-07-2005, 08:01 PM   #3
eggoz
Member
 
Registered: Feb 2003
Posts: 159

Original Poster
Rep: Reputation: 30
Not excatly sure how this fixed it, but it did. here's what i did...

I read to do this command...

grub-install --recheck /dev/sda

it gave me hd0 /dev/hdb and hd1 /dev/sda, which is wrong. I went back and changed it to hd0 /dev/sda which is what i had to begin with. then ran the grub-install /dev/sda and restarted. again, i don't know why that worked since i know for a fact that i had hd0 /dev/sda in there before, but it worked. crazy.



And a while later, the main drive died and that's the end of my info. And to think this all started when I tried to add a cd writer to back stuff up. Awesome.
 
  


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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
load grub again manomohan Red Hat 2 11-18-2005 10:53 PM
GRUB doesn't load rcracer7 Linux - Newbie 4 10-03-2005 12:16 AM
GRUB doesn't load properly n0va Linux - General 1 08-07-2005 08:07 PM
grub doesn't auto-load kernel, time/date auto-change, k3b cannot load kenji1903 Red Hat 16 03-27-2005 08:48 PM
GRUB Won't Load.... HELP! Spoon10 Fedora - Installation 10 07-27-2004 04:06 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 02:45 PM.

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