LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
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, 04: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 04:32 AM.
 
Old 08-21-2003, 05:53 AM   #2
ppuru
Senior Member
 
Registered: Mar 2003
Location: Beautiful BC
Distribution: RedHat & clones, Slackware, SuSE, OpenBSD
Posts: 1,791

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

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

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