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:33] percylinux:gentoo-upgrade-mbp [2015/02/05 12:01] – [grub menu.lst] percy
Line 59: Line 59:
 startx startx
 slim 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 systemctl enable/disable xdm/gdm/slim
 ls /etc/X11/ ls /etc/X11/
Line 71: 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