[問題] Kernel Panic - not syncing
我使用的是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
12/12 12:58, 1F
→
12/12 14:28, , 2F
12/12 14:28, 2F
Linux 近期熱門文章
21
56
PTT數位生活區 即時熱門文章