The UNIX and Linux Forums  
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.

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 04:16 PM
Overwritten /dev/root -recovery of SCO OpenServer 5.0.4 ok2 SCO 2 04-11-2008 12:55 AM
grub problem- keeps rebooting as soon as it tries to do grub moesays UNIX for Dummies Questions & Answers 1 11-07-2007 05:46 AM
UIDs being overwritten immediately xsys2000 AIX 2 05-08-2007 01:00 PM
.cshrc and .login overwritten !! gjthomas UNIX for Advanced & Expert Users 5 06-08-2004 04:11 PM

Closed Thread
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 12-20-2004
rahulrathod rahulrathod is offline
Registered User
  
 

Join Date: Sep 2004
Location: Mumbai-India
Posts: 158
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.
  #2 (permalink)  
Old 12-20-2004
locustfurnace locustfurnace is offline Forum Advisor  
Registered User
  
 

Join Date: Aug 2004
Posts: 232
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.
  #3 (permalink)  
Old 12-21-2004
TioTony's Avatar
TioTony TioTony is offline Forum Advisor  
Bit Pusher
  
 

Join Date: Oct 2001
Location: Southern California
Posts: 332
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.
Sponsored Links
Closed Thread

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

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
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -4. The time now is 05:25 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language translation by Google.
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0