ChanServ changed the topic of #asahi to: Asahi Linux: porting Linux to Apple Silicon macs | https://asahilinux.org/2022/03/asahi-linux-alpha-release/ | General project discussion | 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
tenkuu has joined #asahi
rayanamukami3 has quit [Read error: Connection reset by peer]
rayanamukami3 has joined #asahi
bgb has joined #asahi
<chadmed> scardracs: ive been meaning to fix that bootstrapping script for a while but i keep being sniped by cooler stuff :P the fix is pretty trivial, you just need to compile the squashfs on disk instead of in a ramdisk. it should wor, albeit slower
<chadmed> ChaosPrincess: you dont need any of that stuff to make gentoo work because i am maintaining a portage overlay that takes care of it all
tenkuu has quit [Read error: Connection reset by peer]
Brainium has quit [Quit: Konversation terminated!]
r0ni has joined #asahi
user982492 has joined #asahi
tenkuu has joined #asahi
tenkuu has quit []
tenkuu has joined #asahi
ma2 has joined #asahi
ma has quit [Ping timeout: 480 seconds]
tenkuu has quit [Read error: Connection reset by peer]
tenkuu has joined #asahi
nicolas17 has quit [Quit: Konversation terminated!]
lanodan_ has quit []
lanodan has joined #asahi
tenkuu has quit [Read error: Connection reset by peer]
tenkuu has joined #asahi
tenkuu has quit [Read error: Connection reset by peer]
tenkuu has joined #asahi
marvin24 has joined #asahi
marvin24_ has quit [Ping timeout: 480 seconds]
user982492 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
tenkuu_ has joined #asahi
tenkuu_ has quit []
tenkuu has quit [Ping timeout: 480 seconds]
tenkuu has joined #asahi
tenkuu has quit []
tenkuu has joined #asahi
grange_c has quit [Quit: Ping timeout (120 seconds)]
grange_c has joined #asahi
tertu has quit [Ping timeout: 480 seconds]
bgb has quit [Ping timeout: 480 seconds]
tertu has joined #asahi
hxliew has quit [Quit: WeeChat 3.5]
tenkuu has quit [Quit: WeeChat 3.7.1]
bgb has joined #asahi
guillaume_g has joined #asahi
giskard has joined #asahi
jamespmo_ has joined #asahi
jamespmorgan has quit [Ping timeout: 480 seconds]
SSJ_GZ has joined #asahi
steven has joined #asahi
<ChaosPrincess> the problem with that overlay is that it assumes arch-like fs layout for scripts to work, and im running a different one
mps_ has joined #asahi
mps has quit [Ping timeout: 480 seconds]
<chadmed> ive tried to patch make files aand scripts where i can to more closely align with gentoo, if ive missed anything that is important lmk in #asahi-alt
<ChaosPrincess> its more that i have an ancient install that was made before official release, and so it might not look like normal gentoo, but rather like what-i-think-gentoo-looks-like
capta1nt0ad has quit [Remote host closed the connection]
MajorBiscuit has joined #asahi
bluetail4 has joined #asahi
bgb has quit [Ping timeout: 480 seconds]
bluetail has quit [Ping timeout: 480 seconds]
bluetail4 is now known as bluetail
<scardracs> chadmed: I’ve used a usb key as support 😅
kettenis_ is now known as kettenis
bgb has joined #asahi
leitao has joined #asahi
leitao has quit [Ping timeout: 480 seconds]
weitcis has joined #asahi
chadmed_ has joined #asahi
chadmed_ has quit [Remote host closed the connection]
tim has joined #asahi
tim is now known as Guest442
leitao has joined #asahi
Moprius has joined #asahi
ten1572 has quit [Remote host closed the connection]
ten1572 has joined #asahi
leitao has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Moprius has quit [Quit: bye]
bgb has quit [Ping timeout: 480 seconds]
leitao has joined #asahi
janrinze has joined #asahi
<janrinze> can we install multiple asahi linux installations side by side? I would like to have a second asahi linux for testing. So i mean to have a second full asahi linux install next to the current one. with it's own m1n1 bootloader etc.
<j`ey> yep
<janrinze> just run the installer again?
<j`ey> yeah
<janrinze> any possibility to name the entry at boot (on long press of power-on) so i know which one is which?
<bluetail> janrinze is done during installation afaik, pointer being partition name.
<janrinze> so if we rename the partition "asahi-test" then it should properly say that name below the icon?
leitao has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<bluetail> I mean it did for me... so I hope so...
<janrinze> for example if we want to have both debian and arch it would be nice to see which is which..
<janrinze> renaming the partition can be done after installing without breaking things, right?
<j`ey> janrinze: the installer asks for a name doesnt it?
<janrinze> I haven't installed for a long time so i would not know :-)
leitao has joined #asahi
<j`ey> 'Enter a name for your OS' it asks this at some point
<janrinze> j`ey: my current setup is quite a bit of manual adaptations over a long time. A clean debian install next to the old setup would be a good idea.
<j`ey> yeah same, I might erase my setup at some point, mostly avoided putting important info on there
<janrinze> I'm thinking about having a shared home partition across these multiple installations..
<janrinze> having a fail-over linux install also may help when i break stuff.. ;-)
janrinze has quit [Remote host closed the connection]
kujeger has joined #asahi
goldsoultheory has joined #asahi
bgb has joined #asahi
leitao has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
leitao has joined #asahi
delsol has joined #asahi
Guest442 has quit [Quit: Guest442]
bgb has quit [Ping timeout: 480 seconds]
janrinze has joined #asahi
<janrinze> small update: using the debian installer when already arch linux is install is a bad idea.. the installer seems to overwrite some things and neither installation can be booted.
<janrinze> the whole installation process finishes, debian boots, as root set passwd etc. reboot, system hangs with waiting Proxy or something like that
<delsol> scardracs: I couldn't tell you how many times I've edited a script to fix something on an installer or package, and then not pushed that edit upstream, so I run into the same problem elsewhere later, and go "I thought I fixed that...."
leitao has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
LinuxM1 has joined #asahi
leitao has joined #asahi
janrinze has quit [Quit: Leaving.]
janrinze has joined #asahi
leitao has quit [Ping timeout: 480 seconds]
<janrinze> just for the sake of info: after another reboot it seems that the Asahi Linux boot option now starts Debian. And the debian boot option simply hangs.
<sven> uh, yeah, installing another distro over ours is probably going to break things unless you pay attention
<janrinze> sven: I did an new install. resized the apfs partition and followed the instructions
<sven> and after that you ran some debian installer, didn't you?
<janrinze> it created a new linux partition (the old ones are luckily still there)
<janrinze> sven: i used the Glanzman installer
<sven> #asahi-alt then please
<sven> we don't provide support for any unofficial distros here
jelly has quit [Remote host closed the connection]
<_jannau_> that sounds like the debian installer is broken and has overwritten files on the asahi ESP
<_jannau_> janrinze: from when was you asahi linux install? was it the first alpha release or later?
jluthra has quit [Remote host closed the connection]
jluthra has joined #asahi
<janrinze> _jannau_: yes, a quite old install. it was the first one that supports the M1 Ultra
<janrinze> _jannau_: let's discuss further on asahi-alt (as sven suggested)
<_jannau_> that's new enough to have have all te bits in place to support multiple installs so it's probably an issue in the debian installer
<janrinze> july 22 it seems
bcrumb has joined #asahi
<bcrumb> once again i have rendered my distro unbootable, this time by causing a systemd cycle
jelly has joined #asahi
bcrumb has quit [Remote host closed the connection]
MajorBiscuit has quit [Ping timeout: 480 seconds]
tobhe_ has joined #asahi
tobhe has quit [Ping timeout: 480 seconds]
tobhe has joined #asahi
tobhe_ has quit [Ping timeout: 480 seconds]
blazra has quit [Ping timeout: 480 seconds]
Chai-T-Rex has quit [Remote host closed the connection]
Chai-T-Rex has joined #asahi
jamespmorgan has joined #asahi
guillaume_g has quit []
jamespmo_ has quit [Ping timeout: 480 seconds]
weitcis has quit [Quit: Konversation terminated!]
amarioguy2 has joined #asahi
leitao has joined #asahi
LinuxM1 has quit [Quit: Leaving]
tenkuu has joined #asahi
tenkuu has quit []
janrinze has quit [Remote host closed the connection]
tenkuu has joined #asahi
janrinze has joined #asahi
amarioguy2 has quit [Ping timeout: 480 seconds]
amarioguy2 has joined #asahi
bcrumb has joined #asahi
<bcrumb> how can i build an m1n1 binary such as
<bcrumb> without linux access?
<bcrumb> i need those dtbs files for uboot
<bcrumb> so i can boot asahi from my usb
<bcrumb> and fix the boot systemd cycle that is freezing my stuff
<j`ey> i think m1n1 just builds on macOS
<bcrumb> right but that just enters proxy mode for me?
<bcrumb> need to check again but
<bcrumb> last time it did?
dax has quit [Quit: dax]
<j`ey> you need to build with CHAINLOADING=1
<bcrumb> merci beacoup
amarioguy2 has quit [Ping timeout: 480 seconds]
tenkuu has quit [Ping timeout: 480 seconds]
<jannau> you need to append what to chainload from where, https://github.com/AsahiLinux/asahi-installer/blob/main/src/osinstall.py#L147
leitao has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<jannau> you can download m1n1 binaries from the github build action, for example https://github.com/AsahiLinux/m1n1/actions/runs/3468864295 that is the build for 1.1.8
tenkuu has joined #asahi
<bcrumb> jannau: riiight so that is the reason i was getting those errors, i was about to ask, thank u guardian angels
<ChaosPrincess> bcrumb: just grab m1n1 from inside the installer package https://de.mirror.asahilinux.org/installer/installer-v0.5.tar.gz
<ChaosPrincess> its in boot
leitao has joined #asahi
<bcrumb> ChaosPrincess: and yeah that one has uboot concatenated?
<ChaosPrincess> should be
<bcrumb> ok, lets put it to the test
bcrumb has quit [Quit: Page closed]
<jannau> oh, the CHAINLOADING=1 let me think the 1st stage m1n1 is sought after
bcrumb has joined #asahi
<bcrumb> nah, its stage 2 + uboot, i tried the installer downloaded one that one gets stuck on the proxy thing
bcrumb has quit [Remote host closed the connection]
amarioguy2 has joined #asahi
tenkuu has quit [Ping timeout: 480 seconds]
giskard has quit [Read error: Connection reset by peer]
<scardracs> Without the needs to install asahi
giskard has joined #asahi
<janrinze> scardracs: not sure what you mean. I followed the installation procedure from that URL.
<scardracs> Ah. Nevermind then ':)
___nick___ has joined #asahi
<janrinze> Do you mean running from an external disk?
___nick___ has quit []
<janrinze> I don't know what 1TR means
___nick___ has joined #asahi
tenkuu has joined #asahi
<janrinze> can anyone else enlighten me what 1TR stands for?
<jn> "One True Recovery", apple's name for the recovery system
<jn> that limited macos environment that you can boot into
<janrinze> ah. of course. The installation was done from 1TR.
amarioguy2 has quit [Ping timeout: 480 seconds]
bcrumb has joined #asahi
<bcrumb> ok so, i'm having a problem with my rust toolchain
<bcrumb> and either these m1n1 binaries don't work for me, or they don't have uboot concatenated
riker77 has quit [Quit: Quitting IRC - gone for good...]
<bcrumb> can someone just possibly upload their m1n1 stage 2 with uboot somewhere so i can download it?
<bcrumb> it have some partition as a target, it doesn't matter since i just need it to boot from usb
<bcrumb> i should have kept one of those around too but i would not have guessed that systemd would allow a cycle to freeze the system at boot while reporting the issue???
<tpw_rules> you don't need to build with rust to get a m1n1 stage 2
<bcrumb> yes but with uboot concatenated to it already
<bcrumb> for that i do need it
<bcrumb> as much as the program is telling while it errors out
<sven> uh, no
<sven> just build m1n1 without rust and then build uboot
<sven> and then literally use cat to merge them
<bcrumb> i saw that dtb was needed?
<bcrumb> i will try that i guess
<sven> uhhh
<sven> you seem a bit confused
<sven> a moment ago you were talking about rust
<bcrumb> sorry i meant
<bcrumb> device trees
<sven> I know what dtb means
<bcrumb> ok
<j`ey> yes you need m1n1 (no rust needed for stage2) + dtb + uboot
<sven> yeah
<bcrumb> yeah so question is where i can get those from
<sven> they’ll be built together with the Linux kernel
<bcrumb> uboot builds the kernel?
<j`ey> no
<bcrumb> so i also need to build the kernel?
<bcrumb> nah, i will literally just a partition my macos and make a mini asahi install
riker77 has joined #asahi
janrinze has quit [Quit: Leaving.]
janrinze has joined #asahi
<j`ey> you can find the dtbs and uboot binary in the asahi packages, which you can download from https://cdn.asahilinux.org/aarch64/asahi/
<jannau> bredge: you can use the one from the uefi only os image: https://de.mirror.asahilinux.org/os/uefi-only-20221122-4.zip
<bcrumb> yeah, that one is 1.9 MB, that might be it
bcrumb has quit [Quit: Page closed]
leitao has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
da_snowbird has joined #asahi
da_snowbird has quit [Remote host closed the connection]
janrinze has quit [Remote host closed the connection]
systwi_ has quit [Read error: Connection reset by peer]
janrinze has joined #asahi
systwi has joined #asahi
zx2c4 has joined #asahi
<zx2c4> marcan: i wonder if it makes sense to pull https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/1006 into asahi's xserver build
kerneltoast has joined #asahi
amarioguy2 has joined #asahi
<scardracs> zx2c4: you here too? :D
<zx2c4> i pop in time to time
<scardracs> Understand
delsol has quit [Remote host closed the connection]
ten1572 has quit [Remote host closed the connection]
ten1572 has joined #asahi
lewurm`` has joined #asahi
lewurm has quit [Ping timeout: 480 seconds]
bcrumb has joined #asahi
<bcrumb> jannau: thanks, that one works, now i'm lastly wrestling with actually booting from my usb that i've always used
systwi_ has joined #asahi
<bcrumb> when i first installed it worked normally but with this binary, run bootcmd_usb0 actually chainloads grub for my genuine install instead of the usb
<bcrumb> it considers the nvme the device... somehow?
tenkuu_ has joined #asahi
<bcrumb> does anyone know the syntax for usbboot loadAddr and if I could use that for EFI booting?
<bcrumb> i tried the devnum and the type guid and uuid
<bcrumb> are the uuids quoted by any chance?
<jannau> does bootcmd_nvme0 work?
<bcrumb> for usb?
<bcrumb> as in if usb0 is nvme0 is nvme usb?
<bcrumb> i can test it
<jannau> no, I misunderstood
<bcrumb> yeah its run bootcmd_usb0 chainloading grub which wants to boot this thing
<bcrumb> i suppose i will pray around from the grub side... if this doesn't work from uboot
<bcrumb> *play
<bcrumb> but pray is ok
bcrumb has quit [Quit: Page closed]
systwi has quit [Ping timeout: 480 seconds]
lewurm`` has quit [Ping timeout: 480 seconds]
lewurm has joined #asahi
tenkuu has quit [Ping timeout: 480 seconds]
bcrumb has joined #asahi
<bcrumb> grub only sees hd0 hd0,gpt1 hd0,gpt2
<bcrumb> i suppose that might be it
<bcrumb> actually
___nick___ has quit [Ping timeout: 480 seconds]
bcrumb has quit []
<mps_> zx2c4: ahm, does this fix works with asahi gpu
<mps_> (anyway now I have to rebuild xorg)
leitao has joined #asahi
lewurm has quit [Ping timeout: 480 seconds]
amarioguy2 has quit [Ping timeout: 480 seconds]
lewurm has joined #asahi
<Puto> question: asahi still doesn’t have support for displayport over usb-c, right?
leitao has quit [Ping timeout: 480 seconds]
<jannau> mps_: lina was testing an earlier version of that change
amarioguy2 has joined #asahi
bcrumb has joined #asahi
chengsun has joined #asahi
<bcrumb> nah this is hopeless, it cant boot my liveusb for some reason
<mps_> jannau: ah, thanks. I just build xorg with patch, will test it soon
<bcrumb> i'll probably need to make a new minimal install in the rest of my mac os space and handle stuff from there
<bcrumb> i think that is easiest, i guess
bcrumb has quit [Remote host closed the connection]
lewurm has quit [Read error: Connection reset by peer]
leitao has joined #asahi
lewurm has joined #asahi
tenkuu has joined #asahi
tenkuu_ has quit [Ping timeout: 480 seconds]
tenkuu has quit [Quit: WeeChat 3.7.1]
jamespmo_ has joined #asahi
leitao has quit [Ping timeout: 480 seconds]
tenkuu has joined #asahi
jamespmorgan has quit [Ping timeout: 480 seconds]
chengsun_ has joined #asahi
chengsun has quit [Ping timeout: 480 seconds]
systwi has joined #asahi
systwi_ has quit [Ping timeout: 480 seconds]
nicolas17 has joined #asahi
chengsun_ has quit [Ping timeout: 480 seconds]
amarioguy2 has quit [Ping timeout: 480 seconds]
systwi_ has joined #asahi
systwi__ has joined #asahi
systwi has quit [Ping timeout: 480 seconds]
systwi_ has quit [Ping timeout: 480 seconds]
Dcow has quit [Remote host closed the connection]
Dcow has joined #asahi
user982492 has joined #asahi
Dcow has quit [Ping timeout: 480 seconds]
SSJ_GZ has quit [Ping timeout: 480 seconds]
bluetail1 has joined #asahi
bluetail has quit [Ping timeout: 480 seconds]
mps_ has quit [Remote host closed the connection]
mps has joined #asahi