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
linux:gentoo-upgrade-mbp [2015/02/01 13:17] percylinux:gentoo-upgrade-mbp [2016/05/05 13:07] (current) – external edit 127.0.0.1
Line 16: Line 16:
   - I don't aware the difference between OpenRC and Systemd   - I don't aware the difference between OpenRC and Systemd
  
-===== Upgrade the M4 SSD firmware =====+===== Upgrade the M4 SSD firmware without DVD ROM =====
   - Download the firmware from the official website   - Download the firmware from the official website
   - Get the BOOT2880.IMG from the iso file   - Get the BOOT2880.IMG from the iso file
Line 24: Line 24:
   - cp BOOT2880.IMG /boot/SYSLINUX   - cp BOOT2880.IMG /boot/SYSLINUX
   - Boot to the grub and press "c" to do the manual boot   - Boot to the grub and press "c" to do the manual boot
- root (hd0,3) +<code Bash> 
- kernel /boot/SYSLINUX/ubnkern +root (hd0,3) 
- initrd /boot/SYSLINUX/BOOT2880.IMG +kernel /boot/SYSLINUX/ubnkern 
- boot+initrd /boot/SYSLINUX/BOOT2880.IMG 
 +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>
 +
 +===== Fix Gentoo System =====
 +<code Bash>
 +ati-drivers
 +qlist -I ati-drivers
 +xorg-server
 +gnome
 +systemd
 +xdm
 +gdm slim
 +startx
 +slim
 +X
 +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/
 +emerge -uDN world -pv
 +emerge --depclean -pv
 +emerge -uDN world --keep-going
 +emerge -uDN world --keep-going --skipfirst
 +emerge -uDN world --keep-going --resume
 +</code>
 +
 +<code BASH>
 +jianqing ~ # cat /etc/env.d/90xsession 
 +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>
  
/var/www/dokuwiki/wiki/data/attic/linux/gentoo-upgrade-mbp.1422767830.txt.gz · Last modified: 2016/05/05 13:06 (external edit)