Kali 2015-07-24: Difference between revisions
From charlesreid1
(Created page with "=Dual Boot Kali on OS X= Following this guide: http://docs.kali.org/installation/kali-linux-dual-boot-on-mac-hardware I'm running on a mid-2010 MacBook Pro (Model 7,1). Fir...") |
No edit summary |
||
| Line 36: | Line 36: | ||
<pre> | <pre> | ||
$ sudo dd if=kali-linux-1.1.0a-amd64.iso of=/dev/disk2 bs=1m | $ sudo dd if=kali-linux-1.1.0a-amd64.iso of=/dev/disk2 bs=1m Password: 2921+1 records in 2921+1 records out 3063349248 bytes transferred in 771.289006 secs (3971727 bytes/sec) | ||
</pre> | </pre> | ||
And that's all folks, now the USB drive is bootable. | 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 hold down the option key when rebooting to get the rEFInd menu. This will allow us to boot into Kali and install Linux. | |||
I've already partitioned my disk, so I can skip the disk partitioning part. | |||
When you boot to the rEFInd menu with the Kali Linux USB drive plugged in, you should see Kali show up as Windows. Pick it to boot into Kali. | |||
==Install Kali== | |||
To install Kali, pick the graphical install from the Kali boot menu. | |||
Revision as of 01:14, 25 July 2015
Dual Boot Kali on OS X
Following this guide: http://docs.kali.org/installation/kali-linux-dual-boot-on-mac-hardware
I'm running on a mid-2010 MacBook Pro (Model 7,1).
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:
$ 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
I ran this command once without the USB drive plugged in, and once with the USB plugged in:
$ diskutil list
I found my disk at /dev/disk2. I unmounted it with
$ diskutil unmountDisk /dev/disk2
Then I formatted the USB drive with:
$ sudo dd if=kali-linux-1.1.0a-amd64.iso of=/dev/disk2 bs=1m Password: 2921+1 records in 2921+1 records out 3063349248 bytes transferred in 771.289006 secs (3971727 bytes/sec)
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:
$ 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*
and finally,
$ 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.
Booting Into Kali
Now that we have installed rEFInd, we can hold down the option key when rebooting to get the rEFInd menu. This will allow us to boot into Kali and install Linux.
I've already partitioned my disk, so I can skip the disk partitioning part.
When you boot to the rEFInd menu with the Kali Linux USB drive plugged in, you should see Kali show up as Windows. Pick it to boot into Kali.
Install Kali
To install Kali, pick the graphical install from the Kali boot menu.