LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
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 09-29-2012, 12:13 PM   #1
Darrell22
Member
 
Registered: Nov 2003
Posts: 62

Rep: Reputation: 15
Question How to add Windows to Redhat and make a dual boot machine?


Dear Experts,


To begin, yes, I'm already familiar with VM Ware.
But I can install VMWARE and windows without anyone's help.



I currently have a Redhat Linux setup on one hard drive.
Logically, it look like:


hd0
---------------------------
MBR | /boot| swap | linux
---------------------------


This has taken a very long time to install and configure,
so this Linux hard drive MUST stay exactly as it is.


I'd like to add a second hard drive, and make this a
dual boot machine with Windows 7 or 8.


Either:

Option one:

hd0:
---------------------------
MBR | Windows
---------------------------

hd1:
---------------------------
/boot | swap | linux
---------------------------


---

OR, Option two:

hd0:
---------------------------
MBR | /boot| swap | linux
---------------------------

hd1:
---------------------------
Windows
---------------------------


Although, being quite familiar with the first method, I
would prefer to do the first option. Windows
always like to dominate a machine.



Questions:


1) Does anyone have any experience with option 2?
Keep Redhat as is, then, add a Windows partition?
Is this possible? If so, how to do it?


2)
Assuming I do the first option.
I would insert a HDD, and install Windows.

Then, With the Redhat install, is there a way to only install
the MBR and /boot portion onto the Windows HDD?
If so, how to do it?

Thanks a lot!
 
Old 09-29-2012, 12:28 PM   #2
nijinashok00
LQ Newbie
 
Registered: Sep 2012
Posts: 28

Rep: Reputation: Disabled
It's not recommended to install Windows after Linux installation. Because Windows boot loader over writes linux booting
 
Old 09-29-2012, 01:16 PM   #3
Darrell22
Member
 
Registered: Nov 2003
Posts: 62

Original Poster
Rep: Reputation: 15
Thanks for responding.

Yes, that was my sense also.
Any ideas on how to do option 1?
 
Old 09-29-2012, 01:18 PM   #4
Elv13
Member
 
Registered: Apr 2006
Location: Montreal,Quebec
Distribution: Gentoo
Posts: 825

Rep: Reputation: 128Reputation: 128
Windows partition have to be primary. BIOS based computer limit the number of primary partitions to 4. If you want to add more partition later, think about this now.

Windows installation will overwrite the bootloader (GRUB). You will have to manually fix it. Do not backup your MBR, just fix the bootloader after the fact. Google will help you, it is a very common operation.

Also, if you dual boot your computer, my guess is that it is not a server. If this is the case, think twice if RedHat Enterprise is really for you. First, be sure you paid for it, otherwise you wont get updates. Both the free CentOS RedHat clone and RedHat own free version, Fedora, may be a better fit for you. Fedora also get updates to desktop applications like Firefox and LibreOffice much more often than RedHat. Redat Enterprise Linux is really built for servers. Also, if you are looking for "Linux", then other distributions like Ubuntu and Mint may be a better fit.

Back to the problem you have. Installing Linux and Windows on the same drive is usually a better idea. Since the SATA era, it is harder to setup disk priority and it sometime change when you plug in more storage, so not having 2 drives with bootloader fighting each other is a better idea.
 
Old 09-29-2012, 01:23 PM   #5
TobiSGD
Moderator
 
Registered: Dec 2009
Location: Hanover, Germany
Distribution: Gentoo
Posts: 15,357
Blog Entries: 2

Rep: Reputation: 3980Reputation: 3980Reputation: 3980Reputation: 3980Reputation: 3980Reputation: 3980Reputation: 3980Reputation: 3980Reputation: 3980Reputation: 3980Reputation: 3980
Disconnect the Linux disk, connect the Windows disk to the first port on the Mainboard. Then install Windows on it. Now connect the Linux disk to the second port of the mainboard and use SuperGrubDisk to boot the Linux installation. Since your Linux disk is now /dev/sdb and not /dev/sda anymore you have to correct that in /etc/fstab, if you don't use labels or UUIDs. Now install the bootloader (I assume it is Grub) to /dev/sda and update the config file for Grub
Code:
grub-install /dev/sda
grub mkconfig -o /boot/grub.cfg
Of course, as usual, before doing anything make a backup (which you should have anyways already).
 
  


Reply

Tags
dual boot, 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
Losing Windows boot on dual boot Windows/Ubuntu machine windows22 Linux - Newbie 32 08-30-2010 09:54 PM
Want to upgrade Windows Vista to Windows 7 on a Dual Boot machine Ubuntu/Winvista. hector3rd Linux - Desktop 6 08-07-2010 05:33 PM
windows boot slow on dual boot machine fobster Linux - Newbie 4 04-21-2006 07:58 AM
Windows on to linux machine dual boot chplat Fedora 2 01-18-2005 03:12 AM


All times are GMT -5. The time now is 01:06 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration