ubuntu16.04 error emergency mode cannot be started to solve

I often encounter when ubuntu fails to start. The following are the two situations I encountered and the solutions.

  1. I copied something under another ubuntu, but 16.04 couldn't start, 

Error reporting emergency mode After Google found that the home file system was damaged, and then it could not be suspended normally

Solution: Modify /etc/fstab and change the pass item of the home partition to 2, which means that the boot does not check and mounts directly

    2. Ubuntu is forcibly shut down, and then restart ubuntu to boot intoinitramfsUnable to start the system normally

Solution:

1. If you can start normally after exit, you only need to restart and edit it on the grub boot menu linux/boot/vmlinuz-********-generic root=UUID=a2ce51b0-935b-4ba5-9151- 8674fd7dd277 ro quiet splash​Add rootdelay=120 after this line, and then ctrl+x restarts.

2. If, like my system, it still reports an error and cannot enter the system after exit, then there is a problem with the file system, and there may be some sector failures. Needs to be fixed and needs another linux system. It is most convenient if you have another linux system installed on the same hard disk (I installed another linux system at the same time). If not, you can only use LiveCD or make your own USB boot disk to solve the problem.

The specific steps are: after entering the system (whether it is another system or LiveCD or Live USB)

Execute sudo fdisk -l​, find the partition where your broken ubuntu system is located from the displayed results (you can judge which is the original system installation partition by the size of the partition) mine is /dev/sdb1

Then execute sudo fsck /dev/sdb1, all options that appear are y, Enter

After the repair is over, restart the system, and the original Ubuntu will be able to enter again.


Reference link:

http://blog.sina.com.cn/s/blog_9906ec890102w5ug.html




Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=325988967&siteId=291194637
Recommended