Building kernel with mactel patchesTopInstallation of Debian

Installation of Debian

lspci output:

00:00.0 Host bridge: Intel Corporation Mobile 945GM/PM/GMS/940GML and 945GT Express Memory Controller Hub (rev 03)
00:02.0 VGA compatible controller: Intel Corporation Mobile 945GM/GMS/940GML Express Integrated Graphics Controller (rev 03)
00:02.1 Display controller: Intel Corporation Mobile 945GM/GMS/940GML Express Integrated Graphics Controller (rev 03)
00:07.0 Performance counters: Intel Corporation Unknown device 27a3 (rev 03)
00:1b.0 Audio device: Intel Corporation 82801G (ICH7 Family) High Definition Audio Controller (rev 02)
00:1c.0 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express Port 1 (rev 02)
00:1c.1 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express Port 2 (rev 02)
00:1d.0 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI #1 (rev 02)
00:1d.1 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI #2 (rev 02)
00:1d.2 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI #3 (rev 02)
00:1d.3 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI #4 (rev 02)
00:1d.7 USB Controller: Intel Corporation 82801G (ICH7 Family) USB2 EHCI Controller (rev 02)
00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev e2)
00:1f.0 ISA bridge: Intel Corporation 82801GBM (ICH7-M) LPC Interface Bridge (rev 02)
00:1f.1 IDE interface: Intel Corporation 82801G (ICH7 Family) IDE Controller (rev 02)
00:1f.2 IDE interface: Intel Corporation 82801GBM/GHM (ICH7 Family) Serial ATA Storage Controller IDE (rev 02)
00:1f.3 SMBus: Intel Corporation 82801G (ICH7 Family) SMBus Controller (rev 02)
01:00.0 Ethernet controller: Marvell Technology Group Ltd. 88E8053 PCI-E Gigabit Ethernet Controller (rev 22)
02:00.0 Network controller: Atheros Communications, Inc. Unknown device 0024 (rev 01)
03:03.0 FireWire (IEEE 1394): Agere Systems FW323 (rev 61)

Hardware that works out of the box:

01:00.0 Ethernet controller: Marvell Technology Group Ltd. 88E8053 PCI-E Gigabit Ethernet Controller (rev 22)
00:1b.0 Audio device: Intel Corporation 82801G (ICH7 Family) High Definition Audio Controller (rev 02)
00:02.0 VGA compatible controller: Intel Corporation Mobile 945GM/GMS/940GML Express Integrated Graphics Controller (rev 03)

Debian installation:

Installation of rEFIt:
First I resized my MAC OS X partition down to 10G and downloaded rEFIt from http://refit.sourceforge.net.
After that I installed rEFIt, doing the following steps:

1. Mount the rEFIt Image
2. Copy /Volumes/rEFIt/efi to /efi.
3. Install rEFIt

$ sudo cp -r /Volumes/rEFIt/efi to /efi
$ cd /efi/refit/
$ ./enable.sh

Installation of Debian, using netinstall CD:
Now you are able to boot from the Debian CD using rEFIt.
I installed a fully encrypted base system (except swap), using the following partition layout:

/dev/sda3 -> /boot (255M)
/dev/sda4 -> /root (15G)
/dev/sda5 -> /home (10G)
/dev/sda6 -> /stuff (41G)
/dev/sda7 -> swap (1G)

The installation of GRUB will fail. Switch to a virtual console (STRG+ALT+F2) install LILO and edit /etc/lilo.conf that it fits your needs.
For example:

image=/vmlinuz
label=Linux
read-only
# restricted
# alias=1

initrd=/initrd.img
append="root=/dev/mapper/sda4_crypt"

Now install LILO into the MBR.

$ /sbin/lilo -P ignore

Now you can boot into your fresh Debian installation. :)


Marvin Stark <marv@der-marv.de>

Building kernel with mactel patchesTopInstallation of Debian