[問題] Kernel Panic - not syncing

看板Linux作者 (硬體)時間10年前 (2015/12/12 09:14), 編輯推噓1(101)
留言2則, 2人參與, 最新討論串1/1
我使用的是Lubuntu 15.04 原來的剛安裝完lubuntu,Linux kernel的版本 3.19 因為我需要修改一些network的code,我去找了 3.18.24的source code來編譯,編譯都沒有什麼問題 順利成功 /boot下也有了3.18.24的版本 然後重新 update-grub後 重新開機選擇3.18.24卻出現 Kernel Panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0) 開不了 但是如果使用原來的 3.19 卻沒有問題 我有google,有提供一些解決方式 但是沒有說明是什麼原因造成的 解決文章說要先開原來版本3.19 sudo mount /dev/sda1 /mnt sudo mount --bind /dev /mnt/dev sudo mount --bind /proc /mnt/proc sudo mount --bind /sys /mnt/sys sudo chroot /mnt update-initramfs -u -k 3.18.24 update-grub2 重新開機,選擇3.18.24就可以開了 不曉得是什麼原因會有這問題? 謝謝! -- ※ 發信站: 批踢踢實業坊(ptt.cc), 來自: 140.117.164.19 ※ 文章網址: https://www.ptt.cc/bbs/Linux/M.1449882859.A.420.html

12/12 12:58, , 1F
你的 config 怎麼生出來的
12/12 12:58, 1F

12/12 14:28, , 2F
原本有跑過 update-initramfs 嗎?
12/12 14:28, 2F
文章代碼(AID): #1MQtJhGW (Linux)
文章代碼(AID): #1MQtJhGW (Linux)