Fixed the problem that Ubuntu cannot start (black screen) after activating the video card driver
Source: Internet
Author: User
Ubuntu cannot be started (black screen) after activation of the video card driver. problems solved: due to a failure in the graphics card (unable to load the driver normally) due to a new Linux system, baidugoogle has a lot to say, finally, I couldn't hold back the xorg. conf file... ubuntu cannot be started (black screen) after activation of the video card driver. problems solved: due to a failure in the graphics card (unable to load the driver normally) due to a new Linux system, baidu google has a lot to say, finally, I couldn't hold back the xorg. conf file, resulting in a complete cup of Ubuntu can only start to the welcome screen, and then automatically shut down, all button operations have no response. environment: Ubuntu 10.04.3 use wubi to install to partition D, that is, root. disk file processing in partition D: 1. ubuntu optical disk version can be downloaded from the official website. In fact, both the optical disk version and the hard disk version are the same ISO files. The difference is that when the disc is started, select Try Ubuntu 10.04.3 LTS option. 2. loading Ubuntu with optical disks is a long waiting process .. coffee. after the graphic interface is displayed, ctrl + alt + t start the terminal and modify the root password terminal code ubuntu @ ubuntu :~ $ Sudo passwd root Enter new UNIX password: Retype new UNIX password: passwd: password updated successfully 3. switch to the root user, terminal code ubuntu @ ubuntu :~ $ Su Password: root @ ubuntu:/home/ubuntu # mkdir/mnt/d 4. because my ubuntu is wubi installed on partition D, I need to first mount partition D to unbuntu if I do not know my partition UUID, you can use ls-l/dev/disk/by-uuid/to obtain it. here you need to mount D disk, that is, sda5 terminal code root @ ubuntu: /home/ubuntu # ls-l/dev/disk/by-uuid/total 0 lrwxrwxrwx 1 root 10 2011-11-14 00:17 000AB205000CE9B9-> .. /.. /sda1 lrwxrwxrwx 1 root 10 2011-11-13 02dca1a6d2017507-> .. /.. /sda5 lrwxrwxrwx 1 root 10 2011-11-14 AC1CAE5F1CAE2474-> .. /.. /sda7 lrwxrwxrwx 1 root 10 2011-11-14 00:17 E224ABFE24ABD3B7-> .. /.. /sda6 5. mount sda5 to the created/mnt/d Directory. terminal code root @ ubuntu:/home/ubuntu # mount/dev/sda5/mnt/d 6. create the/mnt/john folder again and Mount root. disk terminal code root @ ubuntu:/home/ubuntu # mkdir/mnt/john root @ ubuntu: /home/ubuntu # mount-o loop/mnt/d/ubuntu/disks/root. disk/mnt/john 7. find/mnt/joh Under n/etc/X11, xorg. conf-backup file (any one) is copied to xorg. conf is complete. terminal code root @ ubuntu:/home/ubuntu # cd/mnt/john/etc/X11 root @ ubuntu: /mnt/john/etc/X11 # ls app-defaults xkb Xresources cursors xorg. conf-backup-111112235722 Xsession default-display-manager xorg. conf-backup-111113190652 Xsession. d fonts xorg. conf-backup-111114000937 Xsession. options rgb.txt xorg. conf. failsafe Xwrapper. config X Xreset xinit Xrese T. d root @ ubuntu:/mnt/john/etc/X11 # cp xorg. conf-backup-111112235722 xorg. conf Summary: The above method is to use xorg. copy the files backed up by conf to enable the system to start! The xorg. conf-backup-111112235722 file is different for everyone, and can be deleted without backup. PS: There is a problem with this fix, that is, there is a problem with the xorg. conf copied by itself, so it can only be started once normally! For the time being, we can only talk about how to deal with it after starting it like this. at least it is no problem to export the file quickly. I personally tested it successfully.
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