Browsed by
Category: Tutorial

Compiling the Linux Kernel on Ubuntu

Compiling the Linux Kernel on Ubuntu

Hi everyone, In this post, we will be seeing how to compile the Linux Kernel on Ubuntu. Unfortunately, in the past few weeks, we have not had a successful compile of the latest Linux 6.1.0 rc6 and rc7 releases. If you go to the Ubuntu Kernel daily page, you will see that the last successful build was on November 18th, and that there has not been a valid build since then. Therefore, we will be setting up our environment to…

Read More Read More

You can now upgrade to the development version of Ubuntu 23.04

You can now upgrade to the development version of Ubuntu 23.04

Hi everyone, It is now possible to upgrade your existing installation of Ubuntu to the development version of Ubuntu 23.04, also called “Lunar Lobster”. In this post, we will see how to perform the upgrade. First, open the terminal and write do-release-upgrade -d: Now, you need to accept the terms by pressing “y”: Next, you may get a message telling you that third-party repositories have been disabled. Press Enter to continue: Now, we need to again, press the “y” key…

Read More Read More

You can now install the daily Linux Kernel 6.0.0-rc6 in Ubuntu!

You can now install the daily Linux Kernel 6.0.0-rc6 in Ubuntu!

Hi everyone, Today, we got a successful build of the Linux Kernel 6.0.0-rc6 in the Ubuntu Mainline Kernel HTTP website. This means we can now install it manually in our systems without the need to build it manually. The changelog for the changes since the main Linux Kernel 6.0.0-rc6 seem to indicate that the Linux Kernel 6.0.0-rc7 will include some fixes for the High Definition Audio interface (HDA) on some machines. These are already in this daily version. Specifically, the…

Read More Read More

Changing the CPU Governor to Performance in Linux

Changing the CPU Governor to Performance in Linux

Hi everyone, In this post, I’ll show you how to change the CPU governor in Linux to the Performance mode. This will allow your machine to run to its full potential as the CPU will be running to its maximum supported clock regardless of the load. Normally, we can choose between these CPU scaling governors: Therefore, if we want to get the maximum performance, we should use the performance governor. Some Linux distributions may also use another governor called schedutil…

Read More Read More

Changing our Virtual Machine USB Controller Model from qemu-xhci to nec-xhci

Changing our Virtual Machine USB Controller Model from qemu-xhci to nec-xhci

Hi everyone, In this post, we will change our Virtual Machine USB Controller from the default qemu-xhci model to nec-xhci. After attempting to pass a USB Audio Class 2.0 device using the generic Standard QEMU XHCI controller, I was having some sound issues, particularly with constant pops and distortions while bistreaming audio. After checking for solutions, it seems we can use the nec-xhci controller. This is what I did, and it fixed the sound issues I was having. Before doing…

Read More Read More

Passing the BIOS information from our PC to our QEMU/KVM Virtual Machine

Passing the BIOS information from our PC to our QEMU/KVM Virtual Machine

Hi everyone, In this post, we will see how simple it is to pass our physical machine BIOS information to our QEMU/KVM Windows Virtual Machine. Apparently, this is a way some software checks to see if it is running behind a VM and adding a simple line of configuration will pass our real machine BIOS info to the VM, so the software will read the real info rather than the one from the virtualized BIOS. Here’s an image from CPU-Z…

Read More Read More

Disabling the Ubuntu Splash Screen / Show log during boot

Disabling the Ubuntu Splash Screen / Show log during boot

Hi everyone, In this post, we’ll see how to disable the Ubuntu splash screen and enable showing the boot log when we start our machines. This is useful because it allow you to watch the system initializing instead of just showing the splash screen. These instructions should work for any system that uses GRUB as its bootloader. I’m using Ubuntu 22.10. To disable the Ubuntu splash screen, we must edit the GRUB configuration file found at /etc/default/grub. I will use…

Read More Read More

TPM Passthrough in Linux Virtual Machine Manager (virt-manager)

TPM Passthrough in Linux Virtual Machine Manager (virt-manager)

Hi everyone, Today, we will see how to pass our TPM (Trusted Platform Module) from our machine to our QEMU/KVM virtual machine using the Virtual Machine Manager tool. We will also modify an AppArmor configuration file to allow access to it. This is needed mostly if you plan on using Windows 11 as a virtual machine, unless you use a method to patch a Windows 11 ISO image in order to install it. Once Windows 11 is installed, the TPM…

Read More Read More

Installing the Linux Kernel 6.0.0-rc5 in Ubuntu

Installing the Linux Kernel 6.0.0-rc5 in Ubuntu

Hi everyone, Yesterday, the Linux Kernel 6.0.0-rc5 was released. This kernel is mostly a bug fix release. Unfortunately, this release failed to build for the amd64 architecture on the Ubuntu Kernel Team site, but the good news is that today’s daily build succeeded, and we can download and install it in our Ubuntu system. Because the kernel failed to build for the official 6.0.0-rc5 release, we cannot install it via the Ubuntu Mainline Kernel Instaler tool. Instead, we must download…

Read More Read More

You can now install the Linux Kernel 6.0-rc3 in Ubuntu with the Ubuntu Mainline Kernel Installer tool

You can now install the Linux Kernel 6.0-rc3 in Ubuntu with the Ubuntu Mainline Kernel Installer tool

Hi everyone, While the latest Linux Kernel is currently at the 6.0-rc4 version, now we can install the Linux Kernel 6.0-rc3 in our Ubuntu Linux systems. The 6.0-rc4 version failed to compile, and is the reason why it’s not listed in the Ubuntu Mainline Kernel Installer tool, but at least we can now install the packages of the 6.0-rc3 version with it. To install it, you must first enable the installation of unstable kernels in the tool. For this, click…

Read More Read More