Difference between revisions of "Advance-topics/custom-kernel-to-install-snakeoil"

From Snakeoil OS Reference
Jump to navigation Jump to search
(Created blank page)
 
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{DISPLAYTITLE:Custom Kernel To Install Snakeoil OS}}{{TopicAdvancedTopics|float:right}}The stock kernel included in every ISO only supports a limited range of computer hardware. This is a deliberate choice because the stock kernel will support > 80% of all computers. Supporting everything risk degrading sound quality. All is not lost if the stock ISO image don't work for your computer hardware. You can re-author (modify) the ISO with a kernel tailored to your machine. This chapter describes the process.


<span name="more201"></span>
=== How To Modify USB ===
# Download the ISO, and build it to a USB stick. Follow [[Installation/create-boot-media|these instructions to create the USB boot medium]].
# Go to the [https://www.snakeoil.os-net/forums forums] and download your required custom install kernel. These files have the following naming convention:<blockquote>''install-__.zip'' (where  on the build)</blockquote>
# Extract the downloaded file to get ''vmlinuz'', like so:[[File:Extract install kernel.png|center|thumb|863x863px|Extract install kernel]]
# Your USB stick should have the following file structure (note this is for version 1.0.0 and future versions may look slightly different):[[File:Snakeoil USB Contents.png|center|thumb|694x694px|Snakeoil USB Contents]]
# Go into the folder ''casper'' (again this is for version 1.0.0 and future versions may look different)'':''[[File:Casper-original.png|center|thumb|682x682px|Casper Folder - Original Contents]]
# Rename the file ''vmlinuz'' to ''vmlinuz.backup'':[[File:Casper-backup.png|center|thumb|679x679px|Backing up the original vmlinuz kernel image]]
# Copy the file from step 3 into here, like so:[[File:Casper-modified.png|center|thumb|681x681px|Add Custom Install Kernel]]
# Safely eject the USB. And you're done.
# Now reboot the computer with this USB stick and you're now using a custom kernel specially tailored to your computer
=== How To Modify ISO ===
If you are installing Snakeoil OS using CD/DVD, you need to re-author the ISO and then write the modified ISO image to CD/DVD. You'd need a ISO re-authoring tool for this. You can follow [http://www.winiso.com/support/tutorials/edit-iso.html this tutorial].{{ManualNavigation|[[advance-topics|Advanced Topics]]|[[advance-topics/build-your-own-custom-kernel|Build Your Own Custom Kernel]]|[[advance-topics/merging-technologies-ravenna-aes67-support|Merging Technologies - Ravenna/AES67 Support]]}}
[[Category:Advanced Topics]]

Latest revision as of 09:44, 30 July 2020

The stock kernel included in every ISO only supports a limited range of computer hardware. This is a deliberate choice because the stock kernel will support > 80% of all computers. Supporting everything risk degrading sound quality. All is not lost if the stock ISO image don't work for your computer hardware. You can re-author (modify) the ISO with a kernel tailored to your machine. This chapter describes the process.

How To Modify USB

  1. Download the ISO, and build it to a USB stick. Follow these instructions to create the USB boot medium.
  2. Go to the forums and download your required custom install kernel. These files have the following naming convention:

    install-__.zip (where on the build)

  3. Extract the downloaded file to get vmlinuz, like so:
    Extract install kernel
  4. Your USB stick should have the following file structure (note this is for version 1.0.0 and future versions may look slightly different):
    Snakeoil USB Contents
  5. Go into the folder casper (again this is for version 1.0.0 and future versions may look different):
    Casper Folder - Original Contents
  6. Rename the file vmlinuz to vmlinuz.backup:
    Backing up the original vmlinuz kernel image
  7. Copy the file from step 3 into here, like so:
    Add Custom Install Kernel
  8. Safely eject the USB. And you're done.
  9. Now reboot the computer with this USB stick and you're now using a custom kernel specially tailored to your computer

How To Modify ISO

If you are installing Snakeoil OS using CD/DVD, you need to re-author the ISO and then write the modified ISO image to CD/DVD. You'd need a ISO re-authoring tool for this. You can follow this tutorial.

 Main   Advanced Topics   Build Your Own Custom Kernel   Merging Technologies - Ravenna/AES67 Support