User Tools

Site Tools


linux:gentoo-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-mbp [2012/09/23 00:23] – [Reference] percylinux:gentoo-mbp [2016/05/05 13:07] (current) – external edit 127.0.0.1
Line 69: Line 69:
      
 Append section to /etc/X11/xorg.conf Append section to /etc/X11/xorg.conf
-<pre>+<code>
 Section "InputClass" Section "InputClass"
  MatchIsTouchpad "true"  MatchIsTouchpad "true"
Line 75: Line 75:
  Driver          "mtrack"  Driver          "mtrack"
  EndSection  EndSection
-</pre>+</code>
  
 .Xmodmap .Xmodmap
  
-<pre>+<code>
 pjq@localhost ~ $ cat .Xmodmap  pjq@localhost ~ $ cat .Xmodmap 
 pointer = 1 2 3 5 4 7 6 8 9 10 11 12 pointer = 1 2 3 5 4 7 6 8 9 10 11 12
-</pre>+</code> 
 + 
 +===== Fix boot after reinstall Mac OS X  ===== 
 +1.Of course,first should install rEFIt,and sync the MBR partition list. 
 + 
 +2.Fix the grub command,it is really strange,after the new install of Mac OS X,the sda5 has been changed to sda4,so need update all related partition index by -1. 
 +<code> 
 +splashimage=(hd0,3)/boot/grub/splash.xpm.gz 
 +#Now config 
 +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 
 + 
 +#The previous config 
 +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 
 +</code> 
 + 
 +And the fstab also need update: 
 +<code> 
 +# NOTE: If your BOOT partition is ReiserFS, add the notail option to opts. 
 +/dev/sda4              /           ext4            noatime         0 0 
 +#/dev/sda4 /boot ext2 noauto,noatime 1 2 
 +/dev/sda3 /home ext4 noatime 0 1 
 +#/dev/SWAP none swap sw 0 0 
 +/dev/cdrom /mnt/cdrom auto noauto,ro 0 0 
 +/dev/fd0 /mnt/floppy auto noauto 0 0 
 + 
 +</code> 
 + 
 +===== Tips ===== 
 +  fglrxinfo 
 +  fgl_glxgears 
 + 
 +Gentoo Linux on the MacBook Pro 8,2 (late 2011): 
 + 
 +http://ck.kennt-wayne.de/2012/jun/gentoo-linux-on-the-macbook-pro-82-late-2011 
 +===== Kernel config ===== 
 +config-3.5.7: 
 + 
 +http://bpaste.net/show/66555/
/var/www/dokuwiki/wiki/data/attic/linux/gentoo-mbp.1348331038.txt.gz · Last modified: 2016/05/05 13:06 (external edit)