Linux bringup usb
title: Linux Bringup: USB¶
root as USB drive¶
- Inspired by Alyssa's tomshardware article
- Make an arm64 root filesystem as per debian rootfs
- Note: The following is done as root on a debian system:
- In the chroot complete the set up:
- Install any other packages you want with apt
- Configure the sshd to allow root access and set the password to what you want
- Create an ext4 partition on a USB device (e.g. /dev/sdb in example below)
- Format ext4 filesystem
mkfs.ext4 /dev/sdb1 - Install your new rootfs on it (you could have just created the rootfs on the partition.... :-)
- Boot up linux with the USB drive plugged in (now should be /dev/sda1). I used a simple USB hub on the 2nd port with a USB keyboard the USB drive plugged in before powering on the Mac.
- Image-dart-dev.gz - dart/dev branch of the Asahi linux as above
- t8103-j274-dart-dev.dtb - the dtb from the above linux
- NO initrd is passed