Ubuntu 升級 2.6.33 Kernel 筆記

網路高手整理的作法:
How To Compile A Kernel - The Ubuntu Way

不過照步驟做時,發現一個問題,錯誤的訊息如下:
echo "The UTS Release version in include/linux/version.h"; echo " \"\" "; echo "does not match current version:"; echo " \"2.6.33-rc1-amd64\" "; echo "Please correct this."; exit 2
The UTS Release version in include/linux/version.h
""
does not match current version:
"2.6.33-rc1-amd64"


原因是UTS_RELEASE在2.6.32之後被換地方放了,修正方法如下:
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=561569
修改debian/ruleset/misc/version_vaer.mk檔案,

echo include/linux/version.h;
換成
echo include/generated/utsrelease.h;
即可

編譯完成之後就可以直接用dpkg安裝,重新開機就OKAY了

留言

這個網誌中的熱門文章

RTC & CMOS 技術詳解

[自由網路] 如何取得 Google Drive (真實)外連位址 (Direct Link)