User Tools

Site Tools


macbook:ubuntugutsygibbon

J'ai gravé UbuntuLinux 7.10 RC ce 17/10/07.

Préparation

Réduire la partition Mac à 40 Go:

sudo diskutil resizevolume disk0s2 40G

Télécharger l'archive (DMG) de rEFIt (v. 0.10), l'ouvrir, puis recopier sur la racine et exécuter le script:

sudo cp -r /Volumes/rEFIt/efi /
cd /efi/refit/
./enable.sh

Il met comme output:

+ sudo bless --folder /efi/refit --file /efi/refit/refit.efi --labelfile /efi/refit/refit.vollabel

Donc je le fais:

 sudo -s
bless --folder /efi/refit --file /efi/refit/refit.efi --labelfile /efi/refit/refit.vollabel

Reboot pour vérifier que c'est OK: il y a un menu boot avec une seule option: /MacOS.

18/10/2007 Ensuite, booter sur le CD-ROM d'Ubuntu, double-cliquer sur l'icône install et suivre la procédure. J'ai fait tout par défaut, dommage qu'il n'y ait pas une partition /home séparée. Ça a l'air de bien tourner (écran, son, WiFi, filaire).

Reste à configurer le clavier belge Apple correctement, le touchpad pour avoir middle et right clicks, etc. et voir pour la webcam intégrée.

Touchpad

J'ai d'abord pris les settings sur http://ubuntuforums.org/showthread.php?t=389198. Mais lorsque je veux descendre dans la fenêtre avec 2 doigts dans MozillaFirefox, il revient une page en arrière. Donc j'essaie cette version-ci: http://ubuntuforums.org/showthread.php?t=493758. Pour avoir le “two finger scroll”, ajouter:

Option "VertTwoFingerScroll" "1"
Option "HorizTwoFingerScroll" "1"

Pour ne plus avoir de problème avec MozillaFirefox: <[with two finger scrolling enabled, you will probably want to change firefox's horizontal scrolling behavior. to do so, open firefox, go to the URL “about:config”, and change the following settings:

mousewheel.horizscroll.withnokey.action from 2 to - 0 mousewheel.horizscroll.withnokey.numlines from -1 to 1]>

Disque dur

Mon disque dur a lâché après 15 mois, il y a peut-être une explication: Ubuntu May Be Killing Your Laptop's Hard Drive. C'est discuté sur https://wiki.ubuntu.com/DanielHahler/Bug59695.

sudo aptitude install smartmontools
sudo smartctl -s on /dev/sda3
sudo vi /etc/laptop-mode/laptop-mode.conf

Changer les lignes suivantes pour avoir:

CONTROL_HD_IDLE_TIMEOUT=1
LM_AC_HD_IDLE_TIMEOUT_SECONDS=300
LM_BATT_HD_IDLE_TIMEOUT_SECONDS=300
NOLM_HD_IDLE_TIMEOUT_SECONDS=7200
CONTROL_HD_POWERMGMT=1
BATT_HD_POWERMGMT=254
LM_AC_HD_POWERMGMT=255
NOLM_AC_HD_POWERMGMT=255
sudo vi /etc/default/acpi-support

Changer les 2 lignes suivantes:

ENABLE_LAPTOP_MODE=true
SPINDOWN_TIME=60
sudo vi /etc/acpi/power.sh

Remplacer la ligne:

$HDPARM -B 1 /dev/$drive 2>/dev/null

par

$HDPARM -B 254 /dev/$drive 2>/dev/null

(= remplacer 1 par 254)

macbook/ubuntugutsygibbon.txt · Last modified: 2020/10/09 13:38 by carl