|
Linux for Die-hard Mac Users - Thorny Path to Success, Part II Arrival My SuSE 7.0 boxes finally arrived. PowerPC version consist of 5 CDs and almost 500 pages handbook; x86 Professional version contained 6 CDs, 1 DVD, 600 pages handbook, 200 pages configuration manual, and small 100 pages applications reference. Not so bad for so cheap (I mean price, not quality) software. iBook Installation Procedure
Tip from MacGuru: If your Linux installation CD crashes because of outdated boot kernel, the best and simplest solution is to download newest boot kernel (usually it is named vmlinux and is available on the publisher's ftp or WEB site) and copy it to HFS Linux boot partition. If this still doesn't work, try to disable video acceleration and run in frame buffer mode. This technique so far works for any Mac Linux distribution, even for those which use different booting scheme (e.g. Debian).
My os-chooser and yaboot configuration file may be downloaded here. You can open and modify them in any plain text editor which understands UNIX-style end of line, like free version of BBEdit, for example. Tip from MacGuru: Do not forget to mark your Linux boot partition as startup in Mac Control Panel (Startup Disk or System Disk, depending on MacOS version)! Later, if you have trouble with booting either OS, reset PRAM to launch MacOS after next restart; use Command-Option-Shift-Delete to start up from another disk; or boot Mac from CD. os-chooser is an Open Firmware script which checks whether space key is pressed on the startup and passes control either to yaboot (Linux bootloader) either to MacOS loader inside active system folder. If you want to use Linux as your primary OS (i.e. load it by default) just change the lines with boot statement. Statement ultra x:y points to the device and partition where bolted resides (do not confuse with with Linux device naming scheme, os-chooser is an Open Firmware, not Linux script !). So, what, happens next, after executing os-chooser script? Yaboot reads its own configuration file and loads Linux kernel (either boot kernel from HFS partition either runtime kernel from Linux root partition). Further, Linux startup process will not differ from any other platform. Boot kernel will invoke Linux installer, in my case, SuSE YaST. There is virtually nothing unusual with standard installation procedure (formatting/selecting partitions -> choosing profiles/software packages ->15 - 30 min installation -> basic configuration -> applying recent patches -> rebooting with runtime kernel -> having fun/nightmare). Booting Linux on the Old World Macintoshes Old world Macintoshes (which store MacOS ROM on the motherboard memory chip) use minimalist MacOS system folder with BootX extension, which unloads MacOS and invokes Linux. BootX does not work reliably with MacOS 9.04 and later even on the old world Macs, and almost never does not work at all on new world, because MacOS initializes hardware and thus prevents Linux to do the same correctly. First Run (Smoke Test) Configuration and tweaking of PowerPC SuSE Linux 7.0 (just as any other Linux) wasn't walk and watch procedure, several times I just screwed my installation almost completely until I figured out which versions of packages to use and how to recall the soul of broken Linux. The most tricky part was configuration of XFree86 (Linux windowing system) with hardware acceleration support enabled (frame buffer mode is slow and sucks). I have combined SuSE supplied XFree86 configuration for old iBook with Debian XFree86 for iBook DV, and got desired result (my XFree86 configuration file for FireWire iBook Summer 2000 model available here). After all this, I had the following:
In short, I've got almost what I am expected. Since I am using Linux on iBook only for research and testing purposes, missing support for video-out and somewhat quirky graphic acceleration do not bothers me. However, full HFS+, FireWire and iBook Power Management support would be certainly beneficial. AppleTalk and AppleShare IP Emulation See below, installation and configuration procedure is identical for both Mac and PC versions of Linux. PC Installation Procedure PC installation procedure was rather simple. Just boot PC from the SuSE CD#1 and follow installer. Hardware detection went smoothly, except the common Linux quirk when memory above 64 MB is not recognized. It may be cured very simple, just add statement "append = your amount of RAM" in LILO configuration file and run LILO again. My PC configuration was AMD Athlon CPU/850 MHz, 128 MB RAM, VIA chipset, nVidia video card, two 3COM Fast Ethernet cards, 40 GB hard drive, TEAC CD-ROM. Windows File and Print Sharing Linux SAMBA provides file and print services for Windows PCs. SAMBA can be configured with WEB based tools WEBMIN or SWAT (the last is much better), or with manual editing of configuration file (smb.conf). Once configured, Linux server (and its shared resources) will be visible from Windows workstations just any other PC box. Novell File and Print Sharing MARS_NWE (Martin Stovers Netware Emulator) does this job. I do not use Novell, so I have nothing to say about this software. AppleTalk and AppleShare IP Emulation
Tip from MacGuru: it is really bad idea to immediately follow recent versions of software, especially in production environment. Old versions should be utilized as long as they remain usable and efficient. Latest releases always have certain bugs and glitches, and nobody knows, how they may affect your deadline (and bottom line). The Last Word Current state of Linux on Mac may be described as work in progress. I have encountered the following problems (by the time I am writing this):
Continued - Mac Linux Distributions Compared... |