Go Job Hunting at the LQ Job Marketplace
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 04-04-2011, 08:57 PM   #1
Registered: Nov 2003
Posts: 79

Rep: Reputation: 15
Question How to install only grub and MBR on Redhat?

Dear Experts,

I currently have a dual boot machine.
Windows XP on C:
Redhat Linux is on a second drive.
MBR and /boot with grub are on the C: drive.

I spent a lot of time installing and configuring the Linux applications on the secondary drive.

This machine is rather slow.
I'd like to remove the second drive with apps on Linux and put it into a different faster machine.
Ideally, make it another dual boot machine.

So far, with the Redhat install program, I can only see installing the whole operating system,
which would wipe out everything.

Is is possible to install just the MBR and grub alone?
What is the secret?

Thanks a lot!
Old 04-04-2011, 10:26 PM   #2
John VV
LQ Muse
Registered: Aug 2005
Posts: 14,917

Rep: Reputation: Disabled
what version of RHEL ????
in the 5 series 5.6 is the current
but RHEL 6.0 is out ( you can not "update" 5.6 to 6.0 )
a clean install is needed for 6

just pop in the rhel 5 install dvd and there is an option to" upgrade"
in those options there is an option to install grub or not to install gurb
then run yum to upgrade the os to the current -- 5.6
Old 04-04-2011, 10:30 PM   #3
Larry Webb
LQ Veteran
Registered: Jul 2006
Location: Crystal Beach, Texas
Distribution: Suse for mail +
Posts: 5,100
Blog Entries: 7

Rep: Reputation: 229Reputation: 229Reputation: 229
If I understand you want to remove the h/d with linux and grub is on the windows hd and mbr. If so take a live linux cd that uses grub and install grub on your new machine. There are a few things we need to know before we can help with the procedure. We will need you to post the results from the command 'fdisk -l'(small L) from your new computer. The old machine still should boot if grub installed on your windows hd.
Old 04-05-2011, 02:08 AM   #4
LQ Veteran
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 13,248

Rep: Reputation: 1287Reputation: 1287Reputation: 1287Reputation: 1287Reputation: 1287Reputation: 1287Reputation: 1287Reputation: 1287Reputation: 1287
Larry, the OP will need more than just grub - kernel(s) and initrd(s) for example.
Best to copy /boot across to the secondary disk before removing it. Might as well do the MBR as well. If the fstab is set up properly, probably nothing to do after the swapout. Let's see that fdisk output, and a "cat/etc/fstab".
Old 04-05-2011, 05:05 AM   #5
Larry Webb
LQ Veteran
Registered: Jul 2006
Location: Crystal Beach, Texas
Distribution: Suse for mail +
Posts: 5,100
Blog Entries: 7

Rep: Reputation: 229Reputation: 229Reputation: 229
Right but if he is installing it as a secondary (slave) drive in his new computer there is still going to be work to do.


grub, mbr

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
How do I re-install Grub onto the MBR? satyakb Mandriva 5 04-11-2008 10:50 AM
re-install grub to mbr nomb Fedora 1 11-19-2007 10:09 AM
Grub won't install in MBR PB0711 Linux - Software 4 05-02-2007 01:12 AM
how do i install grub in the mbr? spyghost Linux - Newbie 2 11-07-2003 09:52 AM
GRUB Install on MBR JakeFarley Linux - Newbie 3 10-22-2002 07:16 AM

All times are GMT -5. The time now is 07:37 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration