#asahi · 2022-08-19 16:35
tpw_rulestry: diskutil addPartition disk0s1 %Apple_APFS% %noformat% 0#asahi · 2022-08-19 16:34
GlanzmannMaybe that is enough to fix your partition table, and than you can just use the recovery to reinstall macosx.#asahi · 2022-08-19 16:34
Glanzmannaxboe: Btw, have you tried using diskutil to create a msdos partition and than delete it again?#asahi · 2022-08-19 16:33
GlanzmannEither use idevice restore or the apple link I posted above using a second macbook running osx.#asahi · 2022-08-19 16:33
Glanzmannaxboe: Yep, no os installed just the bootloader and the recovery. If you can't reinstall from recovery, than you need to do the dfu thing.#asahi · 2022-08-19 16:32
axboeGlanzmann: that's what I did last time, guess I'm pretty good at messing them up#asahi · 2022-08-19 16:32
axboethat's the full output#asahi · 2022-08-19 16:32
axboehttps://kernel.dk/du.out#asahi · 2022-08-19 16:32
Glanzmannaxboe: https://support.apple.com/guide/apple-configurator-mac/revive-or-restore-a-mac-with-apple-silicon-apdd5f3c75ad/mac#asahi · 2022-08-19 16:31
Glanzmannaxboe: You can also use your wifes macbook and use that to recover it. I did the same thing when I accidently deleted the recovery partition.#asahi · 2022-08-19 16:31
axboetpw_rules: sure#asahi · 2022-08-19 16:30
Glanzmannaxboe: Here is the dfu procedure: https://tg.st/u/idevicerestore_quickstart.txt#asahi · 2022-08-19 16:30
tpw_rulesaxboe: can you paste your complete diskutil output? it got mangled by irc maybe#asahi · 2022-08-19 16:30
axboetbh#asahi · 2022-08-19 16:30
axboetpw_rules: yep, and not sure how I got there tbg#asahi · 2022-08-19 16:30
GlanzmannDamn it.#asahi · 2022-08-19 16:29
axboeI can't install from the recovery#asahi · 2022-08-19 16:29
tpw_rulesthe problem is diskutil is the only thing that can touch the GPT, and i think diskutil is unhappy with the current GPT#asahi · 2022-08-19 16:29
GlanzmannNo need for the dfu thing.#asahi · 2022-08-19 16:29
Glanzmannaxboe: I think, if you still have the recovery, you can install from the recovery.#asahi · 2022-08-19 16:29
axboeGlanzmann: I can run that once I get it installed ;)#asahi · 2022-08-19 16:29
tpw_ruleshttps://github.com/tpwrules/nixos-m1/blob/main/docs/uefi-standalone.md#recovering-from-boot-failure-with-idevicerestore#asahi · 2022-08-19 16:28
Glanzmannaxboe: Nice. I'm alread curious about your taskset -c 0 sysbench --memory-oper=read --memory-block-size=128M --memory-total-size=128G --threads=1 memory run output.#asahi · 2022-08-19 16:28
axboetpw_rules: link to the guide?#asahi · 2022-08-19 16:28
axboetpw_rules: I have my wifes old intel based 13" mbp, I used that last time#asahi · 2022-08-19 16:28
tpw_rulesdo you have another mac? i wrote a comprehensive guide on doing it with the open source tools#asahi · 2022-08-19 16:28
axboetime to google how to do that - did it on my last one, but forgot#asahi · 2022-08-19 16:28
axboeok I guess I have to dfu it...#asahi · 2022-08-19 16:27
axboeit's a 16" mbp m1 max#asahi · 2022-08-19 16:27
Glanzmannaxboe: What modell did you get?#asahi · 2022-08-19 16:27
GlanzmannSo to promote the boot loader you need an existing macos install.#asahi · 2022-08-19 16:27
tpw_ruleslast time i tried to wipe macos was the inspiration to learn about dfu on account of nuking the machine by accident#asahi · 2022-08-19 16:27
axboeGlanzmann: right, this is where I'm deadlocked currently :)#asahi · 2022-08-19 16:27
GlanzmannSo you need to install macosx, than the installer runs.#asahi · 2022-08-19 16:26
axboetpw_rules: I do, was going to do that next#asahi · 2022-08-19 16:26
GlanzmannBecause you need the user of that macos to unlock the secret thing.#asahi · 2022-08-19 16:26
tpw_rulesdo you have another machine? can you just DFU it?#asahi · 2022-08-19 16:26
axboeand I just want to wipe it, but my osx/diskutil foo is very low#asahi · 2022-08-19 16:26
GlanzmannAh, the problem is you need a macos isntall.#asahi · 2022-08-19 16:26
axboetpw_rules: pretty sure this is gaps from the previous attempt#asahi · 2022-08-19 16:26
axboe"Unable to determine primary OS."#asahi · 2022-08-19 16:26
tpw_rulesdiskutil seems to get pretty unhappy with a partition table that is not sorted or has gaps in the GPT#asahi · 2022-08-19 16:25
axboebut I really just need to re-install osx on it first so I can ensure it's unenrolled from the MDM side#asahi · 2022-08-19 16:25
Glanzmannaxboe: I'm using the same installer that asahi uses.#asahi · 2022-08-19 16:25
axboeGlanzmann: let me try and run yours#asahi · 2022-08-19 16:24
axboeand I can't resize or add/remove partitions#asahi · 2022-08-19 16:24
Glanzmannaxboe: Strange, what error message do you get when you try to run the asahi installer?#asahi · 2022-08-19 16:24
axboeI'm in recovery mode right now, disk utility just shows the disk, no partitions#asahi · 2022-08-19 16:24
axboethere's nothing on this laptop, it's new#asahi · 2022-08-19 16:24
axboeit was MDM managed, ran into issues there, and just killed all of it