Setting up a Linux development Virtual Machine for low level development

Опубликовано: 03 Ноябрь 2024
на канале: Low Level Devel
1,360
33

Hi, I created this video based on many requests that people were having issues running some of the tutorials.
I decided to walk you through the steps of installing linux on a virtual machine. In this case I will be using
Arch Linux, which is my preferred distro for development purposes, mainly due to its rolling releases which keep up
to date with the latest software updates, for instance you can run the latest version of KDE Plasma which now fully
supports Wayland (yay!)

Also many of you had issues with a kernel panic when doing part2 and forward, so I was able to troubleshoot it and determined
it was an issue with the ld so, which was not loading shared libraries from the /lib path and using only /usr/lib instead.
This video will walk you through that as well. If you want to just know how to fix it, here's a simple set of commands to run
so you don't have to watch the video if that's the only issue you had:

First create/edit this ld.so.conf file:
sudo vi /mnt/myos/ld.so.conf

This file should contain simply one line with the value:
/lib

No create the ld.so.cache file:
sudo ldconfig -r /mnt/myos

After running those commands it should fix your kernel panics (I hope!)

Discord:   / discord  
Github: https://github.com/rockytriton/LLD
Reddit:   / lowleveldevel  
Donate (Paypal/Venmo): [email protected]