Ce sera sans doute avec [[:Debian]]. ====== Désavantages ====== http://ubuntuforums.org/showthread.php?t=10914 > Do remember that there are some drawbacks to running GNU/Linux on PPC as opposed to x86 (caused by non-free software packages) though. > > You won't get playback for all the video codecs with mplayer that you can get on x86, no flash (except for a basic free software plugin) and 3d-acceleration is only available in the DRI form. Most non-free software packages being sold for Linux are not available either. * [[http://forums.gentoo.org/viewtopic.php?t=117774| Macromedia Flash Player 6 on Linux PPC with Qemu]] Personnellement, il y a juste flash et skype que j'installerais, mais c'est pas un drame. Pour flash, il y a peut-être une alternative: [[http://www.gnu.org/software/gnash/| gnash]] (cf. http://ubuntuforums.org/showthread.php?t=199370). ====== Installation ====== ===== Pre-install ===== Je voudrais bien réduire la taille de ma partition (80 Go) pour pouvoir installer [[:GnuLinux]]. Trouvé sur ubuntuforums.org: * You will need to boot to the Mac OS X install cd and choose disk tools from the menu and disable journaling on the partition. * You cannot move the partiton just resize it. ie. the start of the partition must remain the same. * USE AT YOUR OWN RISK! Make sure to backup any important data before hand. Il existe 2 logiciels propriétaires sous [[:MacOs]] X qui permettent de changer la taille des partitions, mais pas sur la partition sur laquelle on travaille, donc ça n'est d'aucune utilité pour le cas présent. Apparemment, on peut utiliser [[http://www.gnu.org/software/parted/parted.html| GNU Parted]]. Il faut encore que je trouve un [[:LiveCD]] PPC qui le contienne. [[:UbuntuLinux]] 5.04 [[:LiveCD]] le contient, mais il a l'air buggé: parted -v bash: /sbin/parted: Input/output error http://lists.apple.com/archives/x11-users/2005/Aug/msg00054.html La version de parted dans [[:UbuntuLinux]] 5.10 (CD d'installation) ne pose pas de problème (cf. ci-dessous). ===== Disable journaling ===== Booter sur le CD d'install [[MacOs]] X 1, lancer un terminal (pas démarrer d'installation) et taper: diskutil disablejournal disk0s3 ===== Installation de UbuntuLinux 5.10 ===== Insérer le CD d'installation, rebooter en appuyant sur la touche 'C'. Lorsqu'on arrive au partitionnement, changer de console: alt+F2 parted resize 3 0.344 36000 quit Revenir à la console d'installation: alt+F1 Partitionner en mettant une partition Apple newworld avec le boot flag --> !!FAUX!! Continuer l'installation. Problème: je n'arrive plus à rebooter sur la partition Mac OS. C'est parce que j'avais choisi la partition HFS+ pour booter :/ Il aurait fallu faire une petite partition /boot pour yaboot et choisir cette dernière comme partition de boot (newworld boot partition dans partman). Yaboot (bootloader PPC) et Breezy Badger fonctionnent bien. J'ai donc recommencé mon installation pour avoir un dualboot: * partitionnement avec disk utility du premier disque d'installation [[:MacOs]]: j'ai mis la partition macos étendue à la fin * installation de Mac OS X * installation de Ubuntu 5.10 avec après la partition de boot de Mac OS, une partition /boot, une swap, une / et une /home. Tout s'est bien passé la 2e fois, je n'ai pas fait de fausses manipulations. ===== Codecs, libdvdcss2 ===== Il y a un outil appelé [[http://ubuntuforums.org/showthread.php?t=80295| Automatix]] qui permet d'installer des packages qui ne sont pas dans Breezy. Il faut le télécharger, le décompresser, et lancer un script d'installation: wget http://ubuntuforums.org/attachment.php?attachmentid=3622&d=1132159629 mv attachment.php\?attachmentid\=3622 automatix-ubuntu_v3.4.tar.gz tar xzf automatix-ubuntu_v3.4.tar.gz cd Automatix ./install Il faudra mettre un mot de passe root pour pouvoir l'utiliser (Automatix le demande). Ensuite, dans le menu Applications -> System Tools il y a un item Automatix. Le lancer et installer "multimedia codecs" et "AUD-DVD codecs" Et puis on peut regarder des DVDs :) Attention, Automatix modifie /etc/apt/sources.list. ====== Upgrade vers Dapper Drake 06.06 ====== J'ai fait via l'outil graphique de mise à jour: cliquer sur le bouton upgrade to dapper, et ça s'est bien passé, un seul reboot. J'ai quand même dû changer le DNS: dans /etc/network/interfaces, j'ai dû mettre à jour les nouveaux DNS, puis redémarrer le réseau: sudo /etc/init.d/networking restart Je ne sais pas pourquoi. [[:MacOnLinux]] (MOL)) fonctionne (dans une fenêtre), mais apparemment, c'est comme si la touche pomme est toujours enfoncée. Essayer en plein écran, ou recompiler les modules pour le nouveau noyau. Il ne monte plus les drives USB automatiquement. Solution: Dans synaptic, faire un //remove completely// de hal et puis réinstaller les packages qui ont été désinstallés. Finir par un reboot ([[http://ubuntuforums.org/showthread.php?p=1070905| source]]). Comme j'ai envie d'essayer kubuntu, j'ai installé ce qu'il fallait: sudo aptitude install kubuntu-desktop Mais je suis vite retourné à GNOME... Lire des DVDs ne fonctionnait plus... sudo /usr/share/doc/libdvdread3/examples/install-css.sh sudo aptitude install totem-xine ====== Upgrade vers Edgy Eft 6.10 ====== gksu "update-manager -c" Il y a eu un crash, mais ça n'a pas porté à conséquence apparemment. Il n'y a plus de son: dans dmesg, j'ai trouvé: [ 50.534885] snd-powermac no longer handles any machines with a layout-id property in the device-tree, use snd-aoa. Donc, je remplace dans /etc/modules: snd-powerpc par: snd-aoa ====== Liens ====== * [[http://sowerbutts.com/linux-mac-mini/ |Installing Debian GNU/Linux on the Mac Mini]] by William R. Sowerbutts, 07/02/05 (cf. [[http://lists.debian.org/debian-powerpc/2005/02/msg00095.html| announce]]) ([[http://linux.slashdot.org/article.pl?sid=05/02/13/1640211&tid=90&tid=3| slashdotted]]) * [[http://www.pvv.org/~perchrh/macmini/| Linux on Mac Mini]] (Ubuntu) * [[http://www.redhat.com/magazine/007may05/features/mac-mini/| Installing Fedora Core on the Mac mini]], mai 2005 ====== clavier ====== Comment configurer gnome pour qu'il reconnaisse le clavier Mac belge? * http://ubuntuforums.org/archive/index.php/t-81345.html * google: ubuntu mac keyboard * [[:MacBook:DebianEtch]] ====== Problèmes ====== * syslog: Dec 13 01:04:27 mjollnir kernel: [816171.200224] VFS: busy inodes on changed media. Dec 13 01:04:27 mjollnir kernel: [816171.241214] VFS: busy inodes on changed media. Dec 13 01:04:29 mjollnir kernel: [816173.279563] VFS: busy inodes on changed media. Dec 13 01:04:29 mjollnir kernel: [816173.314039] VFS: busy inodes on changed media. * horloge: elle décale de plusieurs secondes par heure ====== Cleanup ===== 29/10/06 Puisque je n'utilise pas KDE, j'ai retiré le package kdm, qui a retiré kde-desktop-environment, qui a ensuite retiré une chiée de packages: The following packages are unused and will be REMOVED: adept akregator amarok amarok-xine ark arts flac gtk2-engines-gtk-qt gwenview kaffeine kaffeine-xine karm katapult kate kaudiocreator kcron kde-guidance kde-systemsettings kdeadmin-kfile-plugins kdebluetooth kdegraphics-kfile-plugins kdemultimedia-kfile-plugins kdenetwork-filesharing kdenetwork-kfile-plugins kdepasswd kdepim-kresources kdepim-wizards kdm kdnssd keep khelpcenter kio-apt kio-locate kitchensync klipper kmailcvt kmenuedit kmilo kmix kmplayer-base kmplayer-konq-plugins knetworkconf knode knotes koffice-data koffice-libs konq-plugins konqueror-nsplugins kontact konversation kopete korganizer kpdf kpersonalizer kpf kppp krdc kregexpeditor krfb krita krita-data kscd kscreensaver kscreensaver-xsavers ksmserver ksnapshot ksplash ksplash-engine-moodin ksvg ksysguard ksysguardd ksystemlog ktorrent kubuntu-artwork-usplash kubuntu-docs kubuntu-konqueror-shortcuts kwalletmanager kwin-style-crystal language-selector-qt latex-xft-fonts lesstif2 libjpeg-progs libkpimexchange1 liblockdev1 libpoppler1-qt libpythonize0 librsync1 libruby1.8 libskim0 ncompress openoffice.org-kde pykdeextensions python2.4-dev qca-tls qobex rdiff-backup ruby ruby1.8 scim-qtimm skim speedcrunch wlassistant zoo Après ça, j'ai installé deborphan, je l'ai lancé, et j'ai viré tout ce qu'il proposait: sudo aptitude remove libnjb5 libdb1-compat libgmp3c2 libtasn1-2 gstreamer0.10-plugins-bad-multiverse libssl0.9.7 libkpathsea3 libifp4 gstreamer0.8-plugins-multiverse libreadline4 libcompfaceg1 odbcinst1debian1 libdb4.2 libmysqlclient14 libtunepimp3 gstreamer0.10-plugins-ugly-multiverse libsmpeg0 libreiserfs0.3-0 libgle3 libavahi-compat-libdnssd1 libgnujaxp-java libjessie-java gstreamer0.8-ffmpeg libdb3 libneon24 libsigc++-1.2-5c2 libgnutls12 La suite sur LinuxServer. Il a crashé, j'ai remplacé par un [[:MacMiniIntel]]. C'est donc de nouveau une station de travail. ====== Ubuntu 9.10 ====== Vu qu'il a été remplacé par un autre [[:MacMiniIntel:linuxserver|serveur]], je n'ai plus utilisé cette machine pendant près de 2 ans. L'installation Mac OS a l'air de fonctionner, donc j'essaye de mettre un [[:UbuntuLinux]] 9.10 avec la mini install. ====== Ubuntu 10.4 ====== Vu qu'en avril 2011, Karmic Koala n'est plus supporté, il était temps (mars 2011) de passer à Lucid Lynx. Upgrade sans problème apparent. A vérifier: * son * flash: ce qu'on peut faire (puisque Macromedia n'a toujours pas de version pour PowerPC) * gnash: packages gnash, mozilla-plugin-gnash et browser-plugin-gnash (universe) * swfdec: package swfdec-mozilla (universe) * lightsparc: packages lightspark et browser-plugin-lightspark ubuntu à partir de 11.4