![]() $ ln -sf /usr/src/linux/arch/x86/include/asm /usr/include/asm ![]() $ ln -sf /usr/src/linux/include/linux /usr/include/linux $ ln -sf /usr/src/linux/include/asm-generic /usr/include/asm-generic On unRAID 5 RC12 and lower (including unRAID 4.7), you can link the following sources: $ & mv /usr/include/asm /usr/include/asm_original $ & mv /usr/include/asm-generic /usr/include/asm-generic_original $ & mv /usr/include/linux /usr/include/linux_original Move existing kernel headers includes, and replace them with the new source includes: $ cp -f /usr/src/linux_original/.config /usr/src/linux/ ![]() $ cp -rf /usr/src/linux_original/* /usr/src/linux/ $ ln -sf /usr/src/linux-2.6.32.9 /usr/src/linuxĬopy all default drivers and configuration to the new source directory: Link the new source directory (change linux-2.6.32.9 to match your version's kernel) to "/usr/src/linux" path: Now extract the vanilla kernel file (change linux-2.6.32.9.tar.gz to match your version's kernel) into "/usr/src": $ mv /usr/src/linux-3.9.6p-unRAID /usr/src/linux_original For example in 5.0 - i386, use this command instead. Note: On unRAID 5.x you will see the kernel version at the end of "/usr/src/linux". $ mv /usr/src/linux /usr/src/linux_original Go to "/usr/src" directory, and rename the folder "linux" to "linux_original". Installing the kernel source and making your own headersįirst, install the ".tgz" or ".txz" packages from above. 5.0 - i386, grab this version of the kernel instead -> įor unRAID version 5 RC13 and newer (kernel 3.9 and greater), you will also need these packages:
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |