Steve Jobs has the last laugh...or maybe Bill does...I guess it's all based on perspective.
Friday, January 22, 2016
This is an adventure in converting a dd raw disk image to a vmdk image suitable for vmware on Mac OSX. Amazingly annoying so I documented it to save you the trouble. Of course these instructions are valid for as long as all the software used stays the same. Good Luck!
install Apples Xcode developers tools from the App Store
install macports from here:
http://www.macports.org/
This is the version I used:
MacPorts-2.3.4-10.11-ElCapitan.pkg
Then confirm it wall worked:
sudo port version
Update it, not sure what this does but you need to do it (uses internet):
sudo port selfupdate
Now install the Xcode command line tools (assuming you already installed Xcode)
sudo xcode-select --install
Now install qemu:
sudo port install emu
---> Computing dependencies for qemu blah blah blah....
Then all the sudden I get this:
So naturally I click OK and allow massive amounts of additional code to be installed blindly on my computer...all provably secure and safe!
I also installed this
It will fetch a bunch of junk and finally get it all installed. It probably installed a bunch of rootkits and implants along the way so my computer is probably totally owned now but hey computers are disposable now right?
BTW...as the first macport I installed this process took close to 45 minutes...most of it waiting for downloads of dozens of libraries. To be specific these are the debs:
zip2
curl
curl-ca-bundle
expat
gdbm
gettext
glib2
gperf
help2man
libedit
libffi
libiconv
libpixman
libtool
ncurses
openssl
p5.22-locale-gettext
pcre
perl5
perl5.22
pkgconfig
python27
python_select
sqlite3
texinfo
xz
zlib
So now qemu is installed and I can now convert a raw dd disk image to a vmdk
qemu-img convert -O vodka original-disk.dd converted.vmd
/var/db/vmware/vmnet-dhcpd-vmnet1.leases
/var/db/vmware/vmnet-dhcpd-vmnet8.leases
These files contain current leases issued by the built in vmware DHCP server...helpful in finding the IP of a box you can't login to.
Saturday, September 12, 2015
Notes from my OpenIndiana file server experiment with ZFS
zpool create -f data-pool raidz c4t1d0 c4t2d0 c4t3d0 c4t4d0 usermod -G
zfs set sharesmb=on
cat /etc/dfs/sharetab
smbadm join -w passwd
smbadm list
idmap remove -a
So far so good with 4 1TB WD Blue disks (Although RHEL 6 smbclient has some serious issues with OpenIndiana SMB impl..hint hint)
NAME USED AVAIL REFER MOUNTPOINT
data-pool 11.0M 2.59T 10.4M /data-pool
rpool 21.7G 892G 196K /rpool
rpool/ROOT 5.15G 892G 144K legacy
rpool/ROOT/openindiana 668K 892G 3.79G /
rpool/ROOT/openindiana-1 5.14G 892G 3.73G /
rpool/dump 8.00G 892G 8.00G - rpool/export 1.72M 892G 152K /export rpool/export/home 1.57M 892G 152K /export/home
rpool/swap 8.50G 900G 136M -
Sunday, March 29, 2015
Thursday, February 12, 2015
Subscribe to:
Posts (Atom)



