# Boot into Macos # make space - the last number is the space that macos will occupy diskutil apfs resizeContainer disk0s2 200GB # run the installer, do not forget step2.sh curl -L https://mrcn.st/alxsh | sh # Choose the latest vesion # 1. Press and hold down the power button to power on the system. # * It is important that the system be fully powered off before this step, # and that you press and hold down the button once, not multiple times. # This is required to put the machine into the right mode. # 2. Release it once 'Entering startup options' is displayed. # 3. Choose Options. # 4. You will briefly see a 'macOS Recovery' dialog. # * If you are asked to 'Select a volume to recover', # then choose your normal macOS volume and click Next. # 5. Click on the Utilities menu and select Terminal. # 6. Type the following command and follow the prompts: # Create a partition to hold linux diskutil list # note you have to specify the partition before the free space diskutil addPartition disk0s3 FAT32 LB 42.6GB curl -L https://tg.st/u/m1.tgz | tar -xOf - | dd of=/dev/disk0sX bs=8388608 /Volumes/Linux/step2.sh Todo: - source.list += non-free contrib - apt-get install -y firmware-linux eatmydata vim sudo tcpdump tmux curl - install the kernel in rootfs - When SMC is there make it directly boot