Search:  
Gentoo Wiki

Apple_iBook_G3_first_generation

This article is part of the HOWTO series.
Installation Kernel & Hardware Networks Portage Software System X Server Gaming Non-x86 Emulators Misc

Mac OS Series

Image:Gentoo-osx.png

HOWTOs

FAQs

Other

This article is still a Stub. You can help Gentoo-Wiki by expanding it.

Contents

Introduction

Purpose

Scope

Hardware Specs

HDD:3/6 GB HDD
Memory:32/64, max: 288MB Ram
CPU: PowerPC 750(G3) 300 MHz
Graphics cardATI 4MB
Screen:12.1" 800x600
USB:1 USB port
100 |
yep|
24x |

References

Acronyms

Overview

Preparing the HD

  1. boot the ppc 32 bit linux
  2. mac-fdisk /dev/hda
  3. p
/dev/hda
        #                    type name                length   base    ( size )  system
/dev/hda1     Apple_partition_map Apple                   63 @ 1       ( 31.5k)  Partition map
/dev/hda2          Apple_Driver43 Macintosh               54 @ 64      ( 27.0k)  Driver 4.3
/dev/hda3          Apple_Driver43 Macintosh               74 @ 118     ( 37.0k)  Driver 4.3
/dev/hda4        Apple_Driver_ATA Macintosh               54 @ 192     ( 27.0k)  Unknown
/dev/hda5        Apple_Driver_ATA Macintosh               74 @ 246     ( 37.0k)  Unknown
/dev/hda6      Apple_Driver_IOKit Macintosh              512 @ 320     (256.0k)  Unknown
/dev/hda7           Apple_Patches Patch Partition        512 @ 832     (256.0k)  Unknown
/dev/hda8               Apple_HFS uden navn          6353078 @ 1344    (  3.0G)  HFS
/dev/hda9              Apple_Free Ekstra                  10 @ 6354422 (  5.0k)  Free space

Block size=512, Number of Blocks=6354431
DeviceType=0x0, DeviceId=0x0
Drivers-
1: @ 64 for 22, type=0x1
2: @ 118 for 36, type=0xffff
3: @ 192 for 20, type=0x701
4: @ 246 for 33, type=0xf8ff
  1. d8
  2. d7
  3. d6
/dev/hda
        #                    type name                length   base    ( size )  system
/dev/hda1     Apple_partition_map Apple                   63 @ 1       ( 31.5k)  Partition map
/dev/hda2          Apple_Driver43 Macintosh               54 @ 64      ( 27.0k)  Driver 4.3
/dev/hda3          Apple_Driver43 Macintosh               74 @ 118     ( 37.0k)  Driver 4.3
/dev/hda4        Apple_Driver_ATA Macintosh               54 @ 192     ( 27.0k)  Unknown
/dev/hda5        Apple_Driver_ATA Macintosh               74 @ 246     ( 37.0k)  Unknown
/dev/hda6              Apple_Free Extra              6354112 @ 320     (  3.0G)  Free space

Block size=512, Number of Blocks=6354431
DeviceType=0x0, DeviceId=0x0
Drivers-
1: @ 64 for 22, type=0x1
2: @ 118 for 36, type=0xffff
3: @ 192 for 20, type=0x701
4: @ 246 for 33, type=0xf8ff
  1. b
  2. 6p
Command (? for help): p
/dev/hda
        #                    type name                length   base    ( size )  system
/dev/hda1     Apple_partition_map Apple                   63 @ 1       ( 31.5k)  Partition map
/dev/hda2          Apple_Driver43 Macintosh               54 @ 64      ( 27.0k)  Driver 4.3
/dev/hda3          Apple_Driver43 Macintosh               74 @ 118     ( 37.0k)  Driver 4.3
/dev/hda4        Apple_Driver_ATA Macintosh               54 @ 192     ( 27.0k)  Unknown
/dev/hda5        Apple_Driver_ATA Macintosh               74 @ 246     ( 37.0k)  Unknown
/dev/hda6         Apple_Bootstrap bootstrap             1600 @ 320     (800.0k)  NewWorld bootblock
/dev/hda7              Apple_Free Extra              6352512 @ 1920    (  3.0G)  Free space

Block size=512, Number of Blocks=6354431
DeviceType=0x0, DeviceId=0x0
Drivers-
1: @ 64 for 22, type=0x1
2: @ 118 for 36, type=0xffff
3: @ 192 for 20, type=0x701
4: @ 246 for 33, type=0xf8ff
 
  1. c
Command (? for help): c
First block: 7p
Length (in blocks, kB (k), MB (M) or GB (G)): 512M
Name of partition: swap
Command (? for help): p
/dev/hda
        #                    type name                length   base    ( size )  system
/dev/hda1     Apple_partition_map Apple                   63 @ 1       ( 31.5k)  Partition map
/dev/hda2          Apple_Driver43 Macintosh               54 @ 64      ( 27.0k)  Driver 4.3
/dev/hda3          Apple_Driver43 Macintosh               74 @ 118     ( 37.0k)  Driver 4.3
/dev/hda4        Apple_Driver_ATA Macintosh               54 @ 192     ( 27.0k)  Unknown
/dev/hda5        Apple_Driver_ATA Macintosh               74 @ 246     ( 37.0k)  Unknown
/dev/hda6         Apple_Bootstrap bootstrap             1600 @ 320     (800.0k)  NewWorld bootblock
/dev/hda7         Apple_UNIX_SVR2 swap               1048576 @ 1920    (512.0M)  Linux swap
/dev/hda8              Apple_Free Extra              5303936 @ 1050496 (  2.5G)  Free space

Block size=512, Number of Blocks=6354431
DeviceType=0x0, DeviceId=0x0
Drivers-
1: @ 64 for 22, type=0x1
2: @ 118 for 36, type=0xffff
3: @ 192 for 20, type=0x701
4: @ 246 for 33, type=0xf8ff
  1. create root
Command (? for help): c
First block: 8p
Length (in blocks, kB (k), MB (M) or GB (G)): 8p
Name of partition: root
Command (? for help): p
/dev/hda
        #                    type name                length   base    ( size )  system
/dev/hda1     Apple_partition_map Apple                   63 @ 1       ( 31.5k)  Partition map
/dev/hda2          Apple_Driver43 Macintosh               54 @ 64      ( 27.0k)  Driver 4.3
/dev/hda3          Apple_Driver43 Macintosh               74 @ 118     ( 37.0k)  Driver 4.3
/dev/hda4        Apple_Driver_ATA Macintosh               54 @ 192     ( 27.0k)  Unknown
/dev/hda5        Apple_Driver_ATA Macintosh               74 @ 246     ( 37.0k)  Unknown
/dev/hda6         Apple_Bootstrap bootstrap             1600 @ 320     (800.0k)  NewWorld bootblock
/dev/hda7         Apple_UNIX_SVR2 swap               1048576 @ 1920    (512.0M)  Linux swap
/dev/hda8         Apple_UNIX_SVR2 root               5303936 @ 1050496 (  2.5G)  Linux native

Block size=512, Number of Blocks=6354431
DeviceType=0x0, DeviceId=0x0
Drivers-
1: @ 64 for 22, type=0x1
2: @ 118 for 36, type=0xffff
3: @ 192 for 20, type=0x701
4: @ 246 for 33, type=0xf8ff
  1. w
  2. q
mkswap /dev/hda7
Setting up swapspace version 1, size = 536866 kB
no label, UUID=18362ed3-e26c-4c72-b462-bd24ca1c63c6
livecd ~ # swapon /dev/hda7
livecd ~ # mount /dev/hda8 /mnt/gentoo

Configuration

Make system

Kernel configuration

Modules

  find /lib/modules/ -type f -iname '*.o' -or -iname '*.ko' | grep mac | xargs -n1 basename  >> /etc/modules.autoload.d/kernel-2.6
(chroot) livecd linux # find /lib/modules/ -type f -iname '*.o' -or -iname '*.ko' | grep char | xargs -n1 basename  >> /etc/modules.autoload.d/kernel-2.6
(chroot) livecd linux # find /lib/modules/ -type f -iname '*.o' -or -iname '*.ko' | grep sound | xargs -n1 basename  >> /etc/modules.autoload.d/kernel-2.6
(chroot) livecd linux # find /lib/modules/ -type f -iname '*.o' -or -iname '*.ko' | grep ieee | xargs -n1 basename  >> /etc/modules.autoload.d/kernel-2.6
(chroot) livecd linux # find /lib/modules/ -type f -iname '*.o' -or -iname '*.ko' | grep blue | xargs -n1 basename  >> /etc/modules.autoload.d/kernel-2.6
(chroot) livecd linux # find /lib/modules/ -type f -iname '*.o' -or -iname '*.ko' | grep i2c | xargs -n1 basename  >> /etc/modules.autoload.d/kernel-2.6

Emerges

Emerges

  1. emerge usbutils
  2. emerge pciutils
  3. emerge alsa-utils
  4. emerge xorg-x11
  5. emerge Xorgautoconfig


  1. To get evilwm working see: EvilWM
Retrieved from "http://www.gentoo-wiki.info/Apple_iBook_G3_first_generation"

Last modified: Thu, 28 Aug 2008 07:40:00 +0000 Hits: 3,498