linux:gentoo-upgrade-mbp
Differences
This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
linux:gentoo-upgrade-mbp [2015/02/01 13:11] – created percy | linux: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 |
- 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 | ||
- | - Downloa | + | - Download the riEFI file |
- | - | + | - Mount the EFI and get the SYSLINUX |
+ | - cp -a SYSLINUX /boot/ | ||
+ | - cp BOOT2880.IMG / | ||
+ | - Boot to the grub and press " | ||
+ | <code Bash> | ||
+ | root (hd0,3) | ||
+ | kernel / | ||
+ | initrd / | ||
+ | boot | ||
+ | </ | ||
+ | ===== Kernel Config 3.17.7 ===== | ||
+ | < | ||
+ | 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 | ||
+ | </ | ||
+ | |||
+ | - https:// | ||
+ | |||
+ | ===== 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 " | ||
+ | echo " | ||
+ | </ | ||
+ | |||
+ | ===== Fix Gentoo System ===== | ||
+ | <code Bash> | ||
+ | ati-drivers | ||
+ | qlist -I ati-drivers | ||
+ | xorg-server | ||
+ | gnome | ||
+ | systemd | ||
+ | xdm | ||
+ | gdm slim | ||
+ | startx | ||
+ | slim | ||
+ | X | ||
+ | Xorg | ||
+ | Xorg -config / | ||
+ | Xorg -configure | ||
+ | aticonfig --initial | ||
+ | eselect open list | ||
+ | eselect open set 1 | ||
+ | systemctl enable/ | ||
+ | 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 BASH> | ||
+ | jianqing ~ # cat / | ||
+ | XSESSION=" | ||
+ | </ | ||
+ | |||
+ | ===== Compile kernel ===== | ||
+ | |||
+ | <code BASH> | ||
+ | cd / | ||
+ | make menuconfig | ||
+ | make -j5 | ||
+ | make modules_install | ||
+ | cp arch/ | ||
+ | </ | ||
+ | ===== grub menu.lst===== | ||
+ | jianqing linux # cat / | ||
+ | |||
+ | <code BASH> | ||
+ | # This is a sample grub.conf for use with Genkernel, per the Gentoo handbook | ||
+ | # http:// | ||
+ | # If you are not using Genkernel and you need help creating this file, you | ||
+ | # should consult the handbook. Alternatively, | ||
+ | # is included with the Grub documentation. | ||
+ | |||
+ | default 0 | ||
+ | timeout 30 | ||
+ | splashimage=(hd0, | ||
+ | |||
+ | |||
+ | title Gentoo Linux root (hd0,3) root=/ | ||
+ | root (hd0,3) | ||
+ | kernel / | ||
+ | |||
+ | title Gentoo Linux root (hd0,3) root=/ | ||
+ | root (hd0,3) | ||
+ | kernel / | ||
+ | |||
+ | title Gentoo Linux root (hd0,3) root=/ | ||
+ | root (hd0,3) | ||
+ | kernel / | ||
+ | |||
+ | title Gentoo Linux root (hd0,3) root=/ | ||
+ | root (hd0,3) | ||
+ | kernel / | ||
+ | |||
+ | title Gentoo Linux root (hd0,3) root=/ | ||
+ | root (hd0,3) | ||
+ | kernel / | ||
+ | |||
+ | title Gentoo Linux root (hd0,3) root=/ | ||
+ | root (hd0,3) | ||
+ | kernel / | ||
+ | |||
+ | title Gentoo Linux root (hd0,4) root=/ | ||
+ | root (hd0,4) | ||
+ | kernel / | ||
+ | |||
+ | title Gentoo Linux root (hd0,3) root=/ | ||
+ | root (hd0,3) | ||
+ | kernel / | ||
+ | |||
+ | title Gentoo Linux root (hd0,4) root=/ | ||
+ | root (hd0,4) | ||
+ | kernel / | ||
+ | |||
+ | title Gentoo Linux root (hd0,4) root=/ | ||
+ | root (hd0,4) | ||
+ | #kernel / | ||
+ | kernel / | ||
+ | #initrd / | ||
+ | |||
+ | # vim: | ||
+ | |||
+ | |||
+ | </ | ||
+ | |||
+ | Need set the CONFIG_B43=m not CONFIG_B43=y | ||
+ | |||
+ | < | ||
+ | CONFIG_B43=m | ||
+ | </ | ||
+ | |||
+ | < | ||
+ | systemctl enable dhcpcd | ||
+ | systemctl enable NetworkManager | ||
+ | </ | ||
/var/www/dokuwiki/wiki/data/attic/linux/gentoo-upgrade-mbp.1422767498.txt.gz · Last modified: 2016/05/05 13:06 (external edit)