Installing Ubuntu 64 bit on Intel Raid 0 configuration

I recently decided to change my desktop environment to run Ubuntu and virtual machines for each of my development projects. In order to do this I wanted a 64bit version of Linux to get the most out of my current hardware configuration. I battled a bit with the installation of Ubuntu 11.04 64bit since I was using an Intel raid0 configuration. Below are the steps I followed to get it working…

1. Firstly we need to make sure that raid0 is correctly configured in the BIOS.
2. We then need to boot from the Ubuntu 11.04 live CD/USB drive
3. For Ubuntu 11.04 we then need to install the kpartx package via Synaptic Package Manager
4. To partition the striped volume, we must use GParted and not the partition tool from the Ubuntu installer. The raid set will be of the form – /dev/mapper/isw\_jhsdhafas\_MachineName
5. Now we can delete and create our desired partitions. The partition we want to mount to / will have to be ext2, since the installer will automatically select to reformat it at the partioning stage. I suggest using only one ext2 partition for the whole striped volume if you have enough RAM and don’t need a swap partition, or if you don’t have a special reason for multiple partitions.
6. Format the partition(s) with GParted. If we don’t create and format the partitions in GParted before installing, the installer will fail at the creating partitions stage
7. We can now run the Ubuntu installer from the desktop icon
8. When asked to Allocate drive space, we select “Something Else – You can create or resize partitions yourself, or choose multiple partitions for Ubuntu”
9. In the partitioning stage we can choose all the partitions that we just created and give them the appropriate mount points (/, /home/ etc.), but ensure that the Format checkbox is NOT checked. We also have to select the correct “Device for boot loader installation” – which is our striped volume as seen earlier in GParted (in the form /dev/mapper/isw\_hyhjyyu7y\_MachineName).
10. We can now proceed with the rest of the install as normal

Posted in Blog, Develop, Stuff
Tweets