(1)开机显示Started GNOME Display Manager. Dispatcher Service… system changes.pp link was shut down
1.crtl+alt+del让系统重启
2.出现台式机品牌界面长按shift
3.进入recovery mode
4.先enable network
5,然后选择dpkg - Repair broken packages
6.再进入root,执行apt update和apt dist-upgrade,在root下,reboot重启
成功解决。
如果还不行,在显示界面按住ALT+F2,进入tty。
输入用户名和密码,输入以下命令。
sudo apt purge linux-image-4.15.0-24-generic linux-headers-4.15.0-24\*
sudo apt-get purge gdm3
sudo apt-get install gdm3 ubuntu-desktop
reboot
(2)文件系统损坏/etc/fstab导致进不去系统
根据系统提示,输入root密码进入maintain mode
输入:
mount -o remount,rw /
以读写的方式重新挂载文件系统
修改/etc/fstab。因为先前挂载失败所以是只读的,重新挂载后是读写的,可以修改保存。
ubuntu18.04默认格式
UUID=db621262-fcf8-49f8-b018-5f01b12db035 / ext4 errors=remount-ro 0 1
/swapfile none swap sw 0 0
重启。
解决。