作者gogo456 (我是昨晚救你的蒙面俠)
看板Linux
標題[問題] compile kernel
時間Sat May 3 12:51:47 2014
我是使用ubuntu 12.10 然後下載了3.7.2的source code
在compile 完以後
輸入了sudo kpkg -i linux-image-3.7.2_3.7.2-10.00.Custom_i386.deb
結果卻出現了error的情況
上面是寫
dpkg:error processing linux-image-3.7.2_3.7.2-10.00.Custom_i386.deb(--install):
cannot access archive: no such file or directory
error were encountered while processing:
linux-image-3.7.2_3.7.2-10.00.Custom_i386.deb
另外輸入了類似的指令可是是headers 狀況也是一樣
然後我回到圖形介面以後卻又有在桌面上看到這個檔案
所以我嘗試直接開檔案安裝
在安裝完image 跟 headers以後回到文字介面上查看kernel版本可是卻沒有變動
求解 感恩
--
※ 發信站: 批踢踢實業坊(ptt.cc), 來自: 140.120.31.94
※ 文章網址: http://www.ptt.cc/bbs/Linux/M.1399092709.A.1AE.html
→ DEATHX:裝完你重開了沒? 05/03 15:06
→ gogo456:直接點桌面上的檔案然後安裝完以後有重開過了 05/03 15:17
→ DEATHX:通常裝完後它post install會幫你把新kernel加進GRUB選單 05/03 15:47
→ DEATHX:然後順便gen相對應的initrd, 先去/boot找找你的kernel是否 05/03 15:48
→ DEATHX:在裡面吧? 05/03 15:48
→ gogo456:我剛剛重開了兩三次以後 發現我有kernel 然後就在去看一次 05/03 17:03
→ gogo456:版本 發現已經變成我要的3.7.2了 感謝感謝 05/03 17:04