My Gentoo installation commemorative post transplanted Space version

Source: Internet
Author: User

// The layout of Baidu post bar is not good, so I sorted it out here. Now I found that the revision is really good. Recently, my college career has influenced my passion for computer science, but I believe I will stick to it.

Change the original post address: http://tieba.baidu.com/p/1670758508? Pn = 1

My Space http://hi.baidu.com/new/xzero5

If you have any questions, contact my mailbox // Baidu to save your Google Mail ..............

Hi, come to Gentoo.

Anyone can repost

However, if you have a better solution, you will not mislead new people. I hope you can share it with everyone.

Declare that I am the owner of Baidu ID heshi and the owner of the blog Park.

I can repost the article or make better changes, but I want to admit that the original author is me. I have posted it in csdn and Baidu, but his blog article management system is so annoying to me.

I. Network Configuration

1.

After the restart, the system enters the chroot connection and does not access the internet.

 

Code 2.8: add net. eth0 to the default running level

# rc-update add net.eth0 default

 

Return Error

service 'net.eth0' does not exist 

 

Code 2.9: create an additional Startup Script

# cd /etc/init.d # ln -s net.lo net.eth1 # rc-update add net.eth1 default

 

 

// I forgot this code when I got rid of the internet for the second installation for half a day.

3.5: Use dhcpcd

# dhcpcd eth0 

Some network administrators require you to use the host name and domain name provided by the DHCP server. In this case, use

# dhcpcd -HD eth0

Ii. Prepare a disk

Not collected

 

3. Install Gentoo installation files

Not collected

 

4. Install Gentoo Basic System

Not collected

 

5. Configure the kernel:

1.

Gentoo kernel compilation errors http://tieba.baidu.com/p/1668901982 critical errors

 

/bin/sh: perl: command not found make[3]: *** [arch/x86/kernel/cpu/capflags.c] Rrroer 127 make[2]: *** [arch/x86/kernel/cpu/] Error 2 make[1]: *** [arch/x86] Error 

2 solve emerge Perl

// 20126/27

In fact, I found that the installation of VIM before the Kernel configuration will contain Perl

 

6. install necessary System Tools

1. There is no slocate in the emerge slocate report source

// Unsolved

 

 

VII. Installation Guide

1.

Problems Detected During grub Installation

Gentoo boot returns grub character http://tieba.baidu.com/p/1670548272 front space being reloaded

// 16: 59

The problem persists. It may be that the new environment does not support grub2 installation.

// 22nd

When grub and grub2 are installed and run in full screen code for half a day, there is a red letter failed to install grub2 n times, CTRL + z stop appears Gentoo grub2 card installation in sy-boot/grub-9999 problem http://tieba.baidu.com/p/1671070121

// 23:26

Http://en.gentoo-wiki.com/wiki/Grub2 http://blog.csdn.net/cenziboy/article/details/7053567

//

The http://tieba.baidu.com/p/1672532094 removed the # In the post to save the last grub successfully orz

default 0 timeout 30 splashimage=(hd0,0)/boot/grub/splash.xpm.gztitle Gentoo Linux 3.2.12 root (hd0,0) kernel /boot/kernel-genkernel-x86_64-3.2.12-gentoo root=/dev/ram0 init=/linuxrc ramdisk=8192 real_root=/dev/sda3 sda=stroke initrd /boot/initramfs-genkernel-x86_64-3.2.12-gentoo video=uvesafb:mtrr:3,ywrap,1024x768-32@85 #vim:ft=conf  

 

// Note: follow the instructions in this document to install

 

2, http://tieba.baidu.com/F? KZ = 700716850 Gentoo Windows 7 dual system grub settings

 

 

Desktop Environment

1.

An error occurred while installing Xorg.
The http://tieba.baidu.com/p/1672772418 has been resolved for 6 hours

 

2.

AMD/ATI card (radeonhd 2000 and the most), you will need to appear radeon ucode or Linux firmware. Once you have installed one of these packages, configure your kernel,

# Radeon HD 6400-7600 AKA. northern Islands: (radeon/Alibaba radeon/caicos_mc.bin radeon/caicos_me.bin radeon/Alibaba radeon/cayman_mc.bin radeon/Alibaba radeon/turks_pfp.bin) external // firmware blobs always fails to be added to the kernel. I add radeon/javasradeon/caicos_mc.bin radeon/caicos_me.bin radeon/javasradeon/cayman_mc.bin radeon/callman_me.bin radeon/callman_pfp.bin radeon/callman_rlc.bin radeon/turks_mc.bin radeon/turks_me.bin radeon/turks_pfp.bin
// Still Error

// Unsolved, so the closed-source driver of ATI is installed

3.

Error

xorg ake sure udev is in your USE flags) # echo "x11-base/xorg-server udev" >> /etc/portage/package.use (Install Xorg) # emerge xorg-server # env-update # source /etc/profile 

 

An error occurred while trying to start startx.

tal server error: no screens found please consult the x.org foundation support at http://wiki.x.org for help please also check the log file at "/var/log/xorg.0.log" for additional information.server terminated with error(1). closing log file. xinit:giving up xinit:unable to connect to x server: connection refuseed xinit: server errror

 

 

// Error:

Gentoo failed to load device

list of video drivers: ati fgirx radeon(EE)failed to load /usr/lib64/xorg/modules/drivers/radeon_drv.so:librm_radeon.so :cannot open shared object file :no such file or directory (II)unloadmodule :"radeon" (II)unloading radeon (EE)failed to load module "radeon" (loader failed,7) (WW)falling back to old probe method for fglrx (II)loading pcs database from /etc/ati/amdpcsdb NO devices to configure . configuration failed

 

 

 

// Solution to the startx error:

Wonderful solution I like code, I like you; thanks http://forums.gentoo.org/viewtopic-p-7068006.html#7068006

 

Install gnome

1,

Http://tieba.baidu.com/F? Ct = 335675392 & Tn = baidupostbrowser & SC = 21204436072 & Z = 1682867676 #21204436072 official documentation. Http://en.gentoo-wiki.com/wiki/gnome_3. This is the full version ~ Gnome default components are installed ~ There is another option ~ : Gnome-light ~ Install only necessary components ~ Http://www.gentoo.org/proj/en/shorttop/gnome/howtos/gnome-3.2-upgrade.xml. Glib may occur. Refer to the first link.

 

Other problems

// Soft connection error can try this echo "= x11-libs/libdrm-2.4.27 libkms">/etc/portage/package. Use

 

// In the Chinese section of Gentoo's official website, and in the linuxsir community, there are many posts, that is, post them back.

 

// Make. conf Gentoo wiki for CPU Configuration

Http://en.gentoo-wiki.com/wiki/Safe_Cflags/Intel
// Set locale to modify/etc/locale. Gen and open the following to support both Chinese and English

en_US.UTF-8 UTF-8 zh_CN.UTF-8 UTF-8 zh_CN.GB2312 GB2312 zh_CN.GBK GBK

 

Then run locale-Gen to generate the locale specified by/etc/locale. gen.

Remove #

// Gentoo 2.6.27-R8 automatic Mount NTFS partition failure http://forums.gentoo.org/viewtopic-t-745394.html

 

// Recommended partition tools

Cfdisk/dev/SDA graphic interface Oh http://tieba.baidu.com/p/1683205115

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.