marcan changed the topic of #asahi to: Asahi Linux: porting Linux to Apple Silicon macs | "Does XXX work yet?": https://alx.sh/fs | GitHub: https://alx.sh/g | Wiki: https://alx.sh/w | Topics: #asahi-dev #asahi-re #asahi-gpu #asahi-alt #asahi-stream #asahi-offtopic | Keep things on topic | Logs: https://alx.sh/l/asahi
Hiryu-ppc has joined #asahi
unicordian has joined #asahi
nsklaus has quit [Ping timeout: 480 seconds]
possiblemeatball has quit [Quit: Quit]
gabuscus has quit []
unicordian has quit [Ping timeout: 480 seconds]
unicordian has joined #asahi
gabuscus has joined #asahi
unicordian has quit [Ping timeout: 480 seconds]
unicordian has joined #asahi
unicordian has quit [Ping timeout: 480 seconds]
unicordian has joined #asahi
marvin24_ has joined #asahi
marvin24 has quit [Ping timeout: 480 seconds]
BPCZd has joined #asahi
BPCZ has quit [Read error: Connection reset by peer]
mxz has quit [Quit: cya]
unicordian has quit [Ping timeout: 480 seconds]
unicordian has joined #asahi
mxz has joined #asahi
derzahl has quit [Ping timeout: 480 seconds]
rvalue has quit [Read error: Connection reset by peer]
rvalue has joined #asahi
unicordian has quit [Ping timeout: 480 seconds]
unicordian has joined #asahi
unicordian has quit [Read error: Connection reset by peer]
unicordian has joined #asahi
derzahl has joined #asahi
thenemesis has joined #asahi
unicordian has quit [Read error: Connection reset by peer]
unicordian has joined #asahi
thenemesis has quit [Quit: My MacBook Air has gone to sleep. ZZZzzz…]
thenemesis has joined #asahi
pinkieval has quit [Read error: Connection reset by peer]
pinkieval has joined #asahi
unicordian has quit [Read error: Connection reset by peer]
unicordian has joined #asahi
nsklaus has joined #asahi
gladiac has joined #asahi
gladiac has quit [Quit: k thx bye]
gladiac has joined #asahi
mohit815 has joined #asahi
gladiac has quit [Quit: k thx bye]
bpye has quit [Quit: Ping timeout (120 seconds)]
bpye has joined #asahi
chadmed has quit [Remote host closed the connection]
chadmed has joined #asahi
unicordian has quit [Read error: Connection reset by peer]
unicordian has joined #asahi
chadmed has quit [Remote host closed the connection]
chadmed has joined #asahi
cylm has joined #asahi
stipa is now known as Guest752
stipa has joined #asahi
Guest752 has quit [Ping timeout: 480 seconds]
cmpxchg16b has joined #asahi
thenemesis has quit [Quit: My MacBook Air has gone to sleep. ZZZzzz…]
possiblemeatball has joined #asahi
chadmed has quit [Remote host closed the connection]
unicordian has quit [Read error: Connection reset by peer]
unicordian has joined #asahi
thenemesis has joined #asahi
Agua has joined #asahi
thenemesis has quit [Remote host closed the connection]
thenemesis has joined #asahi
thenemesis_ has joined #asahi
thenemesis has quit [Ping timeout: 480 seconds]
unicordian has quit [Read error: Connection reset by peer]
kreechy has quit [Quit: ZNC 1.7.5+deb4 - https://znc.in]
unicordian has joined #asahi
___nick___ has quit [Ping timeout: 480 seconds]
DomainMisstyper has joined #asahi
DomainMisstyper has quit []
Guest692 has quit [Quit: Bridge terminating on SIGTERM]
rhysmdnz has quit [Quit: Bridge terminating on SIGTERM]
unicordian has quit [Ping timeout: 480 seconds]
unicordian has joined #asahi
Jamie has joined #asahi
rhysmdnz has joined #asahi
thenemesis has joined #asahi
Jamie is now known as Guest769
thenemesis_ has quit [Ping timeout: 480 seconds]
korreckj328 has joined #asahi
korreckj328 has quit []
brolin has joined #asahi
Armlin has joined #asahi
brolin has quit [Ping timeout: 480 seconds]
Armlin has quit []
Armlin has joined #asahi
Armlin has quit [Quit: Konversation terminated!]
Armlin has joined #asahi
Armlin has quit [Quit: Konversation terminated!]
Armlin has joined #asahi
brolin has joined #asahi
kolo has joined #asahi
<kolo>
hey guys
<kolo>
one question
<kolo>
i decided to reinstall my macos but i have an asahi partition
<kolo>
so the layout is like an mac os volume, then an asahi volume, then the filesystem partition
<kolo>
noticed after erasing my mac os volume that the reinstall takes long
<kolo>
so i decided to just go use my linux install instead
<kolo>
but then i noticed, after erasing mac os, asahi won't boot
<kolo>
it shows the apple logo, starts loading, and that forever
<thenemesis>
do you have a recoveryOS partition after the asahi data partition? should be the last partition on your drive kolo?
<kolo>
(logo, load, black, repeat)
<jannau>
zumi: I suspect the packages whare just copied from the testing ground without rebuild or updating the main branch
<kolo>
thenemesis: yes i erased and went to reinstall via that 1 true recovery OS
<kolo>
and never touched the asahi volume group
<kolo>
only the macintosh HD one
<jannau>
kolo: try to get into recovery by long pressing the power button at startup
<kolo>
this is what i did, and also tried running it from recovery, but same issue
<kolo>
should i just try reinstalling the OS into the (now erased) partition, and then see if asahi will boot?
<kolo>
so mac os
<jannau>
once you're recovery please run the installer again. it should offer to repair your existing install
<kolo>
yeah i'll do that, i was just trying to do it at night because it takes long and wanted to use linux in the meanwhile, and didn't think that the mac os install would be tied to the asahi boot process?
<marcan>
kolo: macos installer nuked your boot policy, that happens sometimes. the repair option ^ will fix it
roxfan2 has joined #asahi
<marcan>
you can run the installer from recoveryOS too
<jannau>
kolo: the repair option of the asahi installer
<marcan>
in fact if you run it from recoveryOS having Asahi as the default boot option, it will even avoid asking you to reboot again
<jannau>
that one is quick
<kolo>
marcan: ah right. so reinstall mac os. then repair the boot policy. thank you
brolin has quit [Ping timeout: 480 seconds]
<marcan>
no, just make asahi the default boot, go into recoveryos, run the asahi installer
<marcan>
it will fix it
<marcan>
no need to reinstall macos
<jannau>
kolo: you can repair the asahi install right now
<kolo>
how can i run the installer from recovery os? from the terminal?
<marcan>
yes, same as from macos
<marcan>
there's a terminal option in the menu
<kolo>
ok. one more question. will this touch my esp partition?
<marcan>
no, it won't
<kolo>
ok cool
<kolo>
gotcha
<kolo>
i will try it, and if i don't report back, know well that i thank you very much!
<kolo>
but in any case, i thank you very much right now immediately
<kolo>
:)
<jannau>
the installer should detect that you have an asahi install and offer to repair it
<kolo>
i mean i can just stay in the chat
<kolo>
ill go try it now
<marcan>
yeah, it will say "incomplete install" (or something, I forget the wording)
Armlin has quit [Quit: Konversation terminated!]
roxfan has quit [Ping timeout: 480 seconds]
<kolo>
ok so
<kolo>
im being prompted for a password
<kolo>
which i suppose is of the former user i had
<kolo>
and that doesn't seem to work
<kolo>
soemthing about bputil
<kolo>
i suppose i need the password
<jannau>
did you change the password after you installed asahi?
<kolo>
is this the same pass as FileVault?
<jannau>
did macos only had a single user? You need the same passwaord you used during installation
<kolo>
yes only one user
<kolo>
that user is now gone?
<jannau>
does Filevault use a separate password?
<kolo>
i know i had the same passwords
<kolo>
or that it only uses one
<kolo>
right, the code sayd
<kolo>
says
<kolo>
"user not found"
<jannau>
no, the installed "copied" that user to the asahi installation/volume group. it shouldn't be gone
<jannau>
at least I thought it works that way
<jannau>
marcan should be able to confirm
<kolo>
is it maybe safer for me to reinstall mac os, get a new sudo user, and then repair?
<marcan>
hm so... it's not impossible that deleting macOS deletes its users from SEP
<marcan>
which means sure, we copy the user ID, but then the user is gone anyway
<marcan>
(one more reason to never delete macOS)
<marcan>
kolo: so yeah, that, and you might need to manually copy over the user DB in that case, let me check the code
<kolo>
ok. i will check that out. in the worst case i hope i will just be able to rescue my data by doing a side install. in any case, the install won't touch my partition if i always make sure that i'm using macintosh HD ?
<kolo>
the HD part
<marcan>
kolo: look in the Preboot volumes (the installer will mount them for you on startup, you can just run it and let it do that and then look at `mount` in another terminal)
<marcan>
one will have fewer stuff (asahi), one will have more stuff (macos)
<zumi>
jannau: Gotchu :P maybe it's #asahi-alt thing, but I was looking at the PKGBUILDs for latest releases to try to build on another distro :P maybe not the best idea?
<kolo>
marcan: ah so you mean that i immediately copy over the data
<marcan>
look for var/db/AdminUserRecoveryInfo.plist in the macOS one and copy it on top of the same file on the Asahi one (there will be a UUID top level folder in both cases, leave that the same)
<kolo>
alright hold up
<marcan>
yeah, run the installer, say no to expert, once you see the partition list go to another terminal tab, copy that file from the macOS side to the Asahi side, then continue with the repair option in the installer
<kolo>
but only after mac os install or i can do that from 1trs now?
<marcan>
once it's installed, if your user is gone now it's gone
<kolo>
understood. thanks. i see.
<kolo>
yeah i've checked it out from 1tr i can see the file
<marcan>
one interesting thing to note is whether the macOS install process ever prompts you for an existing password
<marcan>
if it does not then by definition your user is gone
<marcan>
since it should be impossible to install a new OS with a new machine owner user without credentials for a prior user unless there is no prior user
<marcan>
(just an observation for you to make)
<kolo>
does this imply i possibly bricked my device
<marcan>
yeah, you should see the asahi one, so once you get macos working (and have a first user set up etc) copy that file over from the macos side
<marcan>
no, worst case you do a DFU restore
<kolo>
cool
<marcan>
but if the user is gone I imagine the intent is to allow you to set up fresh like this when you wipe macos
<marcan>
which would make sense
<marcan>
otherwise it wouldn't work
<marcan>
so I bet there's some horrible special case to handle it
<marcan>
eventually the way to fix this is for Asahi to create its own user, but that requires SEP support we don't have yet
<kolo>
cool, ill be reinstalling this immediately and hope it works. weird edge case, should have guessed it removes the user. now i know better
<marcan>
also this may break SEP provisioning when we start supporting that, but we'll cross that bridge when we get there (just be aware of it)
<marcan>
(manually fixing it would be possible in the hypothetical case that we don't just do it a way that doesn't break)
<marcan>
(none of this code exists yet so this is all hypothetical)
<jannau>
zumi: the desync between PKGBUILDs git repo and offered packages is an issue of our not fully automated package build/publishing workflow. what you intend to with the repo is a topic for #asahi-alt
<kolo>
marcan: cool. understood all of it. i am again thankful for you helping me with my problem, marcan.
<kolo>
and jannau too
<zumi>
Thanks! Can I get the repo URL instead, so I can look there instead