Skip to content

Instantly share code, notes, and snippets.

View PauloMigAlmeida's full-sized avatar
🏄‍♂️

Paulo Miguel Almeida PauloMigAlmeida

🏄‍♂️
View GitHub Profile
@PauloMigAlmeida
PauloMigAlmeida / user-mode-linux-alpine-steps.sh
Last active October 25, 2024 22:45 — forked from hughpearse/user-mode-linux-alpine-steps.txt
User Mode Linux (UML) Kernel With Alpine Linux OS
How to compile the linux kernel, launch it as a process and boot into Alpine linux
#Command + Shift + 5
#Host -> Docker GCC -> UML w/ Alpine
# create and mount the filesystem
sudo rm -rf ~/workspace/root_fs_um
mkdir -p ~/workspace/root_fs_um
cd ~/workspace/root_fs_um
dd if=/dev/zero of=root_fs bs=1M count=1024