LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
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 12-29-2009, 11:36 PM   #1
niaz_ph
LQ Newbie
 
Registered: Nov 2009
Posts: 27

Rep: Reputation: 0
redhat and vista booting problem...


Hi,

i use redhat enterprise 5.0 and windows vista together. few days ago i ran a script on my pc containing /etc/grub.conf modification. the modification was simple, just spelling mistakes in grub.conf file. what i needed to do was to fix the spelling to recover the grub and that was my task. i did it in lab and successfully i recoverd it. but when i tested on my dual booting pc, after changes all mistakes successfully, when i rebooted, it doesn't reload my grub. when i again entered using 'linux rescue' mode, i found there existed no information of windows vista in /etc/grub.conf file.....SO HOW CAN I RECOVER MY VISTA INFORMATION SO THAT I CAN USE AGAIN THE DUAL OS WITHOUT REINSTALLING THE OS...????
 
Old 12-30-2009, 04:47 AM   #2
kenneho
Member
 
Registered: May 2003
Location: Oslo, Norway
Distribution: Ubuntu, Red Hat Enterprise Linux
Posts: 655

Rep: Reputation: 40
Have you tried to reinstall grub ("grub-install")? I've never had this problem before, so I'm not sure how to fix it, but just thought I'd come up with some suggestions.

And have you tried simply adding Windows booting info to the grub config file? You'd need a section defining which partition and such your Windows is located.
 
Old 12-30-2009, 09:51 PM   #3
niaz_ph
LQ Newbie
 
Registered: Nov 2009
Posts: 27

Original Poster
Rep: Reputation: 0
thnx kenneho..... i didn't reinstall grub....where do i find the windows booting info...coz it's already damaged...?? is it possible to find the windows boot info from other location...waiting for reply as i am suffering a lot....
 
Old 12-30-2009, 09:58 PM   #4
paulsm4
LQ Guru
 
Registered: Mar 2004
Distribution: SusE 8.2
Posts: 5,863
Blog Entries: 1

Rep: Reputation: Disabled
niaz_ph -

Please don't panic. It's unlikely that you've lost anything. It's probably very simple to resolve.

SUGGESTION:
1. You definitely want grub.

2. The only issue is to (re)configure grub so that it finds your Windows partition and can boot from it.

GAMEPLAN:
1. Look here:
http://apcmag.com/the_definitive_dua...stepbystep.htm
<= This is good background, but unfortunately we're past that point now
You might want to go back and install EasyBCD after everything's working again, though!

http://fedoraforum.org/forum/showthread.php?t=228007
<= Less info ... but more applicable to your immediate problem

2. Boot to Linux.
Post the output of these commands:
Quote:
su - root
mount
fdisk -l /dev/sda
fdisk -l /dev/sdb
cat /boot/grub/grub.conf
3. Once we know exactly what disk Windows is on, it should be as simple as editing "grub.conf" and rebooting.

Last edited by paulsm4; 12-30-2009 at 10:12 PM.
 
Old 12-30-2009, 11:01 PM   #5
niaz_ph
LQ Newbie
 
Registered: Nov 2009
Posts: 27

Original Poster
Rep: Reputation: 0
dear paul....IT WORKS FINALLY...!!!

thanx a lot....
 
  


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
Problem booting into Vista after installing fedora 11 habeeb Linux - Newbie 6 08-07-2009 10:12 AM
Dual booting Vista and RedHat, how to get rid of RedHat? jeriryan Linux - Software 8 09-29-2008 08:24 PM
Dual Boot Vista/Fedora9 - Vista not booting agb81 Fedora 2 08-06-2008 12:10 PM
Problem booting Vista after suse linux instal sdas192001 SUSE / openSUSE 9 11-16-2007 12:59 PM
dual booting vista with redhat 9 shjlinux Linux - Newbie 3 09-06-2007 04:32 AM


All times are GMT -5. The time now is 02:40 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration