PDA

View Full Version : How to Install Kali Linux on MacBook Pro A1260



lillypad
2015-05-12, 12:25
If you have the following errors follow this tutorial:
1. Can’t boot Kali Linux Macbook Pro A1260
2. Can’t play videos in Kali Linux “gpu lockup switching to software fbcon”
3. Kali Linux ethernet device not managed (if WIFI doesn’t work it will fix this as well)
4. Having trouble with getting pulseaudio to work with bluetooth

We will in this tutorial make the drive bootable, install the nvidia gfx driver for the GeForce 8600 GT rev a1, fix device not managed error on ethernet.

NOTE: The Broadcom wireless build in the Macbook pro is not compatiable with monitor mode I highly suggest getting a TP-Link TL-WN722N found here

1. Download Kali Linux 64 bit ISO from here
2. Burn the image to disc
3. Turn on the MacBook Pro A1260 and once you hear the boot sound hold the ALT key
4. You will be given a cursor, now insert the CD you burned the ISO on
5. Select the disc you inserted it will be named Windows, and it will now start to boot to main screen
6. Choose Graphical Install, note: track-pad does not work on graphical install use TAB, ARROWS, and ENTER to navigate (This works later)
IF PROMPTS YOU TO LOCATE DRIVER FOR NETWORK CARD JUST SELECT NO AND CONTINUE (it will work later trust me)
7. Once at the formating / partitioning choose “Guided use full disk”
8. Choose your HD
9. Choose All Files in One Partition
10. Say YES to write changes to the disk
11. If connected to the internet via ethernet you may use a network mirror if not it’s okay we cover this later
12. When prompted for Grub say yes to install the boot loader
13. After install completes reboot and hold the ALT key once more
14. Re-Insert the Kali Linux CD ISO
15. Boot to Live CD this time
16. Once booted on the live cd open terminal and do the following or the HD won’t be able to be read by the system
gdisk /dev/sda
Command (? for help): p
Command (? for help): r
Recovery/transformation command (? for help): h
Place EFI GPT (0xEE) partition first in MBR (good for GRUB)? (Y/N): y
Enter an MBR hex code (default 07): 83
Set the bootable flag? (Y/N): y
Unused partition space(s) found. Use one to protect more partitions? (Y/N): n
Recovery/transformation command (? for help): w
Do you want to proceed? (Y/N): y
IT SHOULD SAY: The operation has completed successfully.
reboot
The disk will eject then press any key to restart
18. Boot this time without holding ALT so we go into the new system (login with username: root and password: as the one you created)
19. nano /etc/apt/sources.list
20. Add “deb http://httpd.kali.org/kali kali main contrib non-free” without quotes to bottom of file (CTRL + O then ENTER to SAVE), (CTRL + X to EXIT)
21. nano /etc/NetworkManager/NetworkManager.conf
22. Set managed equal to true instead of false (CTRL + O to SAVE), (CRTL + X, to EXIT) (Fixes Network not Managed Error on Ethernet)
23. service network-manager restart
NOTE: Should now be able to access the internet for the next steps we will take
24. apt-get update
25. apt-get dist-upgrade
26. apt-get install -y linux-headers-$(uname -r)
27. apt-get install nvidia-kernel-dkms
28. apt-get install nvidia-xconfig
29. nvidia-xconfig
30. sed ‘s/quiet/quiet nouveau.modeset=0/g’ -i /etc/default/grub
31. update-grub
32. reboot
SHOULD GET NVIDIA SPLASH SCREEN ON BOOT
NOTE: If you just get a blinking cursor and black screen boot into recovery and enter your password then type nvidia-xconfig (it will generate the conf file we need to boot properly)

33. apt-get update
34. apt-get upgrade
35. apt-get install pulseaudio-module-bluetooth
NOTE: Yes for some reason in the latest distribution of Kali Linux we are missing this package
36. In sound settings under the hardware tab change the profile to high fidelity (otherwise sound quality is poor)
37. reboot
38. Enjoy Kali Linux

Hope this helps someone out there :)

bwana
2015-05-22, 19:09
Thank you for writing this up. I got Kali to install on my macbook 4,1. but get an error on the boot process. Findings and pics are in this thread here:
https://forums.kali.org/showthread.php?25579-kali-hangs-on-boot

lillypad
2015-05-27, 18:50
Thank you for writing this up. I got Kali to install on my macbook 4,1. but get an error on the boot process. Findings and pics are in this thread here:
https://forums.kali.org/showthread.php?25579-kali-hangs-on-boot

Great to hear you solved it yeah I don't have refit installed on my macbook :)

I'm glad you found this useful, that was my intent! :)

Do you have Nvidia Drivers working on the new kernel?