Advance-topics/build-your-own-custom-kernel: Difference between revisions

From Snakeoil OS Reference
Jump to navigation Jump to search
No edit summary
No edit summary
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{DISPLAYTITLE:Persistent USB}}
{{DISPLAYTITLE:How To Build Your Own Custom Snakeoil Kernel}}
{{Abox|To Be Expanded}}
{{Abox|To Be Expanded}}
{{TopicAdvancedTopics|float:right}}
{{TopicAdvancedTopics|float:right}}
This is a good guide to build a RT based kernel: [http://ubuntuforums.org/showthread.php?t=2273355 Linky]
This is a good guide to build a RT based kernel: [https://ubuntuforums.org/showthread.php?t=2273355 Linky]
 
 
Expand on this later.
 
Download kernel source:
 
#Download RT patch
#Extract everything on your Snakeoil computer (this is easiest, but can be offloaded to another faster computer in the future)
#Apply RT patch
#Install all the tools necessary to build a kernel (google for list)
#run "make oldmenuconfig"
#run "make config" and enable/disable things you like
#run "make modules && make bzImage"
#run "sudo make modules_install" to install modules
#copy bzImage as /boot/vmlinuz-give-this-a-name
#update /etc/default/grub to use the new kernel
#run "sudo update-grub"
#Reboot and pray.
{{ManualNavigation|[[advance-topics|Advanced Topics]]|[[advance-topics/different-machines-for-lms-and|Different Machines For LMS and Squeezelite]]|[[advance-topics/custom-kernel-to-install-snakeoil|Custom Kernel To Install Snakeoil OS]]}}
{{ManualNavigation|[[advance-topics|Advanced Topics]]|[[advance-topics/different-machines-for-lms-and|Different Machines For LMS and Squeezelite]]|[[advance-topics/custom-kernel-to-install-snakeoil|Custom Kernel To Install Snakeoil OS]]}}
[[Category:Advanced Topics]]

Latest revision as of 20:20, 5 December 2021

!icon.png To Be Expanded

This is a good guide to build a RT based kernel: Linky


Expand on this later.

Download kernel source:

  1. Download RT patch
  2. Extract everything on your Snakeoil computer (this is easiest, but can be offloaded to another faster computer in the future)
  3. Apply RT patch
  4. Install all the tools necessary to build a kernel (google for list)
  5. run "make oldmenuconfig"
  6. run "make config" and enable/disable things you like
  7. run "make modules && make bzImage"
  8. run "sudo make modules_install" to install modules
  9. copy bzImage as /boot/vmlinuz-give-this-a-name
  10. update /etc/default/grub to use the new kernel
  11. run "sudo update-grub"
  12. Reboot and pray.

 Main   Advanced Topics   Different Machines For LMS and Squeezelite   Custom Kernel To Install Snakeoil OS