- boot into Linux
- edit /etc/fstab and comment out the line with /boot/efi
- reboot into macOS
- mount the EFI partition of your linux install with
diskutil mount 'EFI - LINUX'
or similar (check the correct name withdiskutil list
) - copy the contents of this partition (using finder or cp) somewhere in macOS
- unmount the partition again with
diskutil umount 'EFI - LINUX'
- wipe the APFS container (2.5 GB) using
diskutil apfs deleteContainer disk0s3
!! double and triple check the device id !! - wipe the EFI partition (500MB) using
diskutil eraseVolume free free disk0s4
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
set -euo pipefail | |
ORIG=$(pwd) | |
TEMP=$(mktemp -d) | |
cleanup() { | |
local status=$? | |
cd "$ORIG" || true |
High Level
flowchart TD
A([Start]) --> B[Create Move Model]
B --> C[For All Modules]
C --> translate[Translate Module]
translate --> write[Write Object File]
write --> isdone{All Modules Done?}
isdone --> |No| C
isdone --> |Yes| F([End])
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
declare -A mappings | |
mappings["bankstown"]="lv2-bankstown" | |
mappings["widevine"]="widevine-installer" | |
mappings["lzfse"]="lzfse-libs" | |
mappings["FEX-Emu"]="fex-emu" | |
mappings["fex-emu-rootfs-arch"]="fex-emu-rootfs-fedora" | |
mappings["linux-asahi"]="kernel-16k" |
DISCLAIMER: I'm not responsible for broken speakers! Use this at your own risk. It works on my system but that doesn't mean it will work on yours!
- clone this repo: https://github.com/linux-msm/audioreach-topology
- cd into it
cmake .
cmake --build .
sudo cp qcom/x1e80100/X1E80100-LENOVO-Yoga-Slim7x-tplg.bin /lib/firmware/qcom/x1e80100/X1E80100-LENOVO-Yoga-Slim7x-tplg.bin
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
tap "homebrew/bundle" | |
tap "homebrew/cask" | |
tap "homebrew/cask-fonts" | |
tap "homebrew/core" | |
brew "bash" | |
brew "bash-completion@2" | |
brew "bottom" | |
brew "btop" | |
brew "cloc" | |
brew "docker" |