osdir.com


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Install experience 16.04.3 nvidia fakeraid dm-cache


Took me some 8 hours to install Kubuntu 16.04.3 ;-).

The nVidia nForce chipsets motherboards of old (AM2+) have built-in 
support in Linux for their RAID.

Grub2 comes with the dm_nv.mod module which allows Grub2 to actually 
read everything on the disk.

This requires at least "grub-install <device> --modules "diskfilter 
dm_nv"" but I think also GRUB_PRELOAD_MODULES="diskfilter dm_nv", not 
sure.

After that Grub is already set and done.

Initramfs was more difficult. Dmraid doesn't come with an adequate 
/usr/share/initramfs-tools/scripts/local-top/dmraid, although I am 
grateful it comes with anything at all.

cp /usr/share/initramfs-tools/scripts/local-top/dmraid 
/etc/initramfs-tools/scripts/local-top
echo "dmraid -ay" >> /etc/initramfs-tools/scripts/local-top/dmraid

Fixed that basically.

But I also wanted to cache my root filesystem. Now unfortunately Ubuntu 
still doesn't provide thin-provisioning-tools by default.

Also there is a bug in Ubiquity 
(https://bugs.launchpad.net/ubuntu/+source/ubiquity/+bug/1607687) in 
which the failure of the Grub installation causes package corruption.

You cannot decide not to install Grub, so this means that any system in 
which manual Grub installation is required ends up with some broken 
packages.

Dmraid, cifs-utils, and libgtmm are effected, among possibly others.