oshunluvr
October 10th, 2009, 05:32 PM
I'm a fairly experienced linux user and have done the below with many other distros. However, I am coming over from openSUSE and this is my first attempt at a debian based distro so there's a learning curve involved. Here's my situation:
4 sata hard drives, containing 4 different RAID0 partitions of various sizes. All clean and created with mdadm a year ago. No issues with any of the hardware.
I have 2 RAID0 devices I use as root partitions ( "/" ) for installs and two non-raid partition for use as "/boot? for these installs. I have successfully done this procedure with four other distros to install root to raid.
1. Boot liveCD
2. Install mdadm
3. Assemble arrays
4. Install OS to /boot partition and to / (RAID0) partition
5. Reboot and good to go.
Obviously, this method does not work with kubuntu jaunty. I spent the last six hours reading posts on this topic and most were regarding other issues (GRUB, dual booting, hardware or BIOS setup "fake" RAID). Many references to https://help.ubuntu.com/community/FakeRaidHowto but frankly this post isn't well written and jumps from issue to issue with very little real information about software raid - non of which helped me.
Here's what I've tried so far:
1. Steps above with kubuntu jaunty results in boot error "device /dev/md5 does not exist".
2. Figured out mdadm is not installed by default nor enabled in initramfs.
3. Did a side-by install to a non-RAID partition, installed mdadm, rebuilt initrd with mdadm enabled and then manually copied mdadm files from install to RAID partition and rebooted to RAID.
4. This resulted in a similar error at boot time, but when dumped to the command line busybox or initramfs command line or whatever you guys call it) the error still said /dev/md5 did not exist, but a quick "cat /proc/mdstat" showed all 4 RAID partitons up and running.
Its seems I'm close, but RAID isn't loading soon enough in the boot sequence to work.
What to try next???
4 sata hard drives, containing 4 different RAID0 partitions of various sizes. All clean and created with mdadm a year ago. No issues with any of the hardware.
I have 2 RAID0 devices I use as root partitions ( "/" ) for installs and two non-raid partition for use as "/boot? for these installs. I have successfully done this procedure with four other distros to install root to raid.
1. Boot liveCD
2. Install mdadm
3. Assemble arrays
4. Install OS to /boot partition and to / (RAID0) partition
5. Reboot and good to go.
Obviously, this method does not work with kubuntu jaunty. I spent the last six hours reading posts on this topic and most were regarding other issues (GRUB, dual booting, hardware or BIOS setup "fake" RAID). Many references to https://help.ubuntu.com/community/FakeRaidHowto but frankly this post isn't well written and jumps from issue to issue with very little real information about software raid - non of which helped me.
Here's what I've tried so far:
1. Steps above with kubuntu jaunty results in boot error "device /dev/md5 does not exist".
2. Figured out mdadm is not installed by default nor enabled in initramfs.
3. Did a side-by install to a non-RAID partition, installed mdadm, rebuilt initrd with mdadm enabled and then manually copied mdadm files from install to RAID partition and rebooted to RAID.
4. This resulted in a similar error at boot time, but when dumped to the command line busybox or initramfs command line or whatever you guys call it) the error still said /dev/md5 did not exist, but a quick "cat /proc/mdstat" showed all 4 RAID partitons up and running.
Its seems I'm close, but RAID isn't loading soon enough in the boot sequence to work.
What to try next???