]>
Commit | Line | Data |
---|---|---|
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 | - Once you run the install, boot into the 'Options' menu again and install u-boot: | |
12 | ||
13 | curl -LO https://tg.st/u/u-boot.macho | |
14 | kmutil configure-boot -c u-boot.macho -V /Volumes/Linux | |
15 | ||
16 | - Format a usb stick with a vfat partition on it, mount the partition and | |
17 | extract the following: | |
18 | ||
19 | cd /mnt | |
20 | curl -L https://tg.st/u/asahi-debian-live-2022-01-25.tar | tar -xf - | |
21 | ||
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. | |
25 | ||
26 | run bootcmd_usb0 | |
27 | ||
28 | - Login with username 'root'. There is no password. | |
29 | ||
30 | - If you have an ethernet card (mini or usb dongle), than get an IP: | |
31 | ||
32 | dhclient eth0 | |
33 | ||
34 | - Set the time: | |
35 | ||
36 | ntpdate pool.ntp.org | |
37 | ||
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 | ||
58 | The exact steps follow once I find a little bit of time. | |
59 | ||
60 | 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 | |
61 |