Installing MacOS X

Menaka Lashitha Bandara mol-general@lists.maconlinux.org
10 Oct 2002 01:10:47 +1000


--=-EZTmgR4O01HM+aDTJIBu
Content-Type: text/plain
Content-Transfer-Encoding: 7bit

Hi all. 

I'm trying to install Mac OS X under Linux, under Mol (obviously :). 
Well anyway, I'm not using a parition to do it, but rather a file. This
was pretty cool with MacOS 9, which I successfully installed. 

Firstly, I had problems with the OSX install cd, because it has a
partition table on it (it could not even load the mach kernel). But I
extracted out the HFS+ partition using dd, and ran hpfsck on the file to
make sure it was good. This passed: 

[00:52:45][lashi@revolution->disks]$ hpfsck macosx_boot_cd 
*** Checking Volume Header: 
Volume was last Mounted by unknnown implemenatation: 
10.0 Done *** 
*** Checking Backup Volume Header: 
Done *** 
*** Checking Extents Btree: 
Done *** 
*** Checking Catalog Btree: 
Backpointers in Node 124 index 3 out of order (0x1001446a >= 0x10018498)
Done *** 
*** Checking files and directories in catalog: 
hpfsck: hpfsck: no error (Success) 


Now, I have in my /etc/mol/molrc.osx: 

blkdev: /mnt/disks/macosx_boot_cd -ro -boot 
blkdev: /mnt/disks/macosx -rw 

When I startmol, the Darwin Kernel Panics. On the console, it tells me: 

panic (cpu 0) : unable to find driver for this platform "AAPL,MOL" 

I've attached the output of mol wit this mail. 

Can someone tell me what I should do, where I should go, is there
drivers for "AAPL,MOL" (which I assume is the Virtual Machine). Do I
need to get a different mach_kernel and/or pass parameters? 

Thanks. 

\LaShI 


--=-EZTmgR4O01HM+aDTJIBu
Content-Disposition: attachment; filename=file
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain; name=file; charset=ANSI_X3.4-1968

Mac-on-Linux 0.9.65 Copyright (C) 1997-2002 Samuel Rydh
Starting MOL session 5
Config dir: /etc/mol
Data dir: /usr/share/mol
Session 5. Lockfile: /var/lock/mol-5
Debugger nub disabled
The session save/restore feature is disabled
OF device tree: oftrees/oftree.x
Timebase frequency: 24.96 MHz
96MB RAM mapped at 0x40000000
Running in PowerPC G3 mode
Using Linux keycodes
pci.c: Doesn't look lika a PCI device
heathrow: Couldn't get pci device number
MOL PIC found
No nvram found in device tree
Using nvram-image '/var/lib/mol/nvram.x'
FIXME: IRQ assignement and device identification=20
xvideo: X11 video depth 565
Could not open '/var/lib/mol/x11.kbd'
Video module 'xvideo' installed.
Running on VT 8.
Could not open '/var/lib/mol/console.kbd'
Using usb mouse on /dev/input/mice
Cache enabled for console-video
Video module 'console_video' installed.

MODE:  640* 480, depth 8,15   { 0.0 } Hz
MODE:  800* 600, depth 8,15   { 0.0 } Hz
MODE: 1024* 768, depth 8,15,32   { 60.0, 70.0 } Hz
MODE: 1152* 864, depth 8,15   { 0.0 } Hz
MODE: 1280*1024, depth 8,15,32   { 60.0 } Hz
MODE: 1600*1200, depth 8,15   { 0.0 } Hz

No video mode match the default one.
Starting in video mode 640*480, depth 8, 0.0 Hz  [offs:0, rb:640]

Disk /mnt/disks/macos                    <read-only>   646 MB BOOT
Disk /mnt/disks/macos                    <read-write> 1907 MB=20

Boot device: /mol-blk/disk@1:0
<*> -------------------------------------------
<*> MacOS X boot loader started
<*> Trying to load /mol-blk/disk@1:0,\mach_kernel.mol
<*> Opening partition [/mol-blk/disk@1:0]...
<*> Trying to load /mol-blk/disk@1:0,\mach_kernel
<*> mach kernel read (3152156 bytes)
<*> mol owned memory at 003CB000 (1000)
<*> mregs mapped @ 003cc000 (2000)
<*> MacOS X mkext driver archive read (106988 bytes)
<*> DriversPackage-3d0000
<*> Command line: ''
<*> Framebuffer at 81000000 (640x480)
<*> Jumping to kernel entrypoint...
<*> -------------------------------------------
X connection to :0.0 broken (explicit kill or server shutdown).=0D
cleaning up...
Terminating threads...
DONE

--=-EZTmgR4O01HM+aDTJIBu--