Solution to common problems under Linux system

  
I. System problem

1. The system cannot start

The possible problem is MBR damage or GRUB error. There are two options to consider: 1 Enter rescue mode rescue mode, edit menu.lst under /boot/grub/. 2 Repair MBR, backup MBR: dd if=/dev/had of=MBR-backup bs=512 count=1 , restore MBR: dd if=MBR-backup of=/dev/had bs=512 count=1 .

2. When booting to the ubuntu logo, the card machine

solution is to edit /boot/grub/menu.lst, find this line: kernel /boot/vmlinz-2.6.15-10 root= /dev/hda1 ro quiet splash, delete splash, restart will not appear logo.

3. Boot can not log in graphical interface

This situation is mostly due to X-server configuration error , need to be reconfigured. Configuration file: /etc/X11/xorg.conf. Run the X configuration process: sudo dpkg-reconfigure xserver-xorg

4. How to add fonts

Press Alt+F2 (function similar to MS 'Win+R' in Windows, the 'Run Application' dialog box appears, enter fonts:///from it, and then run the font folder to pop up, drag the font to be added into this folder. Note that the added font is only valid for the current user.

5. How to test whether the ISO file is complete

Command line : md5sum file_name

Compare the generated 32-bit characters with the 32-bit verification code attached to the file.

6. How to view hidden files in a folder

Click on "View" in the File Browser è "Show Hidden Files" At this point, the hidden file will be displayed. You can also use the shortcut key "Ctrl+H".

7. The graphical desktop stops responding, how to deal with

Two solutions: 1 Press Alt+Ctrl+Backspace at the same time to restart x-Windows. 2 Press Alt+F2 to jump to the terminal. After logging in, run sudo /etc/init.d/gdm stop, close x-window and enter test-mode. Then type sudo /etc/init. d/gdm start, will restart X-window.

8. How to free up disk space

First, empty the contents of the trash (Trash), Trash in the bottom right corner of the desktop, Right click to empty.

Second, clean up the package cache. Whenever a package is downloaded by Synaptic or the Automatic Upgrade Manager, the package will be saved under /var/cache/apt/archives/. By running the following command, these packages will be cleaned without affecting the system. Sudo apt-get clean

9. After installing Windows, Ubuntu can't start

The reason is that Windows rewrites MBR, which causes the system to read the Ubuntu startup information from it. The solution is to start the system from the CD, enter the Rescue mode, press the Enter key to select the keyboard layout and language, then you will get a list of hard disk partitions, select the partition with Ubuntu installed, press Enter. Enter "grub-install /dev/hda" after the shell prompt to install GRUB to the hard disk. Wait for the process to end until the output "install finished", then enter "exit" to restart the computer.

10. Forget the system password

Restart the computer, when you see GRUB

II. Application Software

1. Unable to close the program window

Close with xkill. Press Alt+F2, type xkill and press Enter. At this point the mouse becomes a small skull and click on the window you want to close.

2. Play DVD picture jitter and jump

This condition is mostly caused by the DVD server's DMA mode not being activated.

Sudo hdparm /dev/sdc grep dma

If DMA is not started, you will see using_dma = 0 (off)

To enable DMA mode, run sudo hdparm –d 1 /dev/sdc

Replay the DVD at this time. If the problem is solved, modify /etc/hdparm.conf and add the following code block:

/dev/hdc {< BR> dma = on
}
Copyright © Windows knowledge All Rights Reserved