Subject: Re: Booting MacOSX, NetBSD, MacOS, and Linux...
To: Edouard G. Parmelan <egp@free.fr>
From: markemmanuel <mellifluous@markemmanuel.org>
List: port-macppc
Date: 09/11/2001 10:26:35
Quoted from the Book of Edouard G. Parmelan Ch 6:7-13 on 9/10/01 11:45 PM:
> 
> I have installed MacOS X, MacOS 9.1, NetBSD-1.5.1 and Debian GNU/Linux
> woody on my iBook Dual USB.
> 
> Mac OS X and Mac OS 9.1 share the same HFS+ filesystem (partition).
Can I put /Users/ in its own partition or get MacOS X to read the /home
partition?

> NetBSD and Debian GNU/Linux have both a small (750M) / filesystem with
> native format (ffs for NetBSD and ext2 for Debian GNU/Linux).  They share a
> big /home ext2 filesystem.
Is /home is the only ext2 filesystem that NetBSD and Linux can share?  Linux
can't read/write ffs?


> I have crash my NetBSD's /etc directory by editing my rc.conf under Debian
> GNU/Linux :-(  So mount ffs NetBSD / in READ-ONLY under Debian GNU/Linux.
Thanks.  I'll keep that in mind.
 
> Then I have a small MS-DOS (don't laught) partition to share data between
> Mac OS X and NetBSD or Debian GNU/Linux.  Mac OS X seems to not like vfat
> names written my Debian GNU/Linux so mount it as msdos (not vfat) under
> Debian GNU/Linux.
How small is your MS-DOS partition?

> In order to boot Debian GNU/Linux, you must have create a small (800K)
> partition that will hold yaboot (and NetBSD's owfboot.xcf).  Latest ybin
> under Debian GNU/Linux will create a litle test menu (in Forth) to select
> operating system.  I have change a little bit the forth code to boot
> NetBSD.
Will I screw up openfirmware in anyway or is this regulated completely to
that small partition of the hard drive.

> NetBSD / partition must be the first partition of type Apple_UNIX_SVR2 and
> must be created by Mac OS (or a patched pdisk utility under GNU/Linux).
> You swap partition must also be created my Mac OS. HFS+ partition must also
> be created by Mac OS.
> 
> All other partitions could be created with Debian GNU/Linux mac-fdisk (or
> better the patched pdisk).
Okay.

> NetBSD assume that hardware clock is in GMT.  I configure Debian GNU/Linux
> with same assumption.  Unfortunary, Mac OS X (10.0.4) use it as local time
> (or NetBSD and GNU/Linux does not handle XPRAM GMT Delta and DST flags).
Okay, that just what went over my head.  I'll ask someone when I get to that
phase of my project. :)

Thanks a bunch for writing this up. :)