Notes for my system:
- I couldn't get legacy boot to work. Only UEFI (using an EFI System Partition aka EPS).
- The EPS can't be on the RAID0. You must allocate ~200 megabytes to the EPS.
- KUbuntu installer was so buggy that I couldn't use it. Use Ubuntu to set up the system and then install
kubuntu-desktoppackage. - When chrooting the EPS must be mounted on
/boot/efi. - I recommend using Ubuntu 16.04 inside of virtualbox to create a startup boot disk on USB of Ubuntu 16.04 ISO. At first a tried using an earlier version of KUbuntu and it took a lot of trial/error to discover I shouldn't have done that.
Resources:
- http://askubuntu.com/questions/628258/unable-to-set-up-raid-during-kubuntu-15-04-installation
- http://askubuntu.com/questions/660023/how-to-install-ubuntu-14-04-64-bit-with-a-dual-boot-raid-1-partition-on-an-uefi
Boot the live disk and open a terminal; login to root.
apt install mdadm grub-efi-amd64-signedI'm using 4 SSD drives with device names sda, sdb, sdc, sdd.
Clear the partition tables.
for x in a b c d;do sgdisk -z /dev/sd${x};doneConfigure sda with partitions and copy the partitions to the rest of the devices.
sgdisk -n 1:0:+30M -t 1:ef00 -c 1:"EFI System" /dev/sda
sgdisk -N 2 -t 2:fd00 -c 2:"Linux RAID" /dev/sda
for x in b c d;do sgdisk /dev/sda -R /dev/sd${x} -G;doneNote: Sometimes when changing the partitions you may need to use
partprobeto notify the kernel or reboot.
Create RAID0 array from disks. (from 4th partition on all disks)
mdadm --create /dev/md0 --level=0 --raid-disks=4 /dev/sd[abcd]2Partition the RAID device.
sgdisk -z /dev/md0
sgdisk -N 1 -t 1:8300 -c 1:"Linux filesystem" /dev/md0I found the installer unreliable unless I ran it as root.
sudo ubiquity -bChoose manual partition during installation and...
- Set
/dev/sda1to be EFI. /dev/md0p1to be the/partition formatted to EXT4 filesystem.- Boot Loader
/dev/sda. - Reformat
/dev/sd[bcd]1to be EXT4 rather than EPS so that there's only one EPS partition for the installation.
To keep it simple no advanced configurations such as LVM or disk encryption were used. That doesn't mean you can't.
Your installation needs at a minimum mdadm package installed. Without it the system can't boot.
chroot in:
mount /dev/md0p1 /mnt
mount /dev/sda1 /mnt/boot/efi
mount -o bind /dev /mnt/dev
mount -o bind /dev/pts /mnt/dev/pts
mount -o bind /sys /mnt/sys
mount -o bind /proc /mnt/proc
cp /etc/resolv.conf /mnt/etc/resolv.conf
chroot /mntInstall missing packages inside of chroot.
apt install mdadm grub-efi-amd64-signedModify /etc/mdadm/mdadm.conf and remove label references.
Reboot and enjoy.
nVidia Video
sudo nvidia-xconfig --sli=onScreenshould show some information andSLIif SLI is enabled.old junk
Configure nVidia drivers by downloading from the website and http://askubuntu.com/questions/149206/how-to-install-nvidia-run
Enable SLI.
http://us.download.nvidia.com/XFree86/Linux-x86/180.22/README/chapter-25.html
Xorg -configure
nvidia-xconfig --sli=on