Skip to content

Instantly share code, notes, and snippets.

@probonopd
Last active August 29, 2015 14:25
Show Gist options
  • Select an option

  • Save probonopd/f3ba94d7da60a8a2bb05 to your computer and use it in GitHub Desktop.

Select an option

Save probonopd/f3ba94d7da60a8a2bb05 to your computer and use it in GitHub Desktop.
Cannot chroot into PD
# brew install xz
# brew install qemu
wget http://smuckola.org/projects/puredarwin/Puredarwin-darwin_9.8-version_9L30.qcow2.xz
xz -v -d -k Puredarwin-darwin_9.8-version_9L30.qcow2.xz
qemu-img convert -O raw Puredarwin-darwin_9.8-version_9L30.qcow2 Puredarwin-darwin_9.8-version_9L30.raw
hdiutil attach -imagekey diskimage-class=CRawDiskImage *raw
sudo chroot /Volumes/PD-Xmas-9L30pd1/ /bin/sh
# ReportCrash[88493]: Failed to create CSSymbolicatorRef for bash[88492]
diskutil unmount force /Volumes/PD-Xmas-9L30pd1/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment