I want to install Ubuntu 13.04 (not server), I have 4 empty hard drives (/dev/sda, /dev/sdb, /dev/sdc, /dev/sdd), each 150 gb and /sdd is 160 gb and I have a Live USB.

I want to install Ubuntu on a RAID 5 array using mdadm. What exactly do I need to do? I made four ext4 filesystems and four swap partitions and created an array (of all 8), but after install it didn't boot.

And on this thread, I read something about a separate /boot partition, but I don't really get that.

Can someone explain this please? I understand the problem, but I don't know how to solve it.


Your description sounds weird. Forgive me if I misunderstood.

If you have four disks, created eight partitions on them, and then created a single RAID 5 over those eight partitions, then you have not understood the concept of RAID at all. You would have no redundancy in such a setup, and a single drive failure would be catastrophic. You'd be better off without RAID at all than use it in such a broken way.

If you have four disks, the number of devices in the array must be at most four (one for each disk). You must not use the same disk twice for the same array. (It's okay to have separate arrays for swap, data, etc, if the disks are partitioned accordingly).

The Desktop Live CD doesn't really support Software RAID. You can still do it; if you know how to set up RAID manually and create filesystems on it and (after the installer ends) chroot into the freshly installed system and make it bootable manually. But this requires in depth know how of all processes involved. And it may still fail, as the Destkop installer isn't supposed to be used this way and may fail to finish the installation properly.

It might be easier to just use the Server install, have it set up Software RAID for you, and then proceed to install the missing desktop environment packages once the "server" system boots.

Alternatively you could use the Alternate-CD to install Ubuntu. It's only available for Ubuntu 12.04 but nothing would stop you to upgrade to 13.04 after installing. You can find it here http://releases.ubuntu.com/precise/


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.