The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Dummies Questions & Answers
Google UNIX.COM


UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !!

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Grub and longhorn loader dancingfool UNIX for Dummies Questions & Answers 2 05-09-2008 01:16 PM
Overwritten /dev/root -recovery of SCO OpenServer 5.0.4 ok2 SCO 2 04-10-2008 09:55 PM
grub problem- keeps rebooting as soon as it tries to do grub moesays UNIX for Dummies Questions & Answers 1 11-07-2007 01:46 AM
UIDs being overwritten immediately xsys2000 AIX 2 05-08-2007 10:00 AM
.cshrc and .login overwritten !! gjthomas UNIX for Advanced & Expert Users 5 06-08-2004 01:11 PM

Reply
 
Submit Tools LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 12-20-2004
Registered User
 

Join Date: Sep 2004
Location: Mumbai-India
Posts: 151
Stumble this Post!
Grub Loader entry overwritten

Hello,

One of my frend had a problem.
He had Windows XP installed on his system. Then he installed Red Hat Linux 8.0 in one of the partitions. After some time his XP got corrupt and then he reinstalled Windows XP. This over wrote the Grub loader entry, and due to this the grub loader is not displayed during the boot sequence althought the Linux installation is still intact.

One solution which i thought is that if he could get a boot disk, and boot through it and then make changes in the grub.conf file, though i have never tried this before. The problem is that here noone has a Red Lunx 8.0 boot disk.

Can anybody give a solution??

Thanks,
Rahul.
Reply With Quote
Forum Sponsor
  #2 (permalink)  
Old 12-20-2004
Registered User
 

Join Date: Aug 2004
Posts: 232
Stumble this Post!
You dont need a Redhat Bootdisk, but if you would like one, you might be able to find the correct imgs for creating one, on Planetmirror.
You can use any LiveCD OS, such as SLAX, RescueCD. To recover your system. Boot the LiveCD, then once running,
cd /
mkdir TEST


Now mount the root Redhat (partition) system under Test, create any additional directories or mount the other necessary partitions underneath, example:
mount /dev/hda1 /TEST

Then change the current ROOT directory to the newly mounted dir.
chroot TEST

Since your now running on the RedHat system you should be able to navigate to where you need to go to reinstall the bootloader, run whatever it is to force a rewrite of the boot record.
Reply With Quote
  #3 (permalink)  
Old 12-20-2004
TioTony's Avatar
Bit Pusher
 

Join Date: Oct 2001
Location: Southern California
Posts: 332
Stumble this Post!
If you still have the RH 8.0 media just insert CD1. When you get the 'boot' prompt type 'linux rescue'. Follow the prompts and it should locate your RH image. You will have to figure out what your boot device is at that point (like hd0, hd1, etc) and run 'grub-install'. Do a quick lookup on google and you will find plenty of info on grub-install.
Reply With Quote
Google The UNIX and Linux Forums
Reply

Thread Tools
Display Modes




All times are GMT -7. The time now is 08:41 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited.
The UNIX and Linux Forums Content Copyright ©1993-2008 The CEP Blog All Rights Reserved -Ad Management by RedTyger Visit The Global Fact Book

Content Relevant URLs by vBSEO 3.2.0