Différences entre les versions de « MacBook »

De dieudo.fr
Aller à la navigation Aller à la recherche
Ligne 4 : Ligne 4 :
* http://doc.ubuntu-fr.org/macbookgutsy
* http://doc.ubuntu-fr.org/macbookgutsy
* https://help.ubuntu.com/community/MacBook
* https://help.ubuntu.com/community/MacBook
* https://wiki.ubuntu.com/MactelSupportTeam


=== Partitionnement ===
=== Partitionnement ===

Version du 9 décembre 2008 à 12:24

Journal de l'installation d'Intrepid (Ubuntu 8.10)

Sources

Partitionnement

Réalisé avec BootCamp 1.3 : sda1 et sda2 (GRUB sera installé sur /dev/sda)

Astuce : régler l'horloge interne en 2006 (dans OS X) pour que BootCamp accepte de fonctionner.

Basic instructions

  1. Update the firmware to the latest version. If you prefer, you may use the standard "Software Update" (accessible from your OS X partition, if you have one)
  2. Get your Ubuntu Live CD ready. For older MacBooks you must select i386; for Core 2 Duo MacBooks (post 2006) you can select amd64 if you're interested in running a 64-bit OS, otherwise i386 may be selected.
  3. Install rEFIt if you want a boot menu (to select between OS X/Ubuntu) to appear on every boot. You can make Ubuntu boot by default and change the menu timeout by editing the "refit.conf" file (described on the above website).
  4. If necessary, use Boot Camp to resize your OSX partition and make space for Ubuntu. Don't waste a CD creating a Windows driver disk. Reboot.
  5. Hold down "C" to boot from the CD.
  6. Install Ubuntu as usual, except:
    • In the partitioner, select Manually edit partition table
    • Delete /dev/sda3 and /dev/sda4 if they exist
    • Create a new ext3 partition for your root
    • Mount the newly created ext3 partition on '/'
    • On the last screen, click on the "Advanced" button and select instead /dev/sda in the drop-down list for installing GRUB
    • Note that Boot Camp will cause problems if you make more than two partitions in total.
  7. Finish the install and reboot.
  8. If you installed rEFIt, you should have a choice between booting OS X and Ubuntu. Use the arrow keys and Enter to select Ubuntu. In case you are stuck with a "No bootable device -- insert boot disk and press any key" message, reboot, go in rEFIt to the Partitioning Tool, and let it update the MBR.
  9. Alternatively, if you did not install rEFIt, hold down Alt/Option to choose whether to boot into OSX / Ubuntu. The Boot Camp-installed boot menu will recognize the Ubuntu installation as "Windows," but will boot Ubuntu normally regardless. (If the boot menu does not "see" your freshly installed Ubuntu; burn rEFIt on a CD, boot from it and resync the MBR with GPT due to “Partitioning Tool”.)
  10. Log in to your system.
  11. Follow the instructions below to set up the various hardware components that don't work out-of-the-box on Hardy.

Récupération du son

Grâce au script donné sur Alsa 1.0.18 Installation Script - Ubuntu Forums appliqué step by step. Activé via alsamixer en retirant le mute sur chacun des canaux, et enregistrant la config via la commande "alsactl store".

Version lourde et en VF sur la page Rétablir le son sous Ubuntu 8.10 “Intrepid Ibex”.

Swap

Source : Example of making a swap file

dieudo@dieudo-laptop:~$ sudo dd if=/dev/zero of=/mnt/1024Mb.swap bs=1M count=1024
[sudo] password for dieudo: 
1024+0 enregistrements lus
1024+0 enregistrements écrits
1073741824 octets (1,1 GB) copiés, 36,294 s, 29,6 MB/s
dieudo@dieudo-laptop:~$ sudo mkswap /mnt/1024Mb.swap
Setting up swapspace version 1, size = 1048572 KiB
pas d'étiquette, UUID=4920ffd6-dd5b-4bae-b743-3f3ece2d6933
dieudo@dieudo-laptop:~$ sudo swapon /mnt/1024Mb.swap
dieudo@dieudo-laptop:~$ cat /proc/meminfo
MemTotal:      1002052 kB
MemFree:         13936 kB
Buffers:          2104 kB
Cached:         385788 kB
SwapCached:          0 kB
Active:         526164 kB
Inactive:       293884 kB
HighTotal:       99288 kB
HighFree:          196 kB
LowTotal:       902764 kB
LowFree:         13740 kB
SwapTotal:     1048568 kB
SwapFree:      1048568 kB
Dirty:             136 kB
Writeback:           0 kB
AnonPages:      432192 kB
Mapped:          87676 kB
Slab:            28036 kB
SReclaimable:    12644 kB
SUnreclaim:      15392 kB
PageTables:       3644 kB
NFS_Unstable:        0 kB
Bounce:              0 kB
WritebackTmp:        0 kB
CommitLimit:   1549592 kB
Committed_AS:  1216384 kB
VmallocTotal:   110584 kB
VmallocUsed:      7872 kB
VmallocChunk:   102384 kB
HugePages_Total:     0
HugePages_Free:      0
HugePages_Rsvd:      0
HugePages_Surp:      0
Hugepagesize:     4096 kB
DirectMap4k:    135168 kB
DirectMap4M:    782336 kB
dieudo@dieudo-laptop:~$ gksudo gedit /etc/fstab
dieudo@dieudo-laptop:~$ free
             total       used       free     shared    buffers     cached
Mem:       1002052     976444      25608          0       9188     356872
-/+ buffers/cache:     610384     391668
Swap:      1048568        148    1048420

dans le fichier fstab, ajout de la ligne :

/mnt/1024Mb.swap   none      swap    sw        0   0

Webcam

Mactel support

Ajouter ce dépôt :

deb http://ppa.launchpad.net/mactel-support/ubuntu intrepid main