Browsed by
Category: Linux

Updating, compiling and installing the Linux Kernel from our previously cloned Linux repository

Updating, compiling and installing the Linux Kernel from our previously cloned Linux repository

Hi everyone, In this post, I will show you how to update a locally cloned Linux Repo, run some cleanup commands, and compile the kernel again. We will then proceed to install it. This post will be shorter than yesterday due to the fact that we have already performed the preparations to compile it. We will simply be running a git pull command to update our local repository with the latest remote repository changes, run some cleanup commands, and run…

Read More Read More

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

Fixing apt upgrade in Ubuntu 22.10 in WSL

Fixing apt upgrade in Ubuntu 22.10 in WSL

Today, I wanted to update my Ubuntu WSL setup by running sudo apt upgrade. Unfortunately, it failed with the following problem: To fix this problem, I went ahead and removed these files: After running sudo apt upgrade again, this time it succeeded: I’m running my Ubuntu WSL instance in WSL1 mode. Hope this post helps you fix your apt upgrade problem if you have encountered this same issue. Post Views: 13

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