|
|
| (5 intermediate revisions by the same user not shown) |
| Line 1: |
Line 1: |
| =Dual Boot Kali on OS X= | | =Dual Boot Kali on OS X= |
|
| |
|
| Following this guide: http://docs.kali.org/installation/kali-linux-dual-boot-on-mac-hardware
| | I had a bit of a hairy experience doing this, with some installation errors and a broken network connection, but everything ended up OK in the end. This page has the full details of the installation procedure: [[Dual Boot Kali on OS X]] |
|
| |
|
| I'm running on a mid-2010 MacBook Pro (Model 7,1).
| | See below for my network errors adventure. |
| | |
| First things first: download the image, and make a bootable USB.
| |
| | |
| ==Bootable USB Drive==
| |
| | |
| Following instructions here:
| |
| | |
| http://docs.kali.org/downloading/kali-linux-live-usb-install
| |
| | |
| After downloading the iso, check to make sure it's legit:
| |
| | |
| <pre>
| |
| $ cat kali-linux-1.1.0a-amd64.txt.sha1sum && openssl sha1 kali-linux-1.1.0a-amd64.iso
| |
| 2b8d2db20e2709c5e9e0f9f9bbd8606c9b9e729f kali-linux-1.1.0a-amd64.iso
| |
| SHA1(kali-linux-1.1.0a-amd64.iso)= 2b8d2db20e2709c5e9e0f9f9bbd8606c9b9e729f
| |
| </pre>
| |
| | |
| I ran this command once without the USB drive plugged in, and once with the USB plugged in:
| |
| | |
| <pre>
| |
| $ diskutil list
| |
| </pre>
| |
| | |
| I found my disk at /dev/disk2. I unmounted it with
| |
| | |
| <pre>
| |
| $ diskutil unmountDisk /dev/disk2
| |
| </pre>
| |
| | |
| Then I formatted the USB drive with:
| |
| | |
| <pre>
| |
| $ sudo dd if=kali-linux-1.1.0a-amd64.iso of=/dev/disk2 bs=1m
| |
| </pre>
| |
| | |
| Give it a good 20 minutes or so...
| |
| | |
| <pre>
| |
| 2921+1 records in
| |
| 2921+1 records out
| |
| 3063349248 bytes transferred in 762.810003 secs (4015875 bytes/sec)
| |
| </pre>
| |
| | |
| And that's all folks, now the USB drive is bootable.
| |
| | |
| ==Installing rEFInd==
| |
| | |
| Back to this guide: http://docs.kali.org/installation/kali-linux-dual-boot-on-mac-hardware
| |
| | |
| To install rEFInd, the boot loader for OS X, I ran:
| |
| | |
| <pre>
| |
| $ curl -s -L http://sourceforge.net/projects/refind/files/0.8.3/refind-bin-0.8.3.zip -o refind.zip
| |
| $ unzip refind.zip
| |
| $ cd refind-bin*
| |
| </pre>
| |
| | |
| and finally,
| |
| | |
| <pre>
| |
| $ sudo bash install.sh
| |
| Installing rEFInd on OS X....
| |
| Installing rEFInd to the partition mounted at //
| |
| Copied rEFInd binary files
| |
| | |
| Copying sample configuration file as refind.conf; edit this file to configure
| |
| rEFInd.
| |
| | |
| | |
| WARNING: If you have an Advanced Format disk, *DO NOT* attempt to check the
| |
| bless status with 'bless --info', since this is known to cause disk corruption
| |
| on some systems!!
| |
| | |
| | |
| Installation has completed successfully.
| |
| </pre>
| |
| | |
| | |
| ==Booting Into Kali==
| |
| | |
| Now that we have installed rEFInd, we can insert our USB key and hold down the option key when rebooting to get the first boot menu:
| |
| | |
| [[Image:Boot1.jpg|500px]]
| |
| | |
| |When we do that we get the Mac menu. We can select the EFI drive, which is our Mac hard drive. Now we will see the rEFInd menu:
| |
| | |
| [[Image:Boot2.jpg|500px]]
| |
| | |
| If we pick the boot from legacy OS FAT 32 option, it will boot Kali Linux from the USB drive:
| |
| | |
| [[Image:Boot3.jpg|500px]]
| |
| | |
| This will allow us to boot into Kali Linux Live mode and install Kali Linux from there. When we pick the black and white windows flag it will boot into Kali live mode.
| |
| | |
| ==Install Kali==
| |
| | |
| To install Kali, pick the installation option from the Kali boot menu.
| |
| | |
| [[Image:Boot4.jpg|500px]]
| |
| | |
| Now you'll go through the installation process with Kali Linux, and it will be pretty straightforward:
| |
| | |
| [[Image:Boot5.jpg|500px]]
| |
| | |
| [[Image:Boot6.jpg|500px]]
| |
| | |
| [[Image:Boot7.jpg|500px]]
| |
| | |
| ===If You Run Into Errors===
| |
| | |
| I ran into the error below while installing Kali. I had to restart the installation process, but the second time around it went okay. So if you run into an error like this, just give it another go!
| |
| | |
| [[Image:Boot8error.jpg|500px]]
| |
|
| |
|
| | =Network Errors= |
|
| |
|
| | For the full rundown of the errors that I experienced (basically, a broken network), the cause (stale information on the network router cache), and the solution (dropping the existing connection), see this page: [[Kali Network Debugging]] |
|
| |
|
|
| |
|
| [[Category:Kali]] | | [[Category:Kali]] |
Dual Boot Kali on OS X
I had a bit of a hairy experience doing this, with some installation errors and a broken network connection, but everything ended up OK in the end. This page has the full details of the installation procedure: Dual Boot Kali on OS X
See below for my network errors adventure.
Network Errors
For the full rundown of the errors that I experienced (basically, a broken network), the cause (stale information on the network router cache), and the solution (dropping the existing connection), see this page: Kali Network Debugging