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
Next revisionBoth sides next revision
linux:gentoo-mbp [2012/09/23 00:23] – [Reference] percylinux:gentoo-mbp [2012/12/17 22:50] – [Fix boot after reinstall Mac OS X] percy
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 
 + 
 +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 
 +</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> 
 + 
 + 
 + 
/var/www/dokuwiki/wiki/data/pages/linux/gentoo-mbp.txt · Last modified: 2016/05/05 13:07 by 127.0.0.1