Skip to content

Instantly share code, notes, and snippets.

@awesomebytes
Created October 30, 2022 05:35
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save awesomebytes/19d864205557862156c60e51721f4f0b to your computer and use it in GitHub Desktop.
Save awesomebytes/19d864205557862156c60e51721f4f0b to your computer and use it in GitHub Desktop.

Create a live ubuntu cd with PREEMPT_RT

Based on: https://askubuntu.com/a/741770

I compiled the kernel with PREEMPT_RT previously (notes here: ). Then I extracted the .deb files following these instructions: https://askubuntu.com/questions/1340273/is-there-any-way-to-extract-content-of-vdi-file (As the shared folder from Virtualbox did not work for me).

Install Cubic

sudo apt-add-repository ppa:cubic-wizard/release
sudo apt install cubic

Follow the prompts, choose a folder to work on, choose the ISO to base it on...

and you'll be dropped in a virtual environment (chroot) inside of the image.

Copy files (rt .deb files) by dragging them into the terminal window.

Install them with dpkg -i *.deb.

Click next, edit the fields on image name and so on (I added "RT"), go next, check the compression type (I left it at gzip after failing with lzma).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment