From: Thomas Glanzmann Date: Thu, 27 Jan 2022 15:27:54 +0000 (+0100) Subject: added more instructions X-Git-Url: https://git.zerfleddert.de/cgi-bin/gitweb.cgi/m1-debian/commitdiff_plain/cd51dc6cac5da86c717411b744d9c69f7caef3e4 added more instructions --- diff --git a/asahi-debian-live.txt b/asahi-debian-live.txt deleted file mode 100644 index ffc3e21..0000000 --- a/asahi-debian-live.txt +++ /dev/null @@ -1,64 +0,0 @@ -- Boot into macos - -- make space - the last number is the space that macos will occupy - - diskutil apfs resizeContainer disk0s2 200GB - -- run the installer, do not forget step2.sh - - curl -L https://mrcn.st/alxsh | sh - - Use the newest version (12.0.1 at the time of this writing) as the stub - os version. - -- Once you run the install, boot into the 'Options' menu again and install u-boot: - - curl -LO https://tg.st/u/u-boot.macho - kmutil configure-boot -c u-boot.macho -V /Volumes/Linux - -- Format a usb stick with a vfat partition on it, mount the partition and - extract the following: - - cd /mnt - curl -L https://tg.st/u/asahi-debian-live-2022-01-25.tar | tar -xf - - -- In u-boot interrupt the boot loop by pressing return when prompted to. Use - the following command to boot from the usb-stick. Loading the 256 MB initrd - takes a while. - - run bootcmd_usb0 - -- Login with username 'root'. There is no password. - -- If you have an ethernet card (mini or usb dongle), than get an IP: - - dhclient eth0 - -- Set the time: - - ntpdate pool.ntp.org - -- Install any software you like, for example gnome: - - apt-get install gnome - useradd -m -c 'user' user - passwd user - /etc/init.d/gdm3 start - -- You can also use the live system to install Debian on the m1, the rough outline is: - - - Create two paritions: - - - One 1 GB vfat - - Rest with ext4 - - - Use debootstrap to bootstrap debian - - - Install grub - - - reboot - -The exact steps follow once I find a little bit of time. - -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 - diff --git a/files/quickstart.txt b/files/quickstart.txt index 626041a..46ed207 100644 --- a/files/quickstart.txt +++ b/files/quickstart.txt @@ -1,3 +1,7 @@ +# Ethernet +ip l s +dhclient + # Wifi rmmod brcmfmac rmmod brcmutil @@ -25,7 +29,6 @@ find /boot/efi -name fbaa64.efi | xargs rm See also: https://github.com/AsahiLinux/docs/wiki/U-Boot - # xorg (air) [~] cat /etc/X11/xorg.conf.d/00-keyboard.conf Section "InputClass" @@ -55,3 +58,28 @@ Section "InputClass" Option "ClickMethod" "clickfinger" Driver "libinput" EndSection + +# Create a user +useradd -m -c 'user' user +passwd user + +# Install gnome +apt-get install gnome +/etc/init.d/gdm3 start + +# If you need to install the kernel on a bootstrapped system or one that needs recovery +wget https://tg.st/u/k.deb +dpkg -i k.deb + +- You can also use the live system to install Debian on the m1, the rough outline is: + + - Create two paritions: + + - One 1 GB vfat + - Rest with ext4 + + - Use debootstrap to bootstrap debian + + - Install grub + + - reboot