My configuration boots off of an SSD with the root and swap partitions, and /home on a 2 GB RAID1 array. I suffered several failed installations with the installer not recognizing the pre-existing RAID array. I went through a number of failed attempts at repairing the system after the installation before I realized the source of the problem. Apparently, the Kubuntu installer does not support RAID arrays out of the box for clean installations. That possibility didn't even occur to me initially.
The fix is fairly simple but a bit time consuming. Please read through the entire procedure before starting.
1. Run the Live DVD all the way to the Plasma desktop. I think that the icon to get there is labeled "Try Kubuntu" or something like that. DO NOT install Kubuntu at this point.
2. Open a terminal window and install mdadm by typing: sudo apt-get install mdadm
3. Close the terminal and start the installation normally by double-clicking on the installation icon on the desktop
4. Choose the manual partition mode, set your drive configurations appropriately. The RAID array will appear as a selection because mdadm is now installed. Without mdadm loaded prior to the installation, the RAID array will not be recognized and the system will either not install properly or even boot.
5. The installer will reboot after installation, but will fail to load Kubuntu and will drop you at an "emergency recovery" text screen.
This is actually a good thing.
Some distributions drop users into a bash terminal, which would be useless in this situation.
6. After entering your password on the emergency root console screen as prompted, type 'nano /ect/fstab' without the quotes.
7. Comment out the RAID array line by adding a # sign in front of it.
8. Save the results and reboot the system.
9. Kubuntu will reboot and create a /home folder on the system drive. If for some reason it doesn't and goes into an infinite loop back to the login screen, change users on the login screen and log in as root
10. Immediately open a terminal window and install mdadm by typing: sudo apt-get install mdadm
11. Now restore fstab by editing it with 'sudo nano /etc/fstab' (without the quotes) and deleting the # sign you placed in front of the RAID's line earlier
12. Save, exit the terminal window and reboot.
System should boot properly with the RAID array as /home if that's your intended configuration
13. Enjoy Kubuntu!
I believe that this lack of RAID support on initial installation is a serious shortcoming of the installation process. mdadm should always by loaded by the system when RAID drives are detected as the Live DVD loads and analyzes the system. Proper RAID support is spotty amongst Linux distributions. OpenSUSE Tumbleweed properly detected and installed my RAID array during installation with no problems, but GeckoLinux based on OpenSUSE 42.2 did not. Not the desired performance if Linux aspires to achieve significant penetration into the desktop market.
The fix is fairly simple but a bit time consuming. Please read through the entire procedure before starting.
1. Run the Live DVD all the way to the Plasma desktop. I think that the icon to get there is labeled "Try Kubuntu" or something like that. DO NOT install Kubuntu at this point.
2. Open a terminal window and install mdadm by typing: sudo apt-get install mdadm
3. Close the terminal and start the installation normally by double-clicking on the installation icon on the desktop
4. Choose the manual partition mode, set your drive configurations appropriately. The RAID array will appear as a selection because mdadm is now installed. Without mdadm loaded prior to the installation, the RAID array will not be recognized and the system will either not install properly or even boot.
5. The installer will reboot after installation, but will fail to load Kubuntu and will drop you at an "emergency recovery" text screen.
This is actually a good thing.
Some distributions drop users into a bash terminal, which would be useless in this situation.
6. After entering your password on the emergency root console screen as prompted, type 'nano /ect/fstab' without the quotes.
7. Comment out the RAID array line by adding a # sign in front of it.
8. Save the results and reboot the system.
9. Kubuntu will reboot and create a /home folder on the system drive. If for some reason it doesn't and goes into an infinite loop back to the login screen, change users on the login screen and log in as root
10. Immediately open a terminal window and install mdadm by typing: sudo apt-get install mdadm
11. Now restore fstab by editing it with 'sudo nano /etc/fstab' (without the quotes) and deleting the # sign you placed in front of the RAID's line earlier
12. Save, exit the terminal window and reboot.
System should boot properly with the RAID array as /home if that's your intended configuration
13. Enjoy Kubuntu!
I believe that this lack of RAID support on initial installation is a serious shortcoming of the installation process. mdadm should always by loaded by the system when RAID drives are detected as the Live DVD loads and analyzes the system. Proper RAID support is spotty amongst Linux distributions. OpenSUSE Tumbleweed properly detected and installed my RAID array during installation with no problems, but GeckoLinux based on OpenSUSE 42.2 did not. Not the desired performance if Linux aspires to achieve significant penetration into the desktop market.
Comment