Kali linux apple m1

Kali Linux install Apple M1

Kali Linux install Apple M1

It’s now easy to install Kali Linux on Apple M1 silicon using Parallels.

Menu:
Kali Linux installation Apple M1: 0:00​
Sniff WiFi network using Kali Apple M1: 0:16​
Download Parallels software: 1:37​
Download technical preview: 2:02​
Download Kali ISO for arm64: 2:27​
Install Parallels software: 2:47​
Create Kali Linux virtual machine: 3:38
​ Install Kali Linux on Apple M1 CPU: 5:15​
Kali Linux booting on Apple M1 computer: 7:10​
Display resolution issues: 7:45​
Parallels tools installation issues: 7:56
​ Plug in WiFi adapter in new Kali Installation: 8:30
​ Easy to install Kali Linux on Apple M1 processor: 9:13​

Boson software: 15% discount
Link: bit.ly/boson15
Code: DBAF15P

kali linux
kali linux install
kali linux install m1
kali linux install apple m1
macbook m1
mac m1
kali mac
kali linux mac
kali mac m1
kali linux mac m1
kali mac mini
mac mini
mac mini m1
parallels
virtualization
parallels
parallels desktop
parallels m1
parallels mac m1
parallels desktop 16

Please note that links listed may be affiliate links and provide me with a small percentage/kickback should you use them to purchase any of the items listed or recommended. Thank you for supporting me and this channel!

Источник

Проект портирования Linux на Mac с M1 обзавёлся названием и сайтом

5 января 2021 года разработчик Гектор Мартин сообщил о том, что у краудфандингового проекта Linux для Maс на M1 появился свой сайт и название — Asahi Linux. Продолжается развиваться сообщество разработчиков проекта.

«Асахи» с японского переводится как «восходящее солнце», это также название сорта яблони — асахи ринго. Это аналогия с сортом яблок Макинтош (Macintosh), от которого пошло название Mac.

Мартин рассказал, что в конце прошлого года к проекту Asahi Linux присоединилась разработчик Алисса Розенцвейг (Alyssa Rosenzweig). Она уже некоторое время работает над реверс-инженерингом драйверов для графического процессора чипа M1.

Розенцвейг уже опубликовала на GitHub первые наработки по этому проекту. Также она описана первые результаты реверс-инжиниринга драйверов для GPU чипа Apple M1 в своем блоге.

Розенцвейг известна тем, что возглавляет разработку свободного драйвера Panfrost,у нее есть большой опыт реверс-инженеринга оригинальных драйверов от компании ARM, включая графические драйвера для Midgard (Mali-T6xx, Mali-T7xx, Mali-T8xx) и Bifrost (Mali G3x, G5x, G7x).

Вдобавок Мартин опубликовал на GitHub сравнение того, как загружаются системы на Apple Silicon и на ПК. Как он кратко объяснил, что iBoot и Recovery вместе — это некое подобие UEFI.

Мартин опубликовал на GitHub первые наработки по загрузчику m1n1, с помощью которого он исследует платформу M1.

Стрим от Мартина о работе по проекту Asahi Linux.

В начале декабря прошлого года Мартин запустил на краудфандинговой платформе Patreon сбор денег на адаптацию Linux для Maс на Apple Silicon М1 с ARM-архитектурой. Он уже собрал (причем менее чем за сутки) первую часть требуемых средств — $4000 в месяц. Этой суммы хватит на покупку необходимых устройств с чипом М1 для реверс-инжиниринга и исследований, а также на оплату части рабочего времени, которое Мартин будет тратить на этот проект.

Мартин обещал, что все его разработки по этому проекту будут открытыми, он их планирует регулярно выкладывать на GitHub. Причем открытый код будет иметь двойную лицензию GPL и MIT, чтобы гарантировать, что его разработки можно будет повторно использовать в других ОС, где это возможно. Он также пояснил, что его реализация не нарушает авторские права, а в ходе разработки не возникнет юридических претензий от Apple.

Источник

Kali linux apple m1

IMPORTANT! Newer Mac hardware (e.g. T2/M1 chips) do not run Linux well, or at all. This is true for Linux in general, not just Kali Linux.
The model & year of the device will determine how successful your experience will be.

Installing Kali Linux (Single boot) on Apple Mac hardware (such as MacBook/MacBook Pro/MacBook Airs/iMacs/iMacs Pros/Mac Pro/Mac Minis), can be a straight forward, if the hardware is supported. Most of the time, there are a few issues that come up, so there is a bit of trial and error.

This guide will show you to replace macOS/OS X with Kali Linux. However, if you wish to keep macOS/OS X, you will want to refer to our dual-boot guide instead.

In our example, we will be installing Kali Linux on a Mac Mini (Mid 2011) using macOS High Sierra (10.13). The same procedure has also been tested on a Mac Book Air (Early 2014) using macOS Catalina (10.15).

Installation Prerequisites

This guide will make the following assumptions:

  • You have read our single boot Kali Linux install guide, as this has the same Installation Prerequisites (System requirements, setup assumptions and install media).
  • Currently running macOS/OS X 10.7 or higher (later versions are more preferred) as this means the hardware is Intel (and not a PowerPC CPU).
  • Depending on the Mac hardware model & year, you may find:
    • Different results when trying to boot by using either a CD/DVD or a USB drive.
      • You may be able to increase the chances of booting (especially older hardware and non-EFI) from a USB drive by having rEFInd pre-installed.
    • When using the graphical installer, you may notice the tracepad does not function (but will after Kali Linux is installed).
    • In-built wireless may not work, as firmware-b43-installer is not included in the default images.
Читайте также:  Как почистить айфон для продажи от своих данных

We will be wiping any existing data on the hard disk, so please backup any important information on the device to an external media.

Kali Linux Installation Procedure

  1. To start your installation, make sure you insert your Kali Linux installation medium and power on the device. Immediately press and hold the Option (or Alt) ⌥ key until you see the boot menu (rEFInd if installed, else the default macOS/OS X). You may or may not have a Recovery HD depending on your macOS/OS X setup.

  1. When the boot menu appears, if everything works as expected, you should see two volumes:
  • EFI BootNewer hardware which support UEFI. It is common for GUID Partition Table (GPT) partitions to be used.
  • Windows — “Non-EFI” boot. This use on older hardware which uses BIOS. You often see Master Boot Record (MBR) partition tables here.

If you only see one volume (EFI Boot), then the installation media is not supported for this device. This could be because the age of the firmware on the device.
You may wish to install rEFInd, as it is a boot manager, and try again.

Even though Kali Linux is based on Debian, macOS/OS X always detects non-EFI boot media as Windows. We suggest that you select the EFI Boot volume to continue. However, if the installation hangs at this point, power cycle and select Windows (Being Kali Linux non-EFI/BIOS). The success depends on the Mac hardware’s model & year.

Kali Linux Installation Procedure

The installation procedure from this point onwards is the same as our Kali Linux Hard Disk install guide.

After that is complete, all that is left is to reboot, take out the installation media, and enjoy Kali Linux.

Troubleshooting macOS/OS X

If you have issues installing Kali Linux on macOS/OS X, there are a few options you can try:

  • Install the latest version of macOS/OS X (App store, Recovery or USB) and applying any updates as this may upgrade the firmware.
  • Install rEFInd boot manager to replace the default boot manager.
  • If you’re using a DVD, refresh rEFInd once the drive has stop spinning by pressing ESC .
  • Switch from EFI to BIOS boot when trying to boot Kali Linux.
  • Switch from GPT drive to Hybrid MRB drive (using the Live image may help).

Post Installation

Now that you’ve completed installing Kali Linux, it’s time to customize your system.

The General Use section has more information and you can also find tips on how to get the most out of Kali Linux in our User Forums.

Updated on: 2021-Dec-03
Author: g0tmi1k

Источник

Kali linux apple m1

IMPORTANT! Newer Mac hardware (e.g. T2/M1 chips) do not run Linux well, or at all. This is true for Linux in general, not just Kali Linux.
The model & year of the device will determine how successful your experience will be.

This guide will show you to dual-boot macOS/OS X with Kali Linux using rEFInd boot manager. If you wish to replace macOS/OS X completely, please refer to our single boot Kali on Mac hardware guide.

By using using the 3rd party boot manager rEFInd (a fork of rEFIt) we are able to increase our control when booting over macOS/OS X OS’s default option. This makes it perfect for dual booting, as a keyboard shortcut does not need to be used every time the device is powered on to boot Kali Linux. rEFInd also has the advantage of helping older hardware to boot from USB devices that would not be able to otherwise (e.g. non-EFI). Once Kali Linux has been installed, rEFInd can be customized to be hidden during boot or removed completely.

In our example, we will be installing Kali Linux on a Mac Mini (Mid 2011) using macOS High Sierra (10.13). The same procedure has also been tested on a Mac Book Air (Early 2014) using macOS Catalina (10.15).

Installation Prerequisites

This guide will make the following assumptions:

  • You have read our single boot Kali Linux install guide, as this has the same Installation Prerequisites (System requirements & setup assumptions).
  • When downloading Kali Linux, pick the live image, rather than the installer option.
  • A single disk to install to (rather than a dedicated disk per operating system).
  • Currently running macOS/OS X 10.7 or higher (later versions are more preferred) as this means the hardware is Intel (and not a PowerPC CPU).
  • Depending on the Mac hardware model & year, you may find:
    • Different results when trying to boot by using either a CD/DVD or a USB drive.
      • You may be able to increase the chances of booting (especially older hardware and non-EFI) from a USB drive by having rEFInd pre-installed.
    • When using the graphical installer, you may notice the tracepad does not function (but will after Kali Linux is installed).
    • In-built wireless may not work, as firmware-b43-installer is not included in the default images.
Читайте также:  Как поменять имей айфона

We need to use a different image from the single boot Kali Linux install guide, as we need the live image. This is because we need to edit the disk structure without mounting any partitions (otherwise they would be in-use). After we have finished altering the disk layout, we can still install Kali Linux using the live image, but there will be a few differences such as:

Both of these can be addressed post installation, as it saves swapping to the installer image (as you will need either multiple CD/DVD/USBs or to re-image half way though).

This installation has the potential to go wrong very easily as it involves editing existing partitions. Be aware of what partitions you are modifying and where you are installing Kali Linux to.
Having a backup of your macOS/OS X files available is a good idea in the event something goes wrong.

Resize macOS/OS X Procedure

Before we can install Kali Linux, there needs to be room on the hard disk. Depending on the format of the macOS/OS X partition, will depend on what method you need todo.

  • If macOS/OS X Sierra (10.12) and earlier, it will be Mac OS Extended (HFS+).
    • You can resize using GParted in from a Kali Linux live session
  • Since macOS/OS X High Sierra (10.13) and later, the default will be Apple File System (APFS).
    • You can resize in a normal macOS/OS X session, or in recovery mode (recommended).

HFS+/GParted

  1. To start resizing, make sure you insert your Kali Linux installation medium and power on the device. Immediately press and hold the Option (or Alt) ⌥ key until you see the boot menu (rEFInd if installed, else the default macOS/OS X). You may or may not have a Recovery HD depending on your macOS/OS X setup.

  1. When the boot menu appears, if everything works as expected, you should see two volumes:
  • EFI BootNewer hardware which support UEFI. It is common for GUID Partition Table (GPT) partitions to be used.
  • Windows — “Non-EFI” boot. This use on older hardware which uses BIOS. You often see Master Boot Record (MBR) partition tables here.

If you only see one volume (EFI Boot), then the installation media is not supported for this device. This could be because the age of the firmware on the device.
You may wish to install rEFInd, as it is a boot manager, and try again.

Even though Kali Linux is based on Debian, macOS/OS X always detects non-EFI boot media as Windows. We suggest that you select the EFI Boot volume to continue. However, if the installation hangs at this point, power cycle and select Windows (Being Kali Linux non-EFI/BIOS). The success depends on the Mac hardware’s model & year.

  1. You should be greeted with the Kali Linux boot screen. Select Live, and you should be booted into the Kali Linux default desktop.

  1. Now launch GParted, which we’ll use to shrink the existing macOS/OS X partition to give us enough room to install Kali Linux in the free space.

  1. Once GParted has opened, select your macOS/OS X partition & resize it leaving enough space (we recommend at least 20 GB) for the Kali Linux installation.

Depending on your setup, it is often the second option (the largest partition). In our example, there are three partitions:

  • The EFI upgrade partition ( /dev/sda1 )
  • macOS/OS X’s main operating system ( /dev/sda2 )
  • System Recovery ( /dev/sda3 )

If you are moving past into any non-white in the partition then you are editing a section that is in use.
Only remove from the area of the partition that is not in use.
It is alright to leave the third partition ( /dev/sda3 ), and only shrink the actual install ( /dev/sda2 ).

If you wish to organize the partition to group all the macOS/OS X partitions together, placing the free space at the end, you may do so.

  1. Once you have resized your macOS/OS X partition, ensure you “Apply All Operations” on the hard disk. Exit gparted and reboot.

APFS/Recovery

This can be doing using either the command line, or graphical (using Disk Utility). Both option support resizing in a “normal” session, or booting into recovery mode. Using recovery mode, means the drive is not in use, so would reduce of the chances of issues. We would also recommend using the command line method, as it allows for a empty partition to be created which simplifies the setup process later on.

Читайте также:  Как нужно проверить айфон перед покупкой

To get to command line access: Spotlight->Terminal

By using diskutil list , we can see our disk we want to resize is disk0s2 , and it is

  1. We want to reduce the 500GB to be 400GB. This would give Kali Linux 100GB (we recommend at least 20 GB).
  1. Quickly checking diskutil list again, we can see it has been successful.

Kali Linux Installation Procedure

  1. The installation procedure from this point onwards is similar to a Kali Linux Hard Disk install, until the point of the partitioning. At this point, you need to select “Guided — use the largest continuous free space(rather than “Guided — the entire disk”) which got created earlier with gparted.

Do not forget you may need to press and hold the Option (or Alt) ⌥ key during the startup to see the boot menu (unless you have rEFInd installed).

  1. You can carry on following the single boot Kali Linux install guide, expect you will not have the option to select desktop environment or metapackages as you are using the live image. Once the installation is done, reboot.

By default, macOS/OS X will boot into itself, rather than any other operating system/install media. As we have done it already a few times, you need to hold the Option (or Alt) ⌥ key. Whilst this “works”, but its not ideal as it is easy to not boot anything other tha macOS/OS X. Enter rEFInd, a replacement boot manager (which can also have themes applied).

Installing rEFInd

rEFInd is a boot manager, replacing the limiting default one with macOS/OS X, allowing for greater options. It can be installed either before or after Kali Linux’s installation, as well as from macOS/OS X or Kali Linux.

Since the release of macOS/OS X El Capitan (10.11), an additional security feature got introduced, System Integrity Protection (SIP). To install rEFInd using macOS/OS X, this first needs to be one-time bypassed (recommended), or disabled. Alternatively rEFInd can be installed using Kali Linux (we recommended todo so after when Kali Linux is installed rather than using live mode).

Installing rEFInd using macOS/OS X

rEFInd cannot easily be downloaded when in recovery mode, as there is limited space and tools/libraries available (e.g. curl does not support https). As a result, we will download rEFInd inside of a normal macOS/OS X session and afterwards reboot to recovery mode to install.

At the time of this writing, the latest version of rEFInd is 0.12.0.

  1. We will start off by downloading rEFInd, check its a valid zip file, and then extract.
  1. We are going to restarting macOS/OS X, and press the Command (⌘) and R keys at the same time, until you see a boot logo. At this point, if there is a firmware password, you will need to enter it in order to continue.

This will bypass SIP by using macOS/OS X’s Recovery System version which is in-built to the firmware (so no Internet connection is required).

  1. When recovery mode has fully loaded, from the menu: Utilities->Terminal.

  1. Afterwards, we need to navigate to the extracted folder.

The path will be different, as its based on the label of the hard disk (in our case, Macintosh HD ) and username ( username ) and version of rEFInd ( 0.12.0 )

  1. Execute shell script refind-install .

Even though we are in recovery, where SIP is not running, rEFInd still believes it is. We will overwrite this.

  1. Reboot macOS/OS X. From the menu: Apple->Restart.

  1. Upon restart you should see the new boot manager, rEFInd.

Installing rEFInd using Kali Linux

rEFInd is also included with Kali Linux. We can quickly install it by doing the following:

During the installation, you will get a prompt saying about automatically running rEFInd. We recommend you press yes, otherwise you will need to run sudo dpkg-reconfigure refind (or sudo refind-install ) afterwards.

Upon restart you should see the new boot manager, rEFInd.

Configuring rEFInd

If you wish, you can alter rEFInd in various ways now, including:

  • The default OS selection
  • Timeout for menu selection
  • Direct boot into the default OS (Note, by pressing Option (or Alt) ⌥ key during boot, you will have a one-time boot menu).
  • Adding custom icons/themes.

refind.conf

macOS/OS X El Capitan

If you wish to make any of these alterations, this can be done by editing rEFInd’s configuration file. If you are using macOS/OS X El Capitan (10.11) or later, you need to mount the EFI boot volume first to access the file. This is done by doing the following.

macOS/OS X Yosemite

If you are using macOS/OS X Yosemite (10.10) or earlier, the configuration file is located here as no mounting is required.

Kali Linux

On Kali Linux, the configuration file is found in the following location.

Post Installation

Now that you’ve completed installing Kali Linux, it’s time to customize your system.

The General Use section has more information and you can also find tips on how to get the most out of Kali Linux in our User Forums.

Updated on: 2021-Dec-03
Author: g0tmi1k

Источник

Оцените статью