]> git.zerfleddert.de Git - m1-debian/blame - asahi-debian-live.txt
add interfaces for eth0
[m1-debian] / asahi-debian-live.txt
CommitLineData
1388429a 1- Boot into macos
81e10c83 2
1388429a 3- make space - the last number is the space that macos will occupy
81e10c83 4
1388429a 5 diskutil apfs resizeContainer disk0s2 200GB
81e10c83 6
1388429a 7- run the installer, do not forget step2.sh
69ee25f6 8
1388429a 9 curl -L https://mrcn.st/alxsh | sh
d4e6bc07 10
1388429a 11- Once you run the install, boot into the 'Options' menu again and install u-boot:
69ee25f6 12
1388429a
TG
13 curl -LO https://tg.st/u/u-boot.macho
14 kmutil configure-boot -c u-boot.macho -V /Volumes/Linux
69ee25f6 15
1388429a
TG
16- Format a usb stick with a vfat partition on it, mount the partition and
17 extract the following:
69ee25f6 18
1388429a
TG
19 cd /mnt
20 curl -L https://tg.st/u/asahi-debian-live-2022-01-25.tar | tar -xf -
69ee25f6 21
1388429a
TG
22- In u-boot interrupt the boot loop by pressing return when prompted to. Use
23 the following command to boot from the usb-stick. Loading the 256 MB initrd
24 takes a while.
69ee25f6 25
1388429a 26 run bootcmd_usb0
69ee25f6 27
1388429a 28- Login with username 'root'. There is no password.
69ee25f6 29
1388429a 30- If you have an ethernet card (mini or usb dongle), than get an IP:
69ee25f6 31
1388429a 32 dhclient eth0
69ee25f6 33
1388429a 34- Set the time:
646569f8 35
1388429a 36 ntpdate pool.ntp.org
a66821fc 37
1388429a
TG
38- Install any software you like, for example gnome:
39
40 apt-get install gnome
41 useradd -m -c 'user' user
42 passwd user
43 /etc/init.d/gdm3 start
44
45- You can also use the live system to install Debian on the m1, the rough outline is:
46
47 - Create two paritions:
48
49 - One 1 GB vfat
50 - Rest with ext4
51
52 - Use debootstrap to bootstrap debian
53
54 - Install grub
55
56 - reboot
57
58The exact steps follow once I find a little bit of time.
59
60Kernel deb is here: https://tg.st/u/linux-image-5.16.0-asahi-next-20220118-gdcd14bb2ec40_5.16.0-asahi-next-20220118-gdcd14bb2ec40-1_arm64.deb
4737db24 61
Impressum, Datenschutz