Installation Instructions

From Mol

Jump to: navigation, search

Contents

Distributions

Debian

Etch

From Source

Add the appropriate sources to sources.list

# nano -w /etc/apt/sources.list

Should look something like this:

deb http://http.us.debian.org/debian/ etch main contrib non-free

Replace `us` with your country code.

You will need some extra software in order to build the modules

# apt-get install kernel-package linux-source ncurses-dev fakeroot wget bzip2

Prepare for module compile

# cd /usr/src
# tar xjf linux-source-2.6.18.tar.bz2
# ln -s linux-source-2.6.18 linux
# cd linux
# make menuconfig

Load your old config from /boot/

Note: this may not work for newer versions of Debian. If you get an error about "modpost", follow the Ubuntu instructions below.

From Package Manager

# apt-get install mol-modules-source
# apt-get install mol mol-drivers-macosx

Fedora

Please let me know!

Gentoo

Gentoo provides a Mac-On-Linux ebuild:

The ~ppc version in portage is always the latest MOL release. See the Gentoo PPC FAQ for information on using a ~ppc masked package.

# emerge mol

A description of the USE flags follows:

Flag Description
X Adds support for X Windows, including running Mac-On-Linux in windowed mode
alsa Adds support for ALSA sound playback
debug Compiles the debugger
fbcon Adds support for running Mac-On-Linux on the console, provides the molvconfig application
oss Adds support for OSS sound playback
pci Adds support for PCI Proxying
sheep Adds support for the MacOS sheep driver
usb Allows USB devices to be used from within Mac-On-Linux
dga Adds support for running Mac-On-Linux fullscreen in X
oldworld Allows booting MacOS 7.5.2 - 8.6 with the appropriate Boot ROM
vnc Allows Mac-On-Linux viewing from a VNC client

Slackintosh

Mol is an official Slackintosh package! You can find it in the /mac folder of Slackintosh mirrors and cd set, latest version (11.0 at the time of writing) ships with mol 0.9.71_pre8 so you have to run:

# installpkg mol-0.9.71_pre8_2.6.17.13-powerpc-1.tgz

If you build a custom kernel, Mol may no longer work: just download the /source/mac/mol folder and run mol.SlackBuild to create a package for your own kernel.

Main Slackintosh mirror: http://workaround.ch/pub/slackintosh/

Ubuntu

If you want to use the (outdated) packages supplied by Ubuntu, there is a wiki page: https://help.ubuntu.com/community/MacOnLinuxHowto

If you want to compile from source, read on!

Installing the Required Packages

You will need to install some development packages:

# apt-get install autoconf libc6-dev ncurses-dev zlib1g-dev \ 
  libasound2-dev xlibs-dev libpng12-dev libxxf86dga-dev \
  automake autoconf

You should now be able to follow the Debian directions above.

To build your the kernel modules, you need to install both the linux-source and the linux-headers packages, and adjust them slightly:

# apt-get install linux-source-2.6.xx-xx linux-headers-2.6.xx-xx
# cd /usr/src
# tar jxvf linux-source-2.6.xx-xx 
# cd linux-headers-2.6.xx-xx
# ln -sf /usr/src/linux-source-2.6.xx-xx/drivers drivers

Yellow Dog Linux

Please let me know!

CRUX PPC GNU/Linux

available asap!

Personal tools