Ubuntu16.04 into the Initramfs, and then reboot after the black screen problem

Source: Internet
Author: User

The previous few days on the Ubuntu16.04 Caffe,tensorflow deployed simultaneously, and installed the digits service. Run up flattered, who wanted to be happy too early, at night before bedtime, Ubuntu did not shut down, so hung up all night. The next morning to find Firefox abnormal exit, and can not open, error. So decided to restart, I think there should be no problem, who would not actually enter the system, but into the INITRAMFS mode. Instant Meng, panic, decided to restart again, this is very, direct black, even a word did not ...

Think of their hard-earned two days to complete the deep learning platform so burned, the heart is unwilling. So check the online information, found into the INITRAMFS mode, because the file system power failure caused by the error, causing the mounting disk is not properly mounted. Disk repair needs to be done in Initramfs mode, which is like restarting disk self-repairing after Windows is not properly shut down. So he decided to die as a living horse doctor.

Restart again, select Ubuntu (Advanced option), select the Repair mode (recovery mode), enter the first line after the INITRAMFS mode, in the beginning of a few lines on this side to remind you which mount disk has a problem, such as my dual-drive desktop, The Ubuntu system is mounted on the second hard drive, prompting/DEV/SDB8 to have a problem. In this mode, enter Fsck-t ext4/dev/sdb8, fix it, and press Y to agree to fix it. After the USB interface will always be detected, this can actually end with CTRL + C, and then enter exit.

A few prompt options will appear, select the first resume (recovery), and then select agree to complete the restoration to the Ubuntu system. This is the system in Repair mode. Restart again, normal entry, Ubuntu is back. I'm so happy and crying. Then test the installed Caffe and TensorFlow found to be able to start the use of normal, the heart flattered.

Here, hurriedly write down a pen, to prevent similar problems occur at a loss.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.