2011/9/28 Pete Travis me@petetravis.com:
Bash will expand $(inane -r) for you - you can pass it any kernel you have headers installed for.
I wanted to jump in to suggest you reconsider motherboard driven fakeraid. The mainboard becomes a single point of failure, and replacing it or migrating the array can be problematic, especially with different chipset revisions or BIOS versions.
I recommend you set up a mdadm array. Drivers are in the kernel, documentation is profuse, and management is fairly simple once you get the hang of it. The graphical installer can even do it for you. Use the array for /home and possibly /etc and /var, and keep your root filesystem separate from your important data.
Hope this helps,
Pete
That's the whole idea behind it. It's on a intel-p67 chipset with the build-in intel-raid1. I tend to use an mdadm array but I'm not sure which will be simpler to set and manage afterwards. I have to say I've not worked with arrays before this.