User Tools

Site Tools


linux:gentoo-upgrade-mbp

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Last revisionBoth sides next revision
linux:gentoo-upgrade-mbp [2015/02/01 13:27] – [Fix Gentoo System] percylinux:gentoo-upgrade-mbp [2015/02/05 12:01] – [grub menu.lst] percy
Line 28: Line 28:
 kernel /boot/SYSLINUX/ubnkern kernel /boot/SYSLINUX/ubnkern
 initrd /boot/SYSLINUX/BOOT2880.IMG initrd /boot/SYSLINUX/BOOT2880.IMG
-boot+boot  
 +</code> 
 + 
 +===== Kernel Config 3.17.7 ===== 
 +<code> 
 +jianqing linux # uname -a 
 +Linux jianqing 3.17.7-gentoo #6 SMP Sat Jan 31 01:16:40 CST 2015 x86_64 Intel(R) Core(TM) i7-2675QM CPU @ 2.20GHz GenuineIntel GNU/Linux 
 +</code> 
 + 
 +  -  https://bpaste.net/show/a121b5edf5d1 
 + 
 +===== Manual Config the network  ===== 
 + 
 +<code Bash> 
 +ifconfig enp2s0f0 10.0.0.30 netmask 255.255.255.0 
 +route add default gw 10.0.0.1 
 +echo "nameserver 8.8.8.8" >>/etc/resolv.conf 
 +echo "nameserver 223.5.5.5" >>/etc/resolv.conf
 </code> </code>
  
Line 42: Line 59:
 startx startx
 slim slim
-systemctrl enable/disable xdm/gdm/slim+
 +Xorg 
 +Xorg -config /path/to/xorg.conf 
 +Xorg -configure 
 +aticonfig --initial 
 +eselect open list 
 +eselect open set 1 
 +systemctl enable/disable xdm/gdm/slim
 ls /etc/X11/ ls /etc/X11/
 emerge -uDN world -pv emerge -uDN world -pv
Line 54: Line 78:
 jianqing ~ # cat /etc/env.d/90xsession  jianqing ~ # cat /etc/env.d/90xsession 
 XSESSION="Gnome" XSESSION="Gnome"
 +</code>
 +
 +===== Compile kernel =====
 +
 +<code BASH>
 +cd /usr/src/linux
 +make menuconfig
 +make -j5
 +make modules_install
 +cp arch/x86_64/boot/bzImage /boot/kernel-3.17.7
 +</code>
 +===== grub menu.lst=====
 +  jianqing linux # cat /boot/grub/menu.lst 
 +
 +<code BASH>
 +# This is a sample grub.conf for use with Genkernel, per the Gentoo handbook
 +# http://www.gentoo.org/doc/en/handbook/handbook-x86.xml?part=1&chap=10#doc_chap2
 +# If you are not using Genkernel and you need help creating this file, you
 +# should consult the handbook. Alternatively, consult the grub.conf.sample that
 +# is included with the Grub documentation.
 +
 +default 0
 +timeout 30
 +splashimage=(hd0,3)/boot/grub/splash.xpm.gz
 +
 +
 +title Gentoo Linux root (hd0,3) root=/dev/sda4 /boot/kernel-3.17.7-1 init=/usr/lib/systemd/systemd nomodeset
 +root (hd0,3)
 +kernel /boot/kernel-3.17.7-1 root=/dev/sda4 init=/usr/lib/systemd/systemd nomodeset
 +
 +title Gentoo Linux root (hd0,3) root=/dev/sda4 /boot/kernel-3.10.25 init=/usr/lib/systemd/systemd nomodeset
 +root (hd0,3)
 +kernel /boot/kernel-3.10.25 root=/dev/sda4 init=/usr/lib/systemd/systemd nomodeset
 +
 +title Gentoo Linux root (hd0,3) root=/dev/sda4 /boot/kernel-3.17.7 init=/usr/lib/systemd/systemd nomodeset
 +root (hd0,3)
 +kernel /boot/kernel-3.17.7 root=/dev/sda4 init=/usr/lib/systemd/systemd nomodeset
 +
 +title Gentoo Linux root (hd0,3) root=/dev/sda4 /boot/kernel-3.10.25 nomodeset
 +root (hd0,3)
 +kernel /boot/kernel-3.10.25 root=/dev/sda4 nomodeset
 +
 +title Gentoo Linux root (hd0,3) root=/dev/sda4 /boot/kernel-3.6.11
 +root (hd0,3)
 +kernel /boot/kernel-3.6.11 root=/dev/sda4
 +
 +title Gentoo Linux root (hd0,3) root=/dev/sda4 /boot/kernel-3.6.11-2
 +root (hd0,3)
 +kernel /boot/kernel-3.6.11-2 root=/dev/sda4 radeon.modeset=0
 +
 +title Gentoo Linux root (hd0,4) root=/dev/sda5 /boot/kernel-3.6.11
 +root (hd0,4)
 +kernel /boot/kernel-3.6.11 root=/dev/sda5
 +
 +title Gentoo Linux root (hd0,3) root=/dev/sda4 /boot/kernel-3.3.8 
 +root (hd0,3)
 +kernel /boot/kernel-3.3.8 root=/dev/sda4
 +
 +title Gentoo Linux root (hd0,4) root=/dev/sda5 /boot/kernel-3.3.8 
 +root (hd0,4)
 +kernel /boot/kernel-3.3.8 root=/dev/sda5
 +
 +title Gentoo Linux root (hd0,4) root=/dev/sda5 /boot/kernel_3.2.12 
 +root (hd0,4)
 +#kernel /boot/kernel-genkernel-x86-2.6.24-gentoo-r5 root=/dev/ram0 real_root=/dev/sda3
 +kernel /boot/kernel_3.2.12 root=/dev/sda5
 +#initrd /boot/genkernel
 +
 +# vim:ft=conf:
 +
 +
 +</code>
 +
 +Need set the CONFIG_B43=m not CONFIG_B43=y
 +
 +<code>
 +CONFIG_B43=m
 +</code>
 +
 +<code>
 +systemctl enable dhcpcd
 +systemctl enable NetworkManager
 </code> </code>
  
/var/www/dokuwiki/wiki/data/pages/linux/gentoo-upgrade-mbp.txt · Last modified: 2016/05/05 13:07 by 127.0.0.1