无意中执行了sudo apt-get update 命令,重启之后出现进入不了系统的情况。如下图:

Kernel Offset: disabled --[ end Kernel panic - not syncing: UFS: Unable to mount root fs on unknown-block(0,0)
解决方法:
1.打开终端查看系统当前版本 uname -a

2.查看系统镜像版本 dpkg –get-selections | grep Linux-image*

3.重新生成GRUB的启动菜单配置文件(/boot/grub/grub.cfg) sudo update-grub

4.删除更新的启动菜单配置文件
rm /boot/initrd.img-4.4.0-57-generic
rm /boot/initrd.img-4.4.0-59-generic(根据实际情况选择需要删除的配置文件,我的ubuntu是更新到了59版本,尝试过57版本也不能正常启动所以一并删除)。
5.删除后再次执行sudo update-grub 查看新的启动配置文件,重启机器能够正常启动。