Ugh, RAIDs can be such a pain sometimes. Then again, hard discs in general. Here's what's going on with me:
I bought a Hitachi 500gb drive and wish to add it to my system. I already used up the 4 SATA mobo ports on other drives, so this new drive I bought for the the third IDE port. The first two IDE ports are used for my DVD-burner and CD-burner.
Now, you'll note that I have an external hard drive via firewire hooked up. That's because I knew the problem I'm about to describe was coming and was delaying the inevitable.
Here's what's it all looks like:
hda = DVD-ROM
hdc = CD-ROM
<insert "hde = Hitachi 500gb" here>
sda = WD 200gb
sdb = WD 200gb
sdc = WD 120gb (sdc and sdd are my main system partitions and there's a whole bunch of mirroring going on here)
sdd = WD 120gb
sde = Maxtor 300gb (external via firewire)
Well, I have been using a linux kernel 2.6.9 for a couple years now and have been pretty happy with it since all my hardware is happy (except of course, the occassional X/nvidia driver borkage). Adding this new hard drive to the third IDE port, however, involves using the illustrious IT8212 controller which wasn't supported in the 2.6.9 kernel.
So I need to upgrade my kernel. No biggie, I figured it was high time anyway. Part of the reason I'm getting more space is so that I can delete my current backup OS (it's still using gnome forfuckssake :)), make this OS the backup, and install a sparkling new updated OS with new kernel.
So I install my hard drive and go to town on reaquainting myself with the intricacies of the linux kernel 2.6.21. Wow! I had no idea they made so many changes to the kernel in so little a span of versions. They're moving all sorts of shit around, creating new categories, adding tons of shit (which is expected), and generally reaking havoc on my well-organized list of drivers I needed for my old kernel. So this takes much longer than planned, but I eventually I have a nice tight new kernel.
Update LILO (the bootloader) with the new kernel in there. Reboot. Borkage.
Here's the deal, my bootloader (LILO) is placed on my sda drive. This is splendid and fine when there's no hde drive, but the hardware looks for the bootloader on the very first disc it finds which used to be sda, but is now hde. OK, so when you update LILO just have it put itself on hde, right? Well, that'd be nice but as far as my old kernel, 2.6.9 (the one I'm running), is concerned, there is no hde because it doesn't have the driver to see it so LILO can't see it either. Chicken meet egg.
Now there are several ways around this problem, but the easiest is to just use your linux floppy boot disk. Go back into 2.6.9, update LILO with the new kernel onto it. Reboot.
Yay! I'm in the new kernel. Everything is sweet and my new hde is visible. Now I just need to update my video drivers for the new kernel so I can get into GUI mode and everything else should go smoothly and take about 10 minutes to finish.
Aside:
Nvidia. Nvidia is one of two makers of video cards (GPUs actually; ATI is the other). These two companies are in some kind of war over keeping their secrets from one another. Nvidia is not friendly to open-source communities like the Linux world. Nvidia refuses to open their drivers to allow the Linux people to improve them for Linux systems. Nvidia doesn't spend a whole lot of time perfecting their Linux drivers because Linux users only represent a small portion of their clientelle. Nvidia drivers suck.
I have been using an old version of the Nvidia drivers. Back then they tried to get me to install with some crazy "installer" script like this was windows or something, but back then I tried many times and it simply never worked. So I had to manually install it, and it worked. Now I am aware that the non-fatal crashes that occassionally plague my computer (X system to be specific) are related to this driver. So in the spirit of updating shit, before I embarked on the kernel upgrade, I downloaded the newest Nvidia drivers under the assumption that they probably fixed a few things and that this should improve video stability.
Now that I'm running the new kernel, it's time to break out the new Nvidia drivers. I run their "installer" thingee and follow their guidelines. And it says I'm done. So I try to enter Linux GUI mode. The screen flickers, looks like it's starting, then borks. So I do the process again. Bork. Again. Bork. Then I start looking into doing the manual install thing. Hmmm... that's weird. I don't seem to be able to do that with this new driver. Can't do anything else, so I reboot to go back to 2.6.9.
Bork. Swearing ensues. It should be noted that the Nvidia "installer" POS goes about installing drivers not just for the currently acting kernel, but for all kernels. Thus, my perfect 2.6.9 system now has crappy new Nvidia drivers fucking it up proper. Nothing for it but to try to get them working on this kernel, so into the "installer" I go. Bork. Back to my old drivers: install. Bork. Hysteria ensues. Manual install. Bork. Back to the new ones: install. Bork. Install. Works. WTFARGH!
Yes, suddenly, and without apparent reason, the _new_ drivers started working on the _old_ kernel whereas they hadn't several times just before, and after they apparently screwed up the _old_ drivers working on the _old_ kernel. (NOTE: they only worked for my dual monitors; the TV out was borked completely). So after hitting the Nvidia website, I find they no longer _allow_ me to do manual install and the "installer" shitpile is all I get to use.
Then I went on vacation.

But now I come back to this problem of having a new hard drive and not being able to use it because I can't get the GUI to run on the new kernel because the damnable Nvidia proprietary drivers don't allow me any wiggle room on the install and all I get is their "installer" thingee which doesn't work. And to make it worse, now I don't even have full functionality from my old system. Blegh.
</rant-against-the-machine>