Jump to content
2 posts in this topic

Recommended Posts

I like to test my software on OS X to make sure it works, so I thought I'd share my thoughts on how I setup my desktop to dual boot linux and osx86 with Tiger 10.4.11.

 

I have a Dell Dimension 4400. It's mostly stock, but I replaced the network card and added a wireless card.

 

Hardware:

Intel Pentium 4 2.0 GHz (no SSE3)

nVidia GeForce2 MX 400

ADMtek NC100 Network Everywhere Ethernet Adapter

D-Link AirPlus G DWL-G510 (rev ;)

Texas Instruments TSB12LV26 IEEE-1394 PCI Firewire card

 

I don't really understand everything lspci is saying, but I think I have an Intel 82801BA motherboard with an IDE U100 ATA controller, a UHCI USB controller (USB 1.1), SMBus, and an AC'97 Audio Controller.

 

Except for the video card, I have found working drivers for everything else. I am using XxX 10.4.11 install disc, which is intel only.

 

First, I installed linux. I am using an mbr partition table with that looks like this:

 

/dev/hda1 = Linux (0x83), ext2 formatted, /boot (grub + linux kernels)

/dev/hda2 = Mac (0xaf), HFS+ Journaled, / (Tiger)

/dev/hda3 = Linux swap (0x82)

/dev/hda4 = extented (0x5)

/dev/hda5 = Linux (0x83), ext3 formatted, / (linux root)

/dev/hda6 = Linux (0x83), jfs formatted, /home (linux home)

 

I use grub, and it needs to be installed on the mbr, because Mac doesn't like it when it's not the active partition. Here is my grub.conf

 

timeout 7
default 0
fallback 1
splashimage=(hd0,0)/grub/splash.xpm.gz

title Gentoo (current)
root (hd0,0)
kernel /vmlinuz root=/dev/hda5

title Gentoo (previous)
root (hd0,0)
kernel /vmlinuz.old root=/dev/hda5

title Mac OS X Tiger
rootnoverify (hd0,1)
makeactive
chainloader +1

 

Next boot the XxX install disc. It takes awhile to come up on my system. When it does, open Disk Utility. Select the Mac partition and erase it. Use HFS+ Journaled. Exit Disk Utility.

 

Now we get to the screen with a million options. The defaults are for an SSE3 machine with no drivers, so we need to change it a little.

 

Keep the 10.4.11 Combo Update.

Keep everything in no-efi kexts.

Deselect the 8.10.1 Intel SSE3 kernel.

Since the 8.11.1 Intel SSE3/SSE2 no-efi kernel gave me a panic, I selected 8.9.1 kernel Universal + patches

I have a USB keyboard and mouse, so I removed the Apple PS2 patch in Recommended Patches.

In audio drivers, add ADI1980 AC97 Audio.

In network drivers, add 10.4.5 IO80211 Family.

 

When it reboots, you will need to go into single user mode because if it tries to use the stock nvidia drivers, we'll never get a display with our GeForce2 MX. Press a key to enter options and type in -s [ENTER].

 

When it gets to the prompt, it tells you how to mount the root device for read/write access. You have to run fsck and then remount. Follow the directions, then do this:

 

$ cd /System/Library/Extentions

$ mv NVDANV10Hal.kext ~

$ mv NVDAR* ~

$ mv GeForce.kext ~

$ mv GeForce2* ~

$ reboot

 

I don't know what those are (or even where they go since I don't know where root's home is), but it was suggested by another user to delete the nVidia and GeForce kexts so Mac wouldn't try to use them. I guess you could just use rm -rf NVDA* GeForce* if you wanted to permanatly get rid of them.

 

Now we can boot into OS X. Audio will work, but network doesn't yet. There are two problems. The mac sees, but cannot use either network card.

 

First we have to install the tulip driver. You will either need to install Xcode and build the driver yourself, or you can try the one I built.

 

tulip.kext.zip

 

If you want to build it yourself, the source can be found at http://sourceforge.net/projects/darwin-tulip.

 

Put tulip.kext in /System/Library/Extensions and start Terminal.

 

$ cd /System/Library/Extentions

$ sudo kextload tulip.kext

 

Now go to the Network in System Preferences. If you're lucky, it already figured out which is which, and you'll see your Ethernet and your "AirPort" card. If not, you may need to fix the settings for one of the cards so they don't conflict.

 

$ cd /Library/Preferences/SystemConfiguration

$ sudo -s

$ nano -w NetworkInterfaces.plist

 

Make sure the wired card is BSD Name en0 and IOInterfaceUnit 0, and the wireless is BSD Name en1 and IOInterfaceUnit 1. Then try the network panel again. You may need to reboot.

 

Okay, that's everything. You should now have a dual-boot system with 10.4.11. Here's my screenshot.

 

aboutef7.th.png

×
×
  • Create New...