Dual Boot RAID Windows and Linux

Preparation is the key

Wouldn't it be great if we had one OS to rule them all, but what Windows lacks, Linux has in abundance and vice versa. If you feel the need to install and use both operating systems, don't worry, you're not alone. But anyone can dual boot...so today I'm going to show you how to setup a dual-boot RAID Windows and Linux system. Both operating systems, both RAIDed, on a single machine without hours of endless hair pulling (hopefully). I bet you're wondering what the problem is in this day and age with onboard RAID controllers. Well, for a start they're not real RAID controllers. Unlike dedicated hardware RAID cards, all onboard motherboard RAID impllementations are affectionately known as 'fakeraid' because they're not hardware at all. The actual RAID processing is still done via your CPU through drivers. This means between the OS software RAID and the fakeraid controller, there's not a lot of difference, with these exceptions: software RAID is more flexible, portable and easier to install with operating systems than fakeraid. It's flexible because you can RAID just the partitions that you want, portable because you can move the drives to another system and they're readable (compared to fakeraid controllers which require you to use the same controller family) and easier to install because you don't need some fiddly F6 install floppy driver for Windows or the extreme hassle of trying to get fakeraid controllers working through a Linux install. Software RAID, under both operating systems, is the shiz. Plus anyone can do it with just standard controllers. So that's what we're gonna use!!!


Preparation is the key
Naturally, start by planning the partition layout you want to use. For the purposes of this guide, we'll use a layout that looks like the one in the diagram below. This layout assumes two drives to be setup as RAID 0 in each OS. I'm using software RAID, so naturally this requires the OS to be installed first, at least for Windows - oddly, the Microsoft Windows installer is unable to read its own dynamic disks that are used for software RAID, so you can't create them first and then install onto them. As a result the Windows boot drive needs to be installed on its own partition. Linux has no such problem... In the diagram included below, treat the first partition of the first drive just the way Windows likes it - as a C: boot drive. This is also where the NT boot manager will naturally go. You can however point the Windows core and/or the 'program files' directory to another drive. This certainly helps in putting all your apps and games on the RAIDed partition, but not Windows itself (because the installer can't see the RAID). The first partitions counterpart on the second drive is a great place to put your /boot directory, your /home, or anything else for which you don't want to risk to the redundancies (or lack thereof) of RAID 0. These directories don't, after all, really benefit from RAID anyway and it means that you can happily re-install your Linux desktop without wiping your /home.

Linux md RAIDs Drive 1 Drive 1

Linux md RAIDs Drive 2 Drive 2

......................Linux md RAIDs...................



Windows
1. Assuming a blank drive, boot your Windows install disk (or your own slipstreamed install version) and at the partitioning stage create a single partition where you'll install Windows.

2. Do the deed and install Windows. After you reboot into your fresh desktop click Start -> Run and type in 'diskmgmt.msc' Now use the Windows disk management interface to setup all the remaining partitions you need, as per the layout of your system, including where you'll be installing Linux. There is a reason for this: namely, Linux fdisks can't see or use Windows Dynamic Disks. What's a Dynamic Disk I hear you ask? Well you're about to make one!!!

3. You'll note that while all the drives are listed as 'Basic' you won't find any software RAID options for setting up your Windows software RAID drive. To access this, right click on the drive icon in the panel and select 'Convert to Dynamic Disk'. Dynamic Disks are Windows way of doing nifty things like JBOD and RAID. Unfortunately, it requires modifying the partition table to do so, and into a format only Windows understands (but not the Windows installer...sweet )

4. You'll see the drives change colour, but the partition structure remains the same. Right click on the partitions you set aside for Windows and delete them.

5. Right click on either one of the empty space partitions you want in the RAID and select to create a 'striped' partition.

6. Select the other partition from the list, click 'Add' and create your software RAID 0 array

7. Format it in NTFS as you would any other partition.

Now let's move on to getting Linux set up...
«Prev 1 2 3 Next»

Most Recent Comments

20-02-2006, 18:51:47

FragTek
http://blog.washingtonpost.com/securityfix/2006/02/wanted_critical_windows_flaw_r.html?www.dailytech.com

This is a local company, located about 15 minutes from my house. They're giving out $10,000 to any people that find security vulnerabilites in Windows deemed "critical" by Microsoft. That's a pretty good chunk of change.

I just hope the poor company doesn't go out of business paying for all of the flaws Winblows has :D haha

20-02-2006, 21:34:57

Tec
Maybe they made a deal with MS that any flaws they find they get $20000 , so still 50% profit otherwise i doubt they will do such a campaign without any gain as it looks insane :)

20-02-2006, 21:43:23

FragTek
I say we band together to find a flaw and then split the earnings :)

21-02-2006, 02:43:10

Jim
We could hire an Indian coder from rentacoder.com for $50 to do it for us, and then take the credit ;)

21-02-2006, 06:50:22

FragTek

We could hire an Indian coder from rentacoder.com for $50 to do it for us, and then take the credit ;)


rofl, I'm in! :D

21-02-2006, 06:51:52

Jim

rofl, I'm in! :D



Isn't oursourcing to India great :D lol

21-02-2006, 06:53:46

FragTek

Isn't oursourcing to India great :D lol


Rofl they'll do anything for $50!

21-02-2006, 18:34:06

Hyper
Why dont we rent 10, just to make sure :D

21-02-2006, 19:02:45

Phnom_Penh
They don't seem to state which windows they're offering the money on... :confused:

21-02-2006, 19:05:39

FragTek
Hrmm... I would imagine any currently supported version (XP, MCE, 2k3).
Reply
x

Register for the OC3D Newsletter

Subscribing to the OC3D newsletter will keep you up-to-date on the latest technology reviews, competitions and goings-on at Overclock3D. We won't share your email address with ANYONE, and we will only email you with updates on site news, reviews, and competitions and you can unsubscribe easily at any time.

Simply enter your name and email address into the box below and be sure to click on the links in the confirmation emails that will arrive in your e-mail shortly after to complete the registration.

If you run into any problems, just drop us a message on the forums.