Y450 Linux Road "01"-Installation system, graphics card (first day of installation, continuous update)

Source: Internet
Author: User

First introduce hardware and other information:

Notebook: Lenovo Y450,09 Purchase, 128G solid-state drive (after installing Linux did not feel fast, using win when it feels a lot faster), 5G memory

System: CentOS 6.5 (Install CENTOS7, but feel I was small white, online technical documents or old version of support more, so yesterday replaced 6.5, but also for me to install video card driver, change inittab convenient, 7 I do not know how to change ... 囧


First, the system installation Chapter


Get ready:

1, u disk (recommended 8g,centos 6.5 of the 64-bit image file to 4g more, see the situation to be determined);

2, UltraISO software;

3. CentOS image File

: http://isoredirect.centos.org/centos/6.5/isos/, where do you choose to be 32 or 64 bits

4, the production of U disk image files, online there are methods


Installation:

CentOS 6.5 System

1, u disk plug, boot into the U disk System, memory 512M words, after the choice of Chinese and us, not into the graphical installation interface (when the company's computer installed lamp website found);

2, CentOS 6.5 u disk plug directly on the next step to install, disk division, I do not understand, (/boot 150mb/30g swap 4G? The rest is the home, in fact, I let the system automatically divided the area, the night back to the dorm I see how the system is to give me points.


CentOS 7 System

After 6.5 the same method to do the USB flash drive system, can not be installed

1, in the CentOS 7 interface, press the TAB key, modify the contents of the issued files,

Instead: Vmlinuz initrd=initrd.img inst.stage2=hd:/dev/sdb1 quiet

HD:/DEV/SDB1 here, I feel is to see you have a few pieces of hard disk, I here only a solid state drive (SDA1), so the U disk is SDB, if there are two hard disks, the USB stick here should be sdc1.

650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M00/4C/FA/wKiom1RImiWCqqfeAABRhupysfY481.jpg "title=" Qq20141023134334.jpg "alt=" Wkiom1rimiwcqqfeaabrhupysfy481.jpg "/>

2, after you can enter the graphical interface, and then the next step to install on the prompt, because it is for their own use, so choose desktop desktops, to see the size of the online graphics system is XFCE < KDE < Gnome.



After more than 1300 packages, you can freeze the chicken into the desktop, but, but, the process of entering the desktop is very card, up and down what menu bar status bar a bar out, to wait a 1 minutes to do, restart also this way! What's the problem? The graphics driver is not installed. (should be this one only show, no integrated graphics reasons for it), then hurriedly into the second, install the video card, or this card a card, God horse mood is not, this if a pique, minutes and put back to Win7 ...




Second, NVIDIA graphics card installation Chapter


Get ready:

1. Video card Download

Website address: http://www.geforce.cn/drivers

I do not know why, in the CentOS Firefox browser can not download the driver, a little download directly in the Web page to open the code of the file, and finally the right to copy the address, in the terminal terminal use:

# wget /HTTP//The driver (note that the directory of the download location is not in Chinese because it is installed at the command line)

2. Installation of the compilation environment (root as Administrator)

① compilation environment: GCC, kernel-devel, kernel-headers required

# yum-y Install gcc kernel-devel kernel-headers


② Modifying blacklist.conf files

/etc/modprobe.d/blacklist.conf, add blacklist nouveau, comment out blacklist nvidiafb with the # sign

③ re-establish the Initramfs image file

# mv/boot/initramfs-$ (uname-r). img/boot/initramfs-$ (uname-r). Img.bak

# dracut/boot/initramfs-$ (UNAME-R). IMG $ (UNAME-R)

④ Modify the/etc/inittab to boot the system into init 3 text mode:

Change the last line "Id:5:initdefault:" to "Id:3:initdefault:" (without quotation marks)

Note: 5 represents the default entry to the X-window graphical interface when the system starts, and 3 indicates the default entry to terminal mode. (I'm afraid centos7 such a place will change, just put back 6.5, eh ... I am a little white, no way AH)

⑤ reboot into command line interface

# reboot

3. NVIDIA Graphics driver installation

①# Lsmod | grep nouveau View the Nouveau kernel driver in the next 2-② is not loaded and nothing is displayed.

②CD to n-card driver download directory

# chmod +x Nvidia-linux-x.......run

#./nvidia-linux-x.......run --kernel-source-path

(--kernel-source-path part of My computer is bound to add, or not installed, there will be hints; I have 64-bit, I have a hint of what 32bit, I chose No, Then you can not enter the GUI, then reinstall it again, in that all choose Yes, smoothly into x-windows)


③ Modify the/etc/inittab, make the system boot into the init 5 graphical interface mode, the last line "Id:3:initdefault:" Modified to "Id:5:initdefault:"

④ Restart after reboot, enter the graphics interface speed is also faster, the resolution is normal, in the system Preferences also more out of the Nvidia card menu



This article is from the "Fanta Chant" blog, please be sure to keep this source http://fantala.blog.51cto.com/6350218/1567236

Y450 Linux Road "01"-Installation system, graphics card (first day of installation, continuous update)

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.