新增 Kernel Panic - not syncing: VFS: Unable to mount root fs on unknown-block
@@ -0,0 +1,35 @@
|
|||||||
|
# 1. 修復損壞的 Kernal
|
||||||
|
|
||||||
|
```bash
|
||||||
|
sudo apt -f install
|
||||||
|
```
|
||||||
|
|
||||||
|
# 2. 列出所有 Kernal
|
||||||
|
|
||||||
|
```bash
|
||||||
|
dpkg --list | grep linux-image
|
||||||
|
```
|
||||||
|
|
||||||
|
# 3. 移除低版本到無法移除
|
||||||
|
|
||||||
|
```bash
|
||||||
|
sudo apt purge -y linux-image-x.xx.x-xxx-generic
|
||||||
|
```
|
||||||
|
|
||||||
|
# 4. 更新 GRUB 2
|
||||||
|
|
||||||
|
```bash
|
||||||
|
sudo update-grub2
|
||||||
|
```
|
||||||
|
|
||||||
|
# 5. 更新 Kernal 到現在的版本
|
||||||
|
|
||||||
|
```bash
|
||||||
|
sudo apt update && sudo apt upgrade -y
|
||||||
|
```
|
||||||
|
|
||||||
|
# 6. 試著重啟看看是否正常
|
||||||
|
|
||||||
|
```bash
|
||||||
|
sudo reboot
|
||||||
|
```
|
||||||
Reference in New Issue
Block a user