Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo

Close

pearpc install woes

Help
2008-01-02
2013-05-28
  • hi everyone

    ok i stumbled through the basic pppc woes, and i made it to the ppc screen (after associating it with an extension in xp)

    My main purpose is to run OS X in xp to do some basic testing and distance learning for our company (without commiting to a mac directly)

    it of course says no bootable images found, i have pasted a copy of my config file in hopes someone may be able to help

    thanks so much

    ZTEK Development team

    *****************************

    ## PearPC Configuration File

    ##
    ## Start Resolution
    ##
    ## (clients that use video.x can change the resolution at runtime,
    ##  so this would be used only for starting up)
    ##
    ##    format:  "(width)x(height)x(depth)"
    ##        or   "(width)x(height)x(depth)@(frequency)"
    ##
    ##    depth can only be 15 or 32
    ##
    ##    default: "800x600x15"
    ##

    ppc_start_resolution = "800x600x15"

    ##
    ## Set this to non-zero for turning on fullscreen mode on startup.
    ##

    ppc_start_full_screen = 1

    ##
    ## Redraw interval (in ms)
    ## must be between 10 and 500
    ##
    ## If you set this higher, PearPC will spend less time doing redraws
    ## (and so run faster) but feel less responsive. You should adjust
    ## this to your computer speed and personal preference.
    ##

    redraw_interval_msec = 40

    ##
    ## Key codes
    ##

    key_compose_dialog = "F11"
    key_change_cd_0 = "none"
    key_toggle_mouse_grab = "F12"
    key_toggle_full_screen = "Alt+Return"

    ##
    ## Loader
    ##

    ##
    ##    Boot method
    ##      this can be
    ##      1. "auto", prom will boot the first bootable partition found (default)
    ##      2. "select", prom will show you a list of bootable partitions
    ##      3. "force", prom will load and boot the local file prom_loadfile
    ##

    prom_bootmethod = "select"

    ## Example of how to use "force":

    #prom_bootmethod = "force"
    #prom_loadfile = "test/yaboot"
    #prom_env_bootpath = "disk"

    ##
    ##    bootargs: don't change unless you know what you are doing
    ##    machargs: set to "-v" to get a verbose startup
    ##

    #prom_env_bootargs = ""
    prom_env_machargs = "-v"

    ##
    ##    This is needed if you want to boot Mac OS X
    ##
    prom_driver_graphic = "video.x"

    ## This will adjust the position of the initial page table (don't change)

    #page_table_pa = 104857600

    ##
    ## CPU Config
    ##
    ##    Processor Version Register
    ##    Defaults to 0x00088302 (G3)
    ##    Set to 0x000c0201 to enable G4 emulation
    ##    Only change if you know want you are doing
    ##

    #cpu_pvr = 0x00088302
    #cpu_pvr = 0x000c0201

    ##
    ## Main memory (default 128 MiB)
    ## must be >= 64 MiB
    ##

    memory_size=0x8000000

    ##
    ## IO Devices
    ##

    ##
    ##    PCI IDE Config
    ##
    ##    Drive type will be set according to file extension:
    ##        .img: Harddisk (filesize must be multiple of 516096)
    ##        .iso: CD-Rom
    ##    Or you can override this by specifying the type via
    ##    pci_ide0_master_type / pci_ide0_slave_type
    ##
    ##    Valid drive types are:
    ##        hd:        A hdd image should be specified
    ##                e.g. "test/imgs/linux.img"
    ##        cdrom:        A cdrom image should be specified
    ##                For Linux or BeOS a cdrom device can be specified as well
    ##                e.g. "/dev/cdrom"
    ##        nativecdrom:    Platform dependant
    ##            Win (SPTI): drive letter, e.g. "d:\"
    ##            Win (ASPI): SCSI host adapter,target,lun e.g. "2,0,1"
    ##            BeOS (ATAPI): device path, e.g. "/dev/disk/ide/atapi/0/master/0/raw"

    pci_ide0_master_installed = 1
    pci_ide0_master_image = "I:\osmac\pearpc-6gib.img"
    pci_ide0_master_type = "hd"

    pci_ide0_slave_installed = 0
    #pci_ide0_slave_image = "I:\"
    #pci_ide0_slave_image = "2,0,0"
    pci_ide0_slave_image = "/dev/cdrom"
    pci_ide0_slave_type = "cdrom"

    ##
    ##    Network
    ##
    ##    Choose one of the cards

    pci_3c90x_installed = 0
    pci_3c90x_mac = "00:13:D4:1F:FC:D7"

    pci_rtl8139_installed = 0
    pci_rtl8139_mac = "00:13:D4:1F:FC:D7"

    ##
    ##    USB
    ##
    pci_usb_installed = 1

    ##
    ##    NVRAM
    ##
    nvram_file = "nvram"

     
    • James Lyden
      James Lyden
      2008-01-02

      If the HDD image is blank, you'll need to install an OS to it. Get your hands on an OS 10 CD (I assume that is the OS you want) and configure the pci_ide0_slave section to point to the CD (by drive letter under Windows). Example (substitute the correct drive letter for X):

      pci_ide0_slave_installed = 1
      #pci_ide0_slave_image = "X:\"
      pci_ide0_slave_type = "nativecdrom"

      Once you've done this, fire up pearpc and follow the installation instructions for the CD (format the HD, etc). I hope that helps.

       
      • you know its funny eatjello,

        I stared for the longest time before realizing that,

        LOL

        I have done the following since i posted,

        1. i copyed the first install dvd of OS X to a nrg (nero image file)
        2. (i will probably make the path go to this in awhile

        i am assuming that that is what it is wanting

        the reason i was hung up was i was pointing it to a pearpc-6gib.nrg ( a file i downloaded with the pearpc and empty 1's and 0's in it ( i mean it said 6 gb right lol)

        my hiccup

        ill post back if i have any further issues once i try this nrg of the install dvd

        thanks so much for posting, i thought the project might have gone stale when i saw the last posting dates

         
    • OH WAIIIIIT!

      your saying keep the existing nrg as master

      and make the one i copyed as a slave correct (this is akin to a hdd loading an OS from a cd right?)

       
      • James Lyden
        James Lyden
        2008-01-02

        Exactly -- keep the pci0 master the same, and just add the cd image to pci0 slave. I don't know what Nero's image format is like, but I suspect it is not identical to ISO, so you might need to rip the CD again into ISO format (or transcode it -- I suspect there are many programs available online that support nrg->iso conversion).

        As for the project being dead, I couldn't comment personally (being inactive myself), but there are a number of unofficial pearpc support sites out there that may be more informative. The one I remember is at http://pearpc.net/

         
    • ok i think it makes sense

      this pearpc isnt very "space friendly" is it??

      i used 6 gb for the "blank master" image

      now another 6gb on the slave for the install, or can i delete the slave once im guessing the master image gets rewritten i suppose

      another ? how to i allocate the memory for pearpc??

      i know its in config, but is there a special amount for OS X (thoughts)

      projects rarely die, they just take new shape

      thanks for all the help

       
      • James Lyden
        James Lyden
        2008-01-03

        Some of the common memory settings are as follows:

        #128 MB (default)
        memory_size = 0x8000000

        #256 MB
        memory_size = 0x10000000

        #512 MB
        memory_size = 0x20000000

        #1 GB
        memory_size = 0x40000000

        Make sure you don't give pearpc more memory than you have physically installed on the host, since it will end up paging to hard disk, defeating the purpose of having a large amount of RAM available to pearpc. Also, I believe OS 10 requires 128 MB to install, so don't go lower than that.

        As for ide0 slave, the OS 10 CD is all you need (you don't need to make another hard drive image). I have installed OS 10.3 to a 4GB hard drive image if space is a concern, but that doesn't leave a whole lot of room (read: nearly none) for applications. Here's a couple of complete config examples for two scenarios, the first using an image (in iso format) for the OS 10 CD, and the second using the original OS 10 CD in drive D: of the host (windows xp machine). Adjust paths and filenames of the images accordingly:

        # Using an image of OS 10 disc for installation
        ppc_start_resolution = "1280x1024x32"
        ppc_start_full_screen = 0
        redraw_interval_msec = 20
        pci_ide0_master_installed = 1
        pci_ide0_slave_installed = 1
        pci_ide0_master_image = "C:\pearpc\images\ppc-hda.img"
        pci_ide0_master_type = "hd"
        pci_ide0_slave_image = "C:\pearpc\images\mac-os-10.3.iso"
        pci_ide0_slave_type = "cdrom"
        pci_3c90x_installed = 0
        pci_rtl8139_installed = 0
        pci_3c90x_mac = "de:ad:ca:fe:12:34"
        pci_rtl8139_mac = "de:ad:ca:fe:12:35"
        memory_size = 0x20000000
        cpu_pvr = 0x00088302
        pci_usb_installed = 1
        prom_driver_graphic = "C:\pearpc\video.x"
        prom_env_machargs = ""
        prom_env_bootargs = ""
        prom_bootmethod = "auto"
        key_compose_dialog = "F11"
        key_change_cd_0 = "none"
        key_toggle_mouse_grab = "F12"
        key_toggle_full_screen = "Alt+Return"
        nvram_file = "nvram"
        # end image-based config

        ##################################

        # Using the original OS 10 disc for installation
        ppc_start_resolution = "1280x1024x32"
        ppc_start_full_screen = 0
        redraw_interval_msec = 20
        pci_ide0_master_installed = 1
        pci_ide0_slave_installed = 1
        pci_ide0_master_image = "C:\pearpc\images\ppc-hda.img"
        pci_ide0_master_type = "hd"
        pci_ide0_slave_image = "D:\"
        pci_ide0_slave_type = "nativecdrom"
        pci_3c90x_installed = 0
        pci_rtl8139_installed = 0
        pci_3c90x_mac = "de:ad:ca:fe:12:34"
        pci_rtl8139_mac = "de:ad:ca:fe:12:35"
        memory_size = 0x20000000
        cpu_pvr = 0x00088302
        pci_usb_installed = 1
        prom_driver_graphic = "C:\pearpc\video.x"
        prom_env_machargs = ""
        prom_env_bootargs = ""
        prom_bootmethod = "auto"
        key_compose_dialog = "F11"
        key_change_cd_0 = "none"
        key_toggle_mouse_grab = "F12"
        key_toggle_full_screen = "Alt+Return"
        nvram_file = "nvram"
        # end original disc-based config

        The only difference between the two is the pci_ide0_slave_type and pci_ide0_slave_image directives. On first boot from either of these configurations, pearpc should only detect one bootable partition (the installer CD), and upon selecting that, everything else should be pretty straightforward.

         
    • just an update

      I did all you said, i tried several configurations

      i even got it to say "1" bootable partition found, but when i try to say boot it, it says its not "bootable, i will post my current file shortly

      thanks for any ideas

       
    • ## PearPC Configuration File THE FILE WE WERE WORKING ON!!!!!!!!!!)

      ##
      ## Start Resolution
      ##
      ## (clients that use video.x can change the resolution at runtime,
      ##  so this would be used only for starting up)
      ##
      ##    format:  "(width)x(height)x(depth)"
      ##        or   "(width)x(height)x(depth)@(frequency)"
      ##
      ##    depth can only be 15 or 32
      ##
      ##    default: "800x600x15"
      ##

      ppc_start_resolution = "800x600x15"

      ##
      ## Set this to non-zero for turning on fullscreen mode on startup.
      ##

      ppc_start_full_screen = 1

      ##
      ## Redraw interval (in ms)
      ## must be between 10 and 500
      ##
      ## If you set this higher, PearPC will spend less time doing redraws
      ## (and so run faster) but feel less responsive. You should adjust
      ## this to your computer speed and personal preference.
      ##

      redraw_interval_msec = 40

      ##
      ## Key codes
      ##

      key_compose_dialog = "F11"
      key_change_cd_0 = "none"
      key_toggle_mouse_grab = "F12"
      key_toggle_full_screen = "Alt+Return"

      ##
      ## Loader
      ##

      ##
      ##    Boot method
      ##      this can be
      ##      1. "auto", prom will boot the first bootable partition found (default)
      ##      2. "select", prom will show you a list of bootable partitions
      ##      3. "force", prom will load and boot the local file prom_loadfile
      ##

      prom_bootmethod = "auto"

      ## Example of how to use "force":

      #prom_bootmethod = "force"
      #prom_loadfile = "test/yaboot"
      #prom_env_bootpath = "disk"

      ##
      ##    bootargs: don't change unless you know what you are doing
      ##    machargs: set to "-v" to get a verbose startup
      ##

      #prom_env_bootargs = ""
      prom_env_machargs = "-v"

      ##
      ##    This is needed if you want to boot Mac OS X
      ##
      prom_driver_graphic = "video.x"

      ## This will adjust the position of the initial page table (don't change)

      #page_table_pa = 104857600

      ##
      ## CPU Config
      ##
      ##    Processor Version Register
      ##    Defaults to 0x00088302 (G3)
      ##    Set to 0x000c0201 to enable G4 emulation
      ##    Only change if you know want you are doing
      ##

      #cpu_pvr = 0x00088302
      #cpu_pvr = 0x000c0201

      ##
      ## Main memory (default 128 MiB)
      ## must be >= 64 MiB
      ##

      memory_size=0x8000000

      ##
      ## IO Devices
      ##

      ##
      ##    PCI IDE Config
      ##
      ##    Drive type will be set according to file extension:
      ##        .img: Harddisk (filesize must be multiple of 516096)
      ##        .iso: CD-Rom
      ##    Or you can override this by specifying the type via
      ##    pci_ide0_master_type / pci_ide0_slave_type
      ##
      ##    Valid drive types are:
      ##        hd:        A hdd image should be specified
      ##                e.g. "test/imgs/linux.img"
      ##        cdrom:        A cdrom image should be specified
      ##                For Linux or BeOS a cdrom device can be specified as well
      ##                e.g. "/dev/cdrom"
      ##        nativecdrom:    Platform dependant
      ##            Win (SPTI): drive letter, e.g. "d:\"
      ##            Win (ASPI): SCSI host adapter,target,lun e.g. "2,0,1"
      ##            BeOS (ATAPI): device path, e.g. "/dev/disk/ide/atapi/0/master/0/raw"

      pci_ide0_master_installed = 1
      pci_ide0_master_image = "I:\osmac\pearpc-6gib.img"
      pci_ide0_master_type = "hd"

      pci_ide0_slave_installed = 1
      pci_ide0_slave_image = "I:\osmac\macosx1.iso"
      #pci_ide0_slave_image = "2,0,0"
      #pci_ide0_slave_image = "/dev/cdrom"
      pci_ide0_slave_type = "hd"

      ##
      ##    Network
      ##
      ##    Choose one of the cards

      pci_3c90x_installed = 0
      pci_3c90x_mac = "00:13:D4:1F:FC:D7"

      pci_rtl8139_installed = 0
      pci_rtl8139_mac = "00:13:D4:1F:FC:D7"

      ##
      ##    USB
      ##
      pci_usb_installed = 1

      ##
      ##    NVRAM
      ##
      nvram_file = "nvram"

      ##################################
      ################################
      ###### YOUR FILE U SENT ME###########

      # Using an image of OS 10 disc for installation
      ppc_start_resolution = "1280x1024x32"
      ppc_start_full_screen = 0
      redraw_interval_msec = 20
      pci_ide0_master_installed = 1
      pci_ide0_master_image = "I:\osmac\pearpc-6gib.img"
      pci_ide0_master_type = "hd"
      pci_ide0_slave_installed = 1
      pci_ide0_slave_image = "I:\osmac\macosx1.iso"
      pci_ide0_slave_type = "hd"
      pci_3c90x_installed = 0
      pci_rtl8139_installed = 1
      pci_3c90x_mac = "00:13:D4:1F:FC:D7"
      pci_rtl8139_mac = "00:13:D4:1F:FC:D7"
      memory_size = 0x20000000
      cpu_pvr = 0x00088302
      pci_usb_installed = 1
      prom_driver_graphic = "I:\pearpc-0.4-win32-jitc\video.x"
      prom_env_machargs = ""
      prom_env_bootargs = ""
      prom_bootmethod = "auto"
      key_compose_dialog = "F11"
      key_change_cd_0 = "none"
      key_toggle_mouse_grab = "F12"
      key_toggle_full_screen = "Alt+Return"
      nvram_file = "nvram"

      first file loads pearpc emulator, but when i try to boot a partition it says its unbootable, also saying its raw?? which i take to mean unformatted
      the iso you see is a direct RIP from the OS  X install disc # 1

      thanks for any help!

       
    • James Lyden
      James Lyden
      2008-01-03

      After a quick run-through of your config file, it looks workable with one exception:
      replace: pci_ide0_slave_type = "hd"
      with: pci_ide0_slave_type = "cdrom"

      That's probably the source of your weird drive access errors -- it's trying to read hard drive geometry off a cd image.
      Hopefully that does the trick, since you're getting a bootable partition showing up initially.

       
    • man i had my hopes up

      were you referring to the pearpc config you sent me that i edited, or mine

      for future reference in this my file is called

      macosx.pearpc

      and the one you sent me is called

      macosx2.pearpc

      i include a link to a SS i just shot

      any thoughts

      http://www.goztek.com/filestore/ppc_woes.jpg

       
    • eatjello (james)

      any thoughts on this yet, today was spen hunting for help but to no avail

      did that screenshot help you at all, what other info can i provide, is it the iso image maybe not being "ripped right"

      any thoughts at all on this?

       
    • James Lyden
      James Lyden
      2008-01-06

      One thing you can try to see if everything else is properly configured (in other words, if your problem is just due to the CD image) is to download a PPC Linux distribution iso and see if pearpc boots from that image. If that works, try configuring pearpc to access the CD directly so you don't have to worry about a bad image.