-->

jb, 24y

Keyword - Mac OS X

Entries feed - Comments feed

Wednesday, February 27 2008

MacBook install: triple boot: linux, windows, Mac OS

This details the installation of a MacBook white, shipped in the beginning of 2008.

Set up Mac OS X

Updates

First before anything, update to the latest MacOS X.5.2, and all the necessary downloads... Reboot as many times as needed

Software

Then, install VLC, Firefox 3 béta, Adium and Xcode if you need it.

Done.

Quite easy, so far, no ?

Install Windows XP

Be sure to have your Windows XP SP2 CD and a legit license number.

Bootcamp

Go to spotlight, look for Boot Camp assistant or find it from your Applications folder.

  • Run it.
  • Prepare a disk space for Windows ( 16GB is ok, I think )
  • Quit and re-run it.
  • Install Windows with your CD Rom inside.
  • Reboot and wait during all the Windows installation that is long and needs a couple of reboots. Mine did fail once, for no obvious reasons.

Windows XP

Once you have your complete Windows XP installation, you will see a Boot Camp icon on your task bar. Keep it.

  • Put the Apple OS X CD-ROM in, and let it do all the installation of the drivers. It may require some reboots, but at the end, you have a very new and completely functional Windows XP!
  • Reboot
  • Do your Windows Update and reboot and again, and reboot, and again... Until nothing appears there.
  • Launch the Boot Camp assistant and Default Mac OS HD

Mac OS again

Reboot to mac OS. Be pleased.

Linux

This should work with any distribution and was tested with Debian and Ubuntu

Resize

  • Go to Applications/Utils and launch Disk Tool
  • Split and resize the main partition in order to have a new partition that you name Linux and format in HFS. (16GB here)
  • Check everything.

Reboot on linux

  • Put your linux live CD and reboot
  • Press `C` to boot on the CD
  • Launch your live-CD and install linux.

Install

During the install I deleted the new partition and added two in place:

  • One root partition /
  • One swap 1GB
  • Finish everything, reboot

You should be careful to install your grub in your linux partition and NOT in the MBR, to let reFit do it correctly.

rEFIt

On Mac OS X, install rEFIt and configure it quite quickly.

Reboot and use rEFIt to boot on linux using the "option" key.

Configure linux

You have all you want working except the wireless... Which is a Broadcom BCM4328

sudo apt-get install ndiswrapper-utils-1.9

Find in your Windows partition your wireless drivers:

sudo su

cp -r /media/Windows/WINDOWS/DRVSTORE/bcmwl5_**/ /root/

mv bcmwl5_*** bcmw

cd bcmw

ndiswrapper -i bcmwl5.inf

ndiswrapper -l

ndiswrapper -m

modprobe ndiswrapper

ifconfig

Updates

Uncomment what is needed in your sources.list.

Reboot.

Problems

If you have any issues, like not having the linux partition shown anymore, reinstall grub on your linux partition with a live-CD.

Monday, November 5 2007

VLC and Mac OS X Leopard

Following my news on Leopard in French, and following my photos of the crowed Apple Store, this is just a small blog notice to say that VLC media player works almost correctly on OSX Leopard without any modification. Just use the 0.8.6c release.

However, the remote controller doesn't work anymore and there are corruptions in the OpenGL output when you go out of fullscreen.

The remote controller part should be fixed soon in VLC (development versions are fine) and the OpenGL bug, might be a problem from Leopard himself.

Go to our forum to know more about those issues...

Friday, October 26 2007

Mac OS X Leopard

Leopard

La nouvelle version du système d’exploitation Mac OS d’Apple , sort vendredi 26 octobre 2007, demain. Sixième version majeure de Mac OS X, estampillée Mac OS X.5, de nom de code « Leopard », elle présente de très nombreuses nouveautés (plus de 300 selon Apple), dont certaines méritent d’être détaillées.

Fonctionnalités

Time Machine

« Time Machine » est sans doute la nouveauté la plus originale dans un système d’exploitation grand public. Cette fonctionnalité est un système de backup simplifié et automatisé pour les fichiers utilisateurs. Une fois activée, Time Machine sauvegarde automatiquement les entrées modifiées du système de fichier, heure par heure. Chaque jour ces modifications sont agrégées afin de sauver l’espace disque. Outre la simplicité de fonctionnement, Time Machine permet de naviguer visuellement dans les backups, et de les restaurer, sans effacer les versions plus récentes, ce qui est assez rare. En outre, ces fonctions de backups sont utilisables depuis la plupart des applications Mac, tels iPhoto, Mail ou Address Book.

Sécurité

La sécurité du système a été aussi un point d’innovation de cette version.

Tout d’abord, l’espace mémoire est rendu partiellement aléatoire, ce qui empêche certaines failles de sécurité d’être exploitées, sans pour autant les limiter. En effet, les adresses étant plus difficiles à prédire, des attaques de types « dépassement de tampons » (‘buffer overflow’), « dépassement de tas » (‘heap overflow’) ou « retour à libc » (‘return-to-libc attack’). Cette fonctionnalité, déjà présente sous Windows Vista et Linux, reste une nouveauté majeure de Leopard.

Ensuite, les applications peuvent être signées par les développeurs et les applications téléchargées sont marquées afin de détecter toutes modifications ultérieures du programme, afin d’interdire aux applications modifiées de fonctionner.

Enfin, outre un pare-feu applicatif, un chiffrement avancé (AES - 256bits) du système de fichiers, un contrôle d’accès plus restrictif et un VPN amélioré, cette version comporte une technologie de « bac à sable » (‘sandboxing’), permettant à certaines applications critiques de ne pas avoir accès à l’intégralité du système.

Look'n feel

L’aspect du système d’exploitation a été modifié de plusieurs façons notables. Tout d’abord, une innovation du monde Unix, les bureaux virtuels, est intégrée, tout en gardant la fonction Exposé de miniaturisation des applications. Ensuite, le Dock, barre de lancement d’application, le Finder, pour naviguer dans les fichiers, utilisent des effets 3D, pour améliorer le look. En outre, de nombreux effets et animations sont disponibles pour les développeurs d’applications tierces, à travers les technologies CoreAnimation. Enfin, une grande partie du système utilise un affichage vectoriel, qui permet d’être indépendant de la résolution utilisateur.

Pluuuuuuuuuuuus !

Pour finir, le passage à 64-bits de nombreuses bibliothèques systèmes, dont Cocoa, l’utilisation d’OpenGL 2.0, la certification Unix, la présence d’onglets dans le terminal ou l’intégration de Bootcamp, pour dualbooter sous Windows, du système de fichier ZFS font de cette version de Mac OS X, un étape majeure pour Apple Inc.


Jean-Baptiste KEMPF | jean-baptiste.kempf _(at)_ via.ecp.fr | Powered by Chaussure | xHtml et CSS valide