LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 10-28-2011, 12:58 PM   #1
linux021
LQ Newbie
 
Registered: Oct 2011
Posts: 3

Rep: Reputation: Disabled
Exclamation Help.....


I have installed RHEL 5.4 on D drive out of C,D,and E drive of my computer..during installation it installed grub to my flash drive by mistake and now I am only able to boot RHEL using USB drive, otherwise its just Windows that starts all the way with no hint of RHEL, Please tell me how to correct it. I do not want to give any trouble to Windows as there are my important projects stored and depend on Windows.

Thank you.
 
Old 10-28-2011, 01:40 PM   #2
yancek
LQ Guru
 
Registered: Apr 2008
Distribution: PCLinux, Slackware
Posts: 6,870

Rep: Reputation: 1248Reputation: 1248Reputation: 1248Reputation: 1248Reputation: 1248Reputation: 1248Reputation: 1248Reputation: 1248Reputation: 1248
Boot Red Hat on the USB, open a terminal and get partition information by loggin in as root user and running:

Quote:
fdisk -l
That's a Lower Case Letter L. Post that info here.

Do you want to use Grub bootloader to boot whatever windows version you have and Red Hat?
 
1 members found this post helpful.
Old 10-28-2011, 01:50 PM   #3
josecolella
Member
 
Registered: Nov 2010
Location: Milan, Italy
Distribution: Linux Mint 13, Debian 6.0
Posts: 62

Rep: Reputation: 3
Please, be mindful of the rules about posting questions with "HELP ME". The rules are clearly stated.
 
2 members found this post helpful.
Old 10-31-2011, 01:28 PM   #4
linux021
LQ Newbie
 
Registered: Oct 2011
Posts: 3

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by yancek View Post
Boot Red Hat on the USB, open a terminal and get partition information by loggin in as root user and running:

That's a Lower Case Letter L. Post that info here.

Do you want to use Grub bootloader to boot whatever windows version you have and Red Hat?
Thank you but now it is not even starting and I tried to go to rescue mode to correct it and I can see bash and sh shell there but I do not know how to repair it as when I try to run "grub-install /dev/sda" it says "/sbin/grub command not found" I think its due to rescue mode.
 
Old 10-31-2011, 04:18 PM   #5
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 16,818

Rep: Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408
the OLDER rhel5.4 ( the current in the 5 series is 5.7 )
and RHEL 6.1 is the current

RHEL is not free so you DID buy a support contract with the required license
( 1 year is $ 299 USD ) though there is a $49 version

https://www.redhat.com/support/
so did you READ the red hat install instructions ?
and the part on dual booting with MS windows ?
" the 5 install guide "
http://docs.redhat.com/docs/en-US/Re...ide/index.html
also

windows WHAT
XP , vista , win7 ?
all 3 have DIFFERENT instructions for dual booting

Quote:
installed RHEL 5.4 on D drive out of C,D,and E
Linux dose NOT use the MS ONLY notation of c,d,e,...
installing on D is 100% useless

where did you insall GRUB ? if you installed it
on the MBR ( first hard drive ) or the first partition of the second ( guessing D ) harddrive

you have 4 hard drives install ed on this computer ? right ?

or only 4 partitions on ONE drive ?
 
Old 11-01-2011, 04:17 AM   #6
linux021
LQ Newbie
 
Registered: Oct 2011
Posts: 3

Original Poster
Rep: Reputation: Disabled
I have one hard drive with 3 partitions c,d, and e according to windows 7 and sda1, sda2, sda3 according to rhel. I have installed grub on sdb and that is flash drive from where I have installed my rhel....I have tried rescue mode and tell me how to correct it.
 
Old 11-01-2011, 12:42 PM   #7
rng
Senior Member
 
Registered: Aug 2011
Posts: 1,011

Rep: Reputation: 25
You can download boot_info_script from http://bootinfoscript.sourceforge.net/ and run it as root. The output will be stored in RESULTS.txt in that folder which you can post here. It will clarify all the partitions and the booting info.
 
  


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




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