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