How to get experimental rw ZFS support AFTER upgrading to 10.5.1

The alternate title of this entry is "Force install of ZFS Beta Seed v1.1 on Leopard"

 

This is performed at your own risk. The steps described remove any logical restriction for installation of the package.

 

There is more than one way to implement this particular hack. This method uses the package installer (a cleaner more friendly hack than manually copying files). Other recommendations included installing 10.5 on a different partition and subsequently installing the patch and copying the package files.

A simple alternative left to the reader would be extract the files from the package Payload an manually copy the files into place (cat /tmp/ZFSseed1/ZFSBetaSeed1.pkg/Payload | pax -z -r -v).

 

On to the actual Implementation:

Download the dmg from developer.apple.com

 

Mount the DMG:

open ~/Desktop/Inbox/leopard_9a559_zfsbetaseed1_0613523123.dmg

Expand the package:

pkgutil --expand /Volumes/ZFS\\ 1/ZFSBetaSeed1.pkg /tmp/ZFSseed1

Edit the Distribution file and comment out the line that actually checks the requirements (and "causes" the failure):

vi /tmp/ZFSseed1/Distribution
// <volume-check script='volumeCheck()'/>

<!-- <volume-check script='volumeCheck()'/> -->

Flatten the edited expanded package directory back into package format:

pkgutil --flatten /tmp/ZFSseed1 /tmp/ZFSrw.pkg

Open the package installer:

open /tmp/ZFSrw.pkg

Install the package and reboot.

Again this is performed at your own risk. The steps described remove any logical restriction for installation of the package and may cause you system to explode or you cat to catch fire.


References:

ZFS Beta Seed v1.1 will not install on Leopard (10.5.1)

Edit: I guess I should mention that it does actually appear to work :) Next I'm going to try and switch access between Leopard and Solaris under Parallels

Edit1:  Changed comment marks from // to <!-- -->; // works if you are commenting in the embedded script part not the XML part. Thanks to Colin Seymor for catching that.

Comments:

Very very helpful, thanks a ton!

Posted by Daniel Gross on November 28, 2007 at 05:07 AM EST #

Nice work - will make dual boots between OSX and Solaris a lot lot easier :)

Posted by Dick Davies on December 09, 2007 at 09:51 AM EST #

If you are going this far, you might as well grab the latest version directly from apple, which still involves manual installation, but there is no since in force feeding old code :)

http://zfs.macosforge.org/

Posted by Tommy McNeely on December 11, 2007 at 10:15 AM EST #

I believe that I was at the latest version when I wrote that.
There is still nothing to download from http://zfs.macosforge.org/
.
I just got the zfs-101 tarball by request and will be installing it momentarily.
.

why yes, I am using garbage to give myself spacing until I replace my theme and get comments with line breaks back.

Posted by Shawn Ferry on December 11, 2007 at 10:32 AM EST #

Post a Comment:
Comments are closed for this entry.
About

yakshaving

Search

Archives
« July 2014
SunMonTueWedThuFriSat
  
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
  
       
Today
Bookmarks
Sun Managed Operations