PDA

View Full Version : Complete Guide to Installing a Fake Raid in Ubuntu



nicolas59
February 22nd, 2016, 09:42 AM
Hello, and thanks for reading.

A Complete Guide to Installing a Fake Raid in Ubuntu.

This guide will educate and explain all aspects regarding installing a fake raid in Ubuntu, if for some reason you are unable to install a software raid.


Some of the problems you can encounter when installing a fake raid are:


Raid array not being detected by the installer
Stuck on 'Creating EXT4...'
Error installing grub (Courtesy of *will reference later*)

This guide will also provide information regarding what bios settings to run in, what partition tables to use etc.

1. BIOS SETTINGS

It is not immediately clear what settings to use, simply put the setting one needs first are: RAID AND LEGACY

This enables the user to edit raid arrays while supporting windows and linux communication via hard disk (if necessary). An example would be if I needed windows to run a specific program I have on linux.

2: Partitioning Windows. IF UNNEEDED Skip to 4

Installing Windows is usually a good idea in case Wine doesn't cut it.

Assuming you have a windows and linux bootable flash drive, insert the linux one now.

Boot into linux live off the flash drive, do not choose to install or go into the raid array options just yet.

Open Gparted. (your best friend)

Pick the disk you are sacrificing for windows and create a new MDOS partition.

Reboot, and insert the WINDOWS flash drive

3. INSTALLING WINDOWS

Boot into windows and make sure to select the settings which installs it on the correct drive. Windows is foolproof, it should be easy.

After that windows should be installed correctly, ready for the linux dual boot.

4. Partitions, Linux and You.

Windows flash drive is unneeded now. You may burn it.

Boot into linux live.

Open Gparted and create a GPT partition table on all RAID disks. DO NOT CLICK THE WRONG ONE OR ALL DATA SPECIFICALLY THE WINDOWS PARTITION WILL BE LOST

Reboot and configure the raid array. My hotkey was CTRL + I

Reboot after configuring the raid array and boot into linux live again.

5. INSTALLING UBUNTU

Open Gparted, and create a new GPT partition table on the new raid array. DO NOT CREATE AN EXT4 PARTITION. THIS WILL SOLVE IT BEING STUCK IN THE INSTALLER.

Congrats, everything is now configured correctly for installation.

Open Install Ubuntu.

Go through the installer. I don't see a reason to use manual partitioning, but make sure to select the correct drive when doing so.

Click 'Install ubuntu alongside Windows'.

If done correctly, there should be no problems until GRUB complains. If it doesnt, consider yourself lucky and enjoy. If not, keep reading.

6. GRUB AND YOU

ATTEMPT TO INSTALL GRUB ON ANOTHER DISK IF IT ASKS YOU TO. THIS MAY FIX YOUR PROBLEM

If like me it doesnt install correctly, boot into linux live one last time.

Run these commands:

sudo apt-add-repository ppa:yannubuntu/boot-repair
sudo apt-get update
sudo apt-get install -y boot-repair
boot-repair
This will install a BEAUTIFUL program which will repair GRUB

Click recommended repair and go through all the steps. When installing grub again, pick ALL the hard drives. Reboot when finished.

CONGRATULATIONS, YOU HAVE FINISHED THE GUIDE. I hope this helps, as the reason I wrote this was because there was a lack of instructions regarding this topic.

Thanks for reading.