| 118 | * Convert the downloaded BaseSystem.dmg file into the BaseSystem.img file. |
| 119 | {{{ |
| 120 | ubuntu@ip-172-31-18-147:~/OSX-KVM$ dmg2img -i BaseSystem.dmg BaseSystem.img |
| 121 | |
| 122 | dmg2img v1.6.7 (c) vu1tur (to@vu1tur.eu.org) |
| 123 | |
| 124 | BaseSystem.dmg --> BaseSystem.img |
| 125 | |
| 126 | |
| 127 | decompressing: |
| 128 | opening partition 0 ... 100.00% ok |
| 129 | opening partition 1 ... 100.00% ok |
| 130 | opening partition 2 ... 100.00% ok |
| 131 | opening partition 3 ... 100.00% ok |
| 132 | opening partition 4 ... 100.00% ok |
| 133 | opening partition 5 ... 100.00% ok |
| 134 | opening partition 6 ... 100.00% ok |
| 135 | opening partition 7 ... 100.00% ok |
| 136 | |
| 137 | Archive successfully decompressed as BaseSystem.img |
| 138 | }}} |
| 139 | * |
| 140 | {{{ |
| 141 | ubuntu@ip-172-31-18-147:~/OSX-KVM$ qemu-img create -f qcow2 mac_hdd_ng.img 256G |
| 142 | Formatting 'mac_hdd_ng.img', fmt=qcow2 cluster_size=65536 extended_l2=off compression_type=zlib size=274877906944 lazy_refcounts=off refcount_bits=16 |
| 143 | }}} |