From: Galen T. <gta...@ya...> - 2016-04-04 03:18:21
|
I'm new to mol so there may be newbie errors lurking here. I'm also relatively new to Linux (using distro lubuntu 15.10 on PowerPC G5) but not to Unix as such. I'm using mol-kvm 0.9.73. I'm having a little trouble getting mol to start up OS X 10.5. It's likely I'm not getting the config files in /etc/mol exactly right. It's also likely I don't have the best partition scheme to be starting out cold like I am. I have a drive in my G5's lower drive bay with OS X 10.5.8 already installed, which boots up fine on unemulated PowerMac G5 hardware. Here's a list of the partitions on it, from disktype: (Ignore "raid" in volume names. They used to be part of a Mac OS X Disk Utility raid set but haven't been for some time now.) $ disktype /dev/sdb --- /dev/sdbBlock device, size 596.2 GiB (640135028736 bytes) Apple partition map, 21 entries Partition 1: 31.50 KiB (32256 bytes, 63 sectors from 1) Type "Apple_partition_map" Partition 2: 28 KiB (28672 bytes, 56 sectors from 64) Type "Apple_Driver43" Partition 3: 28 KiB (28672 bytes, 56 sectors from 120) Type "Apple_Driver43" Partition 4: 28 KiB (28672 bytes, 56 sectors from 176) Type "Apple_Driver_ATA" Partition 5: 28 KiB (28672 bytes, 56 sectors from 232) Type "Apple_Driver_ATA" Partition 6: 256 KiB (262144 bytes, 512 sectors from 288) Type "Apple_FWDriver" Blank disk/medium Partition 7: 256 KiB (262144 bytes, 512 sectors from 800) Type "Apple_Driver_IOKit" Blank disk/medium Partition 8: 256 KiB (262144 bytes, 512 sectors from 1312) Type "Apple_Patches" Partition 9: 128 MiB (134217728 bytes, 262144 sectors from 1824) Type "Apple_Boot" HFS Plus file system Volume size 128 MiB (134217728 bytes, 32768 blocks of 4 KiB) Volume name "Boot OSX" Partition 10: 73.53 GiB (78955823104 bytes, 154210592 sectors from 263968) Type "Apple_HFS" HFS Plus file system Volume name "SysRaid" Partition 11: 128 MiB (134217728 bytes, 262144 sectors from 154474560) Type "Apple_Boot" HFS Plus file system Volume size 128 MiB (134217728 bytes, 32768 blocks of 4 KiB) Volume name "Boot OSX" Partition 12: 60.62 GiB (65095061504 bytes, 127138792 sectors from 154736704) Type "Apple_Bootstrap" HFS Plus file system Volume size 60.62 GiB (65095061504 bytes, 15892349 blocks of 4 KiB) Volume name "AppsRaid" Partition 13: 128 MiB (134217728 bytes, 262144 sectors from 281875496) Type "Apple_Free" Blank disk/medium Partition 14: 7.875 GiB (8455716864 bytes, 16515072 sectors from 282137640) Type "Apple_HFS" HFS file system Volume name "SwapPartition" Volume size 7.875 GiB (8455585792 bytes, 64511 blocks of 128 KiB) HFS wrapper for HFS Plus HFS Plus file system Volume size 7.874 GiB (8454930432 bytes, 2064192 blocks of 4 KiB) Volume name "SwapPartition" Partition 15: 128 MiB (134217728 bytes, 262144 sectors from 298652712) Type "Apple_Free" Blank disk/medium Partition 16: 194.3 GiB (208652386304 bytes, 407524192 sectors from 298914856) Type "Apple_HFS" HFS file system Volume name "ScratchPartition" Volume size 194.3 GiB (208651583488 bytes, 65476 blocks of 3.039 MiB) HFS wrapper for HFS Plus HFS Plus file system Volume size 194.3 GiB (208635650048 bytes, 50936438 blocks of 4 KiB) Volume name "ScratchPartition" Partition 17: 128 MiB (134217728 bytes, 262144 sectors from 706439048) Type "Apple_Boot" HFS Plus file system Volume size 8.500 MiB (8912896 bytes, 2176 blocks of 4 KiB) Volume name "Boot OSX" Partition 18: 127.9 GiB (137304735744 bytes, 268173312 sectors from 706701192) Type "Apple_HFS" HFS Plus file system Volume size 127.9 GiB (137304735744 bytes, 33521664 blocks of 4 KiB) Volume name "UserRaid" Partition 19: 128 MiB (134217728 bytes, 262144 sectors from 974874504) Type "Apple_Free" Blank disk/medium Partition 20: 131.2 GiB (140865056768 bytes, 275127064 sectors from 975136648) Type "Apple_HFS" HFS file system Volume name "UserRaid_2" Volume size 131.2 GiB (140864102400 bytes, 65506 blocks of 2.051 MiB) HFS wrapper for HFS Plus HFS Plus file system Volume size 131.2 GiB (140853350400 bytes, 34388025 blocks of 4 KiB) Volume name "AppsRaid" Partition 21: 8 KiB (8192 bytes, 16 sectors from 1250263712) Type "Apple_Free" Blank disk/medium First, I'm a little puzzled that there are multiple Apple_Boot partitions. The full installed OS is on partition 10 with the volume name "SysRaid" Should I be able to boot mol from partition 10 (/dev/sdb10)? My molrc.osx looks like this: (comments deleted for brevity): ########################include ${etc}/molrc.video # video configuration include ${etc}/molrc.input # mouse and keyboard include ${etc}/molrc.net # networking include ${etc}/molrc.sound # sound ram_size: 2048 disable_altivec: no blkdev: /dev/sdb9 -boot1 -rw blkdev: /dev/sdb10 -whole -rw autoprobe_scsi: no enable_usb: no processor: G5 play_startboing: yes ######################## Except for setting a video resolution in molrc.video (1280x1024, instead of my monitor's 1600x1200) the other config files haven't changed. When I try to start mol up I get this:###############$ sudo startmol -X Mac-on-Linux 0.9.73-SVN [Apr 27 2014 19:21] Copyright (C) 1997-2004 Samuel Rydh Starting MOL session 1 Removing stale lockfile /var/local/mol/lock/mol-1 Using timebase frequency 33.334 MHz [from config file] KVM mapped 00000000 - 0x80000000 to 0x40000000 flags 0 Unknown processor id (0000). Running in PowerPC 750 mode, -2048 MB RAM Timebase: 33.33 MHz, Bus: 1000.00 MHz, Clock: 1304 MHz Using USB mouse on /dev/input/mice Could not open '/var/local/mol/x11.kbd' Serving VNC on port 5900 Video driver(s): [xvideo] [vnc] 640* 480, depth 8,15,32 { 0.0 } Hz 800* 600, depth 8,15,32 { 0.0 } Hz 1024* 768, depth 8,15,32 { 0.0 } Hz 1152* 864, depth 8,15,32 { 0.0 } Hz 1280*1024, depth 8,15,32 { 0.0 } Hz 1440* 960, depth 8,15,32 { 0.0 } Hz 1600*1024, depth 8,15,32 { 0.0 } Hz 1600*1200, depth 8,15,32 { 0.0 } Hz 1680*1050, depth 8,15,32 { 0.0 } Hz Available Disks: Unembedded HFS+ /dev/sdb9 <rw> 128 MB BOOT1 Unembedded HFS+ /dev/sdb10 <rw> 75298 MB SCSI devices: [SCSI auto-probing disabled] <No SCSI Devices> KVM mapped 0x81000000 - 0x81500000 to 0xf787d000 flags 38 >> ================================================== >> MacOS X Boot Loader 0.9.73-SVN >> Candidate boot volume: /mol-blk@0/disk@0:0 >> /mol-blk@0/disk@0:0,\mach_kernel (10367028 bytes) >> Ignoring cmd type 27. >> KVM patched: _bcopy_physvir_32 >> KVM advanced inst patch: success >> /mol-blk@0/disk@0:0,\System\Library\Extensions.mkext >> Failed to load mkext! >> Loading from /mol-blk@0/disk@0:0,\System\Library\ ############### I've tried setting molrc.osx to boot from both sdb9 and sdb10 but the result is the same. And of course /System/Library/Extensions.mkext really is present. I don't know what error is preventing it from loading... I've had similar problems trying to boot from real Leopard DVD install media, and from an ISO image of the install media. I guess that's probably enough to start from... Galen |