Forum     

Go Back   Digit Technology Discussion Forum > Software > Open Source
Register FAQ Calendar Mark Forums Read

Open Source A place where you can talk to like-minded people about the fastest growing software movement today! Discuss anything and everything about Open Source software and Operating Systems.


Closed Thread
 
LinkBack Thread Tools Display Modes
Old 11-06-2005, 08:20 AM   #1 (permalink)
Broken In
 
Join Date: Jan 2004
Location: /bin/sh
Posts: 158
Default recover grub


i have a dual boot of xp and red hat 9.0. recently i reinstalled xp on C: leaving all other partitions intact. Now when i start my system i do not get the grup bootloader. how do i recover it back?
lamrinnirmal is offline  
Advertisements. Register and be a member of the community to get rid of them.
Advertisement

Old 11-06-2005, 08:47 AM   #2 (permalink)
Alpha Geek
 
Join Date: Dec 2003
Posts: 780
Default

I think there is a tip about this in the Linux tips and tricks sticky ...

Anyway, to start with, you need to boot into a linux environment, so that you can reinstall GRUB. Any bootable floppy or CD will do, but if your distributions CD has a rescue mode (generally accessed by typing "linux rescue" at the prompt) its better. Redhat does have one, so that makes the job easier.

Once booted, RH will automatically mount your partition on /mnt/sysimage (you may to specify the partition or distro to rescue), but we need to make that directory as the root or '/' directory, so you can type

Code:
chroot /mnt/sysimage
Now install grub on the MBR

Code:
grub-install /dev/hda
Now you should have grub back
__________________
Hardware - Celeron 266 MHz, 128MB RAM, Intel i740 8MB RAM
Software - Slackware Linux 10.1; Archlinux 0.7; Windows 98 SE
Humanware - GS/CS C++ L+++ w b+++ DI+ D+ e
ujjwal is offline  
Old 11-06-2005, 11:55 AM   #3 (permalink)
Broken In
 
Join Date: Jan 2004
Location: /bin/sh
Posts: 158
Default

thanks ujjwal....that worked
lamrinnirmal is offline  
Old 11-06-2005, 03:51 PM   #4 (permalink)
In The Zone
 
Join Date: May 2004
Location: dehradun
Posts: 389
Default

lamrinnirmal

Please search the forum before u post any thing,
this method u can find one of the sticky thread here.............
__________________
Music is like Sex, The more you get, the more you want.
demoninside is offline  
Closed Thread

Bookmarks

Thread Tools
Display Modes

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


 
Latest Threads
- by Charan
- by Charan

Advertisement




All times are GMT +5.5. The time now is 04:33 AM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2012, vBulletin Solutions, Inc.

Search Engine Optimization by vBSEO 3.3.2