Boot Leopard from PCIe SSD on G5 Quad

Discussion in 'PowerPC Macs' started by G5Swede, Jun 1, 2019.

  1. G5Swede macrumors newbie

    G5Swede

    Joined:
    Dec 14, 2018
    #1
    I have been successful in booting different Linux distros off a PCIe SSD on my Quad by installing GRUB2 and /boot on a small SATA drive connected to the internal controller. Does anyone have any experience or know whether a similar solution could be possible for OSX Leopard? The SSD is AHCI and Leopard supports it natively but of course there is no Open Firmware support.

    Thank you in advance and please excuse any errors in my English!
     
  2. LightBulbFun macrumors 68000

    LightBulbFun

    Joined:
    Nov 17, 2013
    Location:
    London UK
    #2
    I would say the easiest way to go about doing what you describe is using the helper volume part of Xpostfacto

    as thats exactly what its deigned for :)

    (to boot OS X From say Firewire on a Mac that obviously does not support booting from firewire)

    im happy to see someone try this out, as its been something I have theorised about in the past :)

    which PCIe SSD are you using BTW? :)

    (I wonder what your xbench scores are like on it :D )
     
  3. G5Swede thread starter macrumors newbie

    G5Swede

    Joined:
    Dec 14, 2018
    #3
    I am using a Samsung SM951 (PCIe AHCI, NOT NVMe and NOT SATA) and currently have an install of Leopard on a SATA disk which recognises the SSD out of the box. I don't have access to the Quad at the moment as I am out of town for the weekend but will run Xbench on it when I get home.

    And the Xpostfacto idea is very good but I seem to recall XPF won't run on anything higher than Tiger? Or could one first install Tiger with Xpostfacto helper volume and then upgrade to Leopard in place? I've never even thought of using XPF on a G5 (as they all support up to Leopard natively of course) but this could be interesting... I will try some different things when I get back to the computer!

    Thank you very much!
     
  4. LightBulbFun macrumors 68000

    LightBulbFun

    Joined:
    Nov 17, 2013
    Location:
    London UK
    #4
    while xpostfacto does not officially support leopard, it will still open on leopard and function for the most part (as in I can install the patches/kexts it has and set boot arguments using it etc)

    but I cant say I have tried the helper function under Leopard

    you could also put a full install of 10.5.8 on a small disk then use the rd=diskXsX boot argument to redirect it to the SSD once the kernel starts loading :)
     
  5. MisterKeeks macrumors 68000

    MisterKeeks

    Joined:
    Nov 15, 2012
    #5
    Could you elaborate on how you got the linux distros to be boot from the PCIe SSD. I briefly attempted this a few weeks back - I had grub2 installed on a SATA hard drive. When I configured GRUB2 on Lubuntu (booted from an install on the SATA drive) it correctly picked up the Lubuntu install on the PCIe SSD, and the options showed in the boot menu - but if I selected them, it seemed to give me some open firmware-looking errors.

    This is a very interesting topic and I'm eager to see where it all ends up. I was using an XP941 AHCI SSD FWIW.
     
  6. G5Swede thread starter macrumors newbie

    G5Swede

    Joined:
    Dec 14, 2018
    #6
    I have only done it with Debian and Gentoo but my solution was to put the entire /boot partition (with kernels, initrd) on the SATA disk but everything else on PCIe. With Debian you just have to do manual partitioning in the installer (easiest should be to just create /boot partition and bootstrap on SATA and make the PCIe disk one partition mounted at / but of course you can partition however you like). If you already have an install on the SATA disk that you want to keep I would put the kernel and initrd (and whatever else you may keep in /boot) in the /boot partition of your original install (highly recommend separate /boot partition) and configure GRUB to boot using those files and to use a partition on the SSD as root filesystem.
     
  7. MisterKeeks macrumors 68000

    MisterKeeks

    Joined:
    Nov 15, 2012
    #7
    That’s a decent solution - ideally the install would be contained entirely on the SSD, with only GRUB2 on SATA? I assume doing so is unfortunately not possible with Open Firmware?

    Also, I’ve noticed that earlier versions of Leopard kernel panic with the XP941 installed but after updating to 10.5.6 there are no issues - so maybe the AHCI driver was really in its infancy then.
    --- Post Merged, Jun 7, 2019 ---
    I’ve never messed around with XPostFacto - wouldn’t it have to be able to recognize the PCIe SSD somehow? Or is there some other mechanism that I’m missing.
     
  8. DearthnVader macrumors 6502a

    DearthnVader

    Joined:
    Dec 17, 2015
    Location:
    Red Springs, NC
    #8
    The "helper disk" function of xPostfacto is just a redirect. It creates a copy of the kernel and extensions on a "supported" boot disc, once they are loaded into ram, you then have your AHCI/Firewire/USB drivers loaded, so OS X is able to mount the disc.

    Then a simple redirect to the root file system on that disc.

    The RD function was put into OS X to supported booting of RAID volumes that otherwise wouldn't be bootable.

    You don't need Xpostfacto to do it, simple Open Firmware commands can be used, assuming you know how to set up the helper disc, but Xpostfacto makes the process much easier than resorting to the command line.
     

Share This Page

7 June 1, 2019