Installation · JPyke3/mbp-manjaro Wiki
2021-09-22 20:43:17 Author: github.com(查看原文) 阅读量:48 收藏

See releases

  • USB-C to Ethernet cable adapter.
    • Whilst you can install this over WiFi, it would make it alot easier to use an Adapter. If you would like to use the WiFi to set up Manjaro then refer to the "In order to get WiFi working" Section after you have booted Manjaro
  • USB-C to USB Adapter
  1. Partition your drive in MacOS ready for a Linux install. You can either use Disk Utility or use BootCamp, important thing is, is that you have two partitions (Your MacOS partition and your new Linux one) (It isn't recommended that you totally delete MacOS as firmware updates are applied through it).

  2. Flash your ISO to a USB Stick, If you want a easy way to do this. Use Balena Etcher. For a more command line way of doing this, use dd.

  3. Disable MacOS secure boot. Apple's Documentation

    a. Turn on your Mac, then press and hold Command (⌘)-R immediately after you see the Apple logo to start up from macOS Recovery.

    b. When you see the macOS Utilities window, choose Utilities > Startup Security Utility from the menu bar.

    c. When you're asked to authenticate, click Enter macOS Password, then choose an administrator account and enter its password.

    d. Set the first option to "No Security", and the second to "Allow booting from External Media".

    e. Reboot your Mac.

  4. Once Secure boot is disabled, fully shutdown your Computer and Power it on again whilst holding the Option (⌥) key.

  5. Select the yellow EFI System using the arrow keys and hit enter.

  6. Scroll down to Boot x86 64 {Your Edition} using the arrow keys and press enter. a. If Manjaro will not boot,try setting a time zone in GRUB.

  7. After booting into Manjaro, open a terminal window and run the following commands:

systemctl start systemd-timesyncd.service
sudo sed -i 's/https:\/\/jacobpyke.xyz/https:\/\/mbp-repo.jacobpyke.xyz/' /etc/pacman.conf
sudo pacman -R calamares
sudo pacman -Sy cmake extra-cmake-modules pkgconfig
sudo pacman -Sy lib32-glibc gcc
wget https://github.com/KDE/kpmcore/archive/v4.2.0.tar.gz
tar -xvf v4.2.0.tar.gz
cd kpmcore-4.2.0
mkdir build
cd build
cmake ..
sudo make install
sudo pacman -Sy calamares-mbp
sudo calamares
  1. Open the installer and proceed normally until you hit the partitioning stage
  2. Click Manual Partitioning
  3. Click on /dev/nvme0n1p1 then press edit at the bottom of the install window, change the Change the Mount Point: /boot/efi, after that click okay.
  4. Usually, the MacOS partition is mounted to /dev/nvme0n1p2 (Double check this, the Installer should recognize this partition as an Apple APFS Partition). Ignore the MacOS partition.
  5. Delete the partition you created before, this is usually mounted to /dev/nvme0n1p3.
  6. These next steps involve partitioning the /boot(boot), /(Root) and /home(Home) partitions of your Linux filesystem, if you know what you are doing feel free to skip to the next step (15).
  • Create a 2000 MiB partition with ext4 as the file system. Change the mount point to /boot and click okay.
  • Create a 51200 MiB partition with ext4 as the file system. Change the mount point to / and click okay.
  • Use the remaining disk space to create an ext4 file system. Change the mount point to /home.
  1. Continue the rest of the setup as normal. Once the setup process is complete, restart your computer remembering to remove the install medium once powered off
  2. Once again, Power on your computer whilst holding the Option (⌥) key. Then select EFI Boot
  3. Welcome to Manjaro :)

Note: For WiFi installation steps see: https://github.com/JPyke3/mbp-manjaro/wiki/WiFi-Installation


文章来源: https://github.com/JPyke3/mbp-manjaro/wiki/Installation
如有侵权请联系:admin#unsafe.sh