Skip to content

jellydn/arch-linux-on-m2

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Welcome to arch-linux-on-m2 👋

How to install Arch Linux on a Macbook Pro M2

How to Install Arch Linux on MacBook Pro M2 Arch Linux

Pre-requisites

Usage

Step 1: Install Arch Linux

Follow the instructions to install Arch Linux using the archboot ISO.

  • Setup timezone and install in offline mode Offline mode
  • Setup storage Part 1 Part 2
  • Install packages Install packages
  • Config system Set root password Install Neovim and Systemd Set bash as default shell Create user Install bootloader - grub Reboot
Step 2: Run the Installation Script

At this step, you should have a working Arch Linux system.

  • Install git and sudo Install git and sudo
  • Grant the user sudo privileges
    nvim /etc/sudoers
    Grant the user
  • Clone this repository and run the install.sh script
    git clone https://github.com/jellydn/arch-linux-on-m2.git
    cd arch-linux-on-m2
    sh install.sh
    Install
  • This script will update the system packages, install kitty terminal emulator, install the GNOME desktop environment, install and enable GDM.
  • Verify that the GNOME desktop environment is installed correctly
    sudo systemctl status gdm.service
  • Reboot the system
    reboot
    Gnome
Step 3: Install VMware Tools

If you share the folder between the host and the guest, you need to install VMware Tools.

  • Warning message:
    Shared folders will not be available in the virtual machine until VMware Tools is installed and running.
    
    Image from Gyazo
  • Run the openvm-tools.sh script to install VMware Tools
    cd arch-linux-on-m2
    sh openvm-tools.sh
    Install OpenVM Tools
  • Verify that VMware Tools is installed correctly
    ls -l /mnt/hgfs

Extra packages

This is optional but you can run the extra.sh script to install some extra packages:

cd arch-linux-on-m2
sh extra.sh

Enable key repeat

To enable key repeat, run the following command:

xset r rate 200 30

Fish shell plugins

# Install fisher
curl -sL https://raw.githubusercontent.com/jorgebucaran/fisher/main/functions/fisher.fish | source && fisher install jorgebucaran/fisher
# Git alias
fisher install jhillyerd/plugin-git
# Pure
fisher install pure-fish/pure

Resources

Show your support

Give a �� if this project helped you!

About

How to install Arch Linux on a Macbook Pro M2

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages