原先的Linux kernel
安裝步驟:
1.先下載Oracle VM VirtualBox虛擬機。
2.在VirtualBox設置Ubuntu 64-bit,並下載Ubuntu iso檔。以下我的配置(記憶體:8192MB虛擬機硬碟:50GB)
3.打開terminal使用 wget https://cdn.kernel.org/pub/linux/kernel/v5.x/linux-5.19.10.tar.xz 下載 Linux kernel source code。
4. 使用 tar xvf linux-5.9.6.tar.xz 解壓縮
5.Navigate to the linux-5.19.10 使用cd linux-5.19.10 和使用cp 指令複製existing configuration file(這一步不知道有沒有用~我就跟著做了)
6.changes to the configuration file 輸入 make menuconfig
7.會打開configuration menu 不更改預設 直接按Save
8.輸入make(需要一段時間 我跑了大概3小時)
9.Install the required modules with this command: sudo make modules _install
10.安裝 kernel ,輸入sudo make install
11.重新開啟虛擬機(reboot) 並在terminal使用uname -mrs 指令查看現在的版本
遇到問題:
1.如果一開始輸入指令makemenuconfig時,顯示your display is too small to runmenuconfig,視窗太小無法顯示的問題。