isorespin.sh Script Updates Ubuntu ISO Files with Mainline Linux Kernel

Devices based on Intel Bay Trail and Cherry Trail processors have been popular due to their integration into low cost system (for an Intel platform), but Intel did not prioritize Linux development for those processors, so while Linux could run, you’d have various problems with HDMI audio, system freezes, and wireless drivers, unless you used a custom kernel. The goods news is that Linux 4.11 will feature fixes for HDMI audio and system freeze, and so you won’t need a custom kernel anymore. Ian Morrison (Linuxium), who has been working on improving Linux for those devices since they were first released, has now released isorespin.sh script to automatically update any Ubuntu ISO image to the latest mainline Linux RC kernel built by Canonical, but not integrated by default in the ISO.

Once you’ve downloaded isorepin.sh and your ISO of choice, e.g. ubuntu-16.04.2-desktop-amd64.iso, you can update the ISO with mainline Linux using the following command:


The script will update the ISO with the latest Linux-4.11-RC4 kernel, but as new Ubuntu mainline Linux kernel versions become available, you’ll be able to update two lines in the script to match the latest version:


If you run this image on Bay Trail or Cherry Trail mini PC, you should get HDMI audio and no problem with the “frequent freezes” bug, but if you also need WiFi and Bluetooth support, you may have to run a few more scripts for Broadcom or Realtek wireless modules, and analog audio (headphone jack) support.

Share this:

Support CNX Software! Donate via cryptocurrencies, become a Patron on Patreon, or purchase goods on Amazon or Aliexpress

Radxa Orion O6 Armv9 mini-ITX motherboard
Subscribe
Notify of
guest
The comment form collects your name, email and content to allow us keep track of the comments placed on the website. Please read and accept our website Terms and Privacy Policy to post a comment.
13 Comments
oldest
newest
Pepe
Pepe
7 years ago

Somebody should look at USB 3.0 controller and USB devices as well.

http://forums.debian.net/viewtopic.php?f=10&t=132324

Pratham
Pratham
7 years ago

I downloaded the Ubuntu-16.04.2-desktop-amd64.iso checked its md5sum but when I try to execute isorespin I get “file must be an Ubuntu iso… Exiting”

Linuxium
Linuxium
7 years ago

@Pratham
Are you downloading the ISO from http://releases.ubuntu.com/16.04.2/ubuntu-16.04.2-desktop-amd64.iso (using wget works well) and what do you get when you run the command ‘file -b’ against your ISO (e.g. file -b ubuntu-16.04.2-desktop-amd64.iso)?

Linuxium
Linuxium
7 years ago

@Pratham
As my earlier comment is awaiting moderation because I included a link here is a revised version.

What do you get when you run the command ‘file -b’ against your ISO (e.g. file -b ubuntu-16.04.2-desktop-amd64.iso)?

Tired_
Tired_
7 years ago

Is there a decent LibreELEC for Bay Trail? I’m thinking of putting that on my old HP Stream 7, think it would make a nice little media tablet.

Linuxium
Linuxium
7 years ago

@Pratham
It seems the unexpected error ‘File must be an Ubuntu ISO … exiting.’ is because the ‘file’ command appears to return a different result when running the script on a non-Ubuntu platform. Please make a one-off update to the script by running the command ‘sed -ie “49,53d;59d” isorespin.sh’ which should then enable it to run without issue.

Shahin
Shahin
7 years ago

Hello, I downloaded the script and the ubuntu iso. But I enter the command to run the script with the iso as parameter, it tells me “./isorespin.sh command not found”. I don’t understand why 🙁

Shahin
Shahin
7 years ago

Ah thank you! I will try it after my swimming lesson ! 🙂

Shahin
Shahin
7 years ago

It works! Thank you very much! 🙂

The Cageybee
The Cageybee
7 years ago

Does the script work on Lubuntu iso’s as well?

Linuxium
Linuxium
7 years ago

@The Cageybee

Yes the latest version (http://linuxiumcomau.blogspot.com.au/2017/04/creating-personalized-ubuntu-mint-and.html) works on all flavours of Ubuntu (i.e. Lubuntu, Xubuntu …) and also LinuxMint, Debian Live …

Linuxium
7 years ago

For latest documentation and examples of how to use ‘isorespin.sh’ including new features see http://linuxiumcomau.blogspot.com.au/2017/06/customizing-ubuntu-isos-documentation.html

Boardcon Rockchip RK3588S SBC with 8K, WiFI 6, 4G LTE, NVME SSD, HDMI 2.1...