LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 08-21-2003, 05:30 AM   #1
kendals
LQ Newbie
 
Registered: Aug 2003
Posts: 4

Rep: Reputation: 0
redhat 9 boot problem


Hi,

I have redhat 9 its been working fine until today, i started the computer up and i get the error no operating system. I used the redhat 9 cd and used linux rescue nothing happened but i can access the root and see all my files. The bootloader grub is shown in the folder when i view it i think it was in boot folder, i think the problem is grub is not working properly.
How do i fix this? so grub will show the redhat i have on the harddrive. I have /dev/hda1 and /dev/hda2 . hda2 is swap and hda1 has my work on it, fdisk -l shows them.

Thanks

Kunal

Last edited by kendals; 08-21-2003 at 05:32 AM.
 
Old 08-21-2003, 06:53 AM   #2
ppuru
Senior Member
 
Registered: Mar 2003
Location: Beautiful BC
Distribution: RedHat & clones, Slackware, SuSE, OpenBSD
Posts: 1,791

Rep: Reputation: 49
Once you get into rescue mode, type the command

# chroot /mnt/sysimage

Next issue the command

# grub-install

this will reinstall grub on the MasterBootRecord.
 
  


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
redhat boot problem rahimzai Red Hat 2 10-17-2005 01:10 AM
problem, dual boot, xp/redhat, cdtray kept ejecting, del redhat part. wont boot a OS mraym84 Linux - General 2 08-22-2004 02:46 PM
Redhat 8.0 Boot Problem Apollo77 Linux - General 2 02-21-2003 10:22 PM
Redhat boot problem NetScripter Linux - General 13 06-25-2002 04:47 AM
redhat boot problem gamenutt Linux - Newbie 4 03-11-2002 07:25 PM


All times are GMT -5. The time now is 11:55 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration