Ubuntu – Installing Ubuntu 14.04 on Asus Zenbook (RAID)

grub2raidsystem-installation

This machine have 2 128 GB SSD drives (http://www.amazon.com/dp/B00EPGHE0E/ref=twister_B00JYFOKKS).

I managed to install Ubuntu with no problems on one SSD drive, but I am having following troubles with RAID setup. Here is the details:

  • I boot from live USB (try Ubuntu option).
  • Install mdadm: sudo apt-get install mdadm.
  • Create RAID:

enter image description here
enter image description here

  • Run installer:

enter image description here

  • It fails to install GRUB:

enter image description here

I also tried to install grub manually after installer failed:

  • I looked how RAID is partinitioned:

enter image description here

  • Added BIOS Boot partinition:

enter image description here

  • Tried to install GRUB:

    $ sudo mount /dev/md127p4 /mnt

    $ sudo mount /dev/md127p1 /mnt/boot

    $ sudo grub-install --root-directory=/mnt /dev/md/127

    Installing for i386-pc platform.

    grub-install: error: diskfilter writes are not supported.

  • Tried solutions proposed in Diskfilter writes are not supported > What triggers this error? but still same error.

UPDATE:

I tried with alternate install image, following this video https://www.youtube.com/watch?v=-x2rZe2Z9as, but, after reboot there are no boot options, BIOS opens without any boot option. I had a boot partition on /dev/sda, GRUB was installed on it, but was unable to boot for some reason.

Best Answer

  • The BIOS boot partition(s) must be created on the disk(s) not the RAID device.

    One BIOS boot partition is enough for you as your system won't boot with one disk only.

    Linux soft RAID works on partitions, not drives. So you'll have to create one partition for the BIOS boot and one for the RAID.

    You could have to create a third partition. /boot can be on RAID 1, can't be on RAID 5, and I'm not sure about RAID 0 but it probably can't.

  • Related Question