The ISOs from this repo should allow you to install Ubuntu without using an external keyboard or mouse on a T2 Mac.
If this repo helped you in any way, consider inviting a coffee to the people in the credits, link.
Ubuntu ISO with Apple T2 patches built-in. Now we also support kubuntu thanks to @lemmyg!
Apple T2 drivers are integrated with this iso.
This repo is a rework of the great work done by @mikeeq. It originally was @marcosfad's mbp-ubuntu repo and has been transferred to t2linux.
Kernel is being used from - https://github.com/t2linux/T2-Debian-and-Ubuntu-Kernel
Using additional patches to support T2 Macs - https://github.com/t2linux/linux-t2-patches
Bootloader is configure correctly out of the box. No workaround needed.
diskutil list # found which number has the USB
diskutil umountDisk /dev/diskX
sudo gdd bs=4M if=ubuntu-20.04-5.6.10-mbp.iso of=/dev/diskX conv=fdatasync status=progress
/
.sudo apt-get install language-pack-[cod] language-pack-gnome-[cod] language-pack-[cod]-base language-pack-gnome-[cod]-base
/etc/modprobe.d/hid_apple.conf
file and recreating grub config. All available modifications could be found here: https://github.com/free5lot/hid-apple-patched
# /etc/modprobe.d/hid_apple.conf
options hid_apple swap_fn_leftctrl=1
options hid_apple swap_opt_cmd=1
For the people who want to have a menu, they can modify /etc/default/grub
with the following changes:
GRUB_TIMEOUT_STYLE=menu
GRUB_TIMEOUT=10
and then:
sudo update-grub
Follow this guide.
ctrl+x
is not working in GRUB, so if you are trying to change kernel parameters - start your OS by pressing F10
on external keyboard