学习笔记 - kernel 学习环境搭建

1. Build/install upstream kernel as host

# mkdir -p ~/sandbox/
# git clone git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git linux.host
# cd linux.host
# cp /boot/config-5.4.70-amd64-desktop ./.config
# git checkout -b debug
# make olddefconfig
# make dep-pkg -j7
# cd ..
# sudo dpkg -i *.deb
# sudo reboot

阅读全文

WSL2_GNOME桌面安装配置教程

Think Xfce looks dated? Want a conventional Ubuntu experience? This tutorial will guide you through installing Ubuntu’s default desktop environment, GNOME.

GNOME is one of the more complex — and that means more difficult to run — desktop environments, so for years people couldn’t figure out how to run it on WSL 2. On WSL 1 it could only run using very complicated methods that didn’t transfer to well WSL 2. Any forlorn attempts to run it on WSL 2 only resulted in a smoldering heap of error messages.

But now you can!

阅读全文