]>
Commit | Line | Data |
---|---|---|
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 | |
3c78f946 TG |
11 | Use the newest version (12.0.1 at the time of this writing) as the stub |
12 | os version. | |
13 | ||
1388429a | 14 | - Once you run the install, boot into the 'Options' menu again and install u-boot: |
69ee25f6 | 15 | |
1388429a TG |
16 | curl -LO https://tg.st/u/u-boot.macho |
17 | kmutil configure-boot -c u-boot.macho -V /Volumes/Linux | |
69ee25f6 | 18 | |
1388429a TG |
19 | - Format a usb stick with a vfat partition on it, mount the partition and |
20 | extract the following: | |
69ee25f6 | 21 | |
1388429a TG |
22 | cd /mnt |
23 | curl -L https://tg.st/u/asahi-debian-live-2022-01-25.tar | tar -xf - | |
69ee25f6 | 24 | |
1388429a TG |
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. | |
69ee25f6 | 28 | |
1388429a | 29 | run bootcmd_usb0 |
69ee25f6 | 30 | |
1388429a | 31 | - Login with username 'root'. There is no password. |
69ee25f6 | 32 | |
1388429a | 33 | - If you have an ethernet card (mini or usb dongle), than get an IP: |
69ee25f6 | 34 | |
1388429a | 35 | dhclient eth0 |
69ee25f6 | 36 | |
1388429a | 37 | - Set the time: |
646569f8 | 38 | |
1388429a | 39 | ntpdate pool.ntp.org |
a66821fc | 40 | |
1388429a TG |
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 | |
4737db24 | 64 |