LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Red Hat
User Name
Password
Red Hat This forum is for the discussion of Red Hat Linux.

Notices


Reply
  Search this Thread
Old 01-09-2007, 10:57 AM   #1
mufy
Member
 
Registered: Oct 2004
Location: Kuwait
Distribution: Currently - AIX | Previously - RHEL 4 ES, FC 10
Posts: 206
Blog Entries: 4

Rep: Reputation: 30
GRUB recover. Quick HOWTO.


Hi,

A small contribution from my side.

Problem:
A dual boot box (Win XP Pro. n RH 9) lost it’s GRUB after reinstallation of Win XP.

Steps taken to resolve:
step 1 > Booted the system off disk 1

step 2 > Entered rescue mode by typing ‘linux rescue’

step 3 > On reaching ‘sh#’ prompt after the initial
screens, typed ‘chroot /mnt/sysimage’

step 4 > Followed by the command ‘grub-install
/dev/(your device name; e.g. hda, sdb, etc)’ to install GRUB again

step 5 > Edited the /etc/grub.conf (or
/boot/grub/grub.conf) to change the line containing kernel vmlinuz… as … root=LABEL=/1 …

*Note* 1 was added as it was a dual boot box.

step 6 > Rebooted the box (Voila! Was up and
running!)

Last edited by mufy; 01-09-2007 at 11:01 AM.
 
Old 07-20-2007, 08:57 AM   #2
DOTT.EVARISTI
Member
 
Registered: Jan 2007
Location: La spezia ( Italia )
Distribution: Fedora 9 amd 64, Gnome,PCLOS 2007,OpenSuse 11 amd 64,Sabayon 3.4,Xp,Vista
Posts: 248

Rep: Reputation: 31
very good


Ok !

Good!

Cheers
 
  


Reply

Tags
grub



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
How to recover quick erased CD tracks? metabaron Linux - Software 1 02-16-2006 10:50 PM
LXer: HOWTO Recover Files from a Non-Bootable Windows PC using Ubuntu Live LXer Syndicated Linux News 0 02-13-2006 11:01 AM
howto backup & recover many pc's bucovaina78 Linux - General 6 01-22-2006 01:30 AM
recover grub j0hn_galt Linux - Newbie 3 06-11-2005 01:26 AM
Howto recover data from ntfs after suse dual boot install jdlr Linux - General 1 04-20-2005 09:51 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Red Hat

All times are GMT -5. The time now is 01:28 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
Open Source Consulting | Domain Registration