#
✕ nick:Glanzmann
#asahi · 2021-12-11 20:26
GlanzmannHas marcan already agreed on a method to pass the wifi firmware from macos to Linux? Because we could already dd a ext4 on the linux parition, would make installation less cumbersome and would not require a second system.
#asahi · 2021-12-11 20:25
Glanzmannkettenis: I see.
#asahi · 2021-12-11 20:10
Glanzmannzimsneexh: I'll install Linux on my macbook air later tonight and will work for a few days with it. Let you know how it goes for me.
#asahi · 2021-12-11 20:09
Glanzmannkettenis: Is there a howto for using uboot in order to load m1n1 and kernel?
#asahi · 2021-12-11 20:08
GlanzmannI see.
#asahi · 2021-12-11 20:07
Glanzmannjannau: When you watch youtube videos, do you have tiering? I was able to watch videos with xorg, wayland but have always tiering.
#asahi · 2021-12-11 20:01
Glanzmannhttps://ab34.de/u/t8103-j293.dtb
#asahi · 2021-12-11 20:00
GlanzmannNightRaven[m]: https://ab34.de/u/Image.gz
#asahi · 2021-12-11 19:59
GlanzmannNightRaven[m]: Maybe I will build you a kernel using the latest thing from jannau. Give me one second.
#asahi · 2021-12-11 19:58
GlanzmannNightRaven[m]: This picture could mean, that you have booted the kernel but do not have framebuffer in the kernel config.
#asahi · 2021-12-11 19:56
Glanzmannj`ey: Thanks for spotting.
#asahi · 2021-12-11 19:48
GlanzmannThan you did something wrong. Maybe you m1n1.macho was the thing that you build before or so.
#asahi · 2021-12-11 19:47
GlanzmannCopy nr.macho to 1tr and run: kmutil configure-boot -c nr.macho -C -v /Volumes/Linux
#asahi · 2021-12-11 19:47
GlanzmannYou need to run: cat m1n1.macho <(echo 'net.ifnames=0 rw root=/dev/sda rootwait rootfstype=ext4') Image.gz model.dtb > nr.macho
#asahi · 2021-12-11 19:41
GlanzmannDo that and report back
#asahi · 2021-12-11 19:40
GlanzmannI bought this one: https://www.amazon.de/-/en/gp/product/B0871ZL9TG/ref=ppx_yo_dt_b_search_asin_title?ie=UTF8&psc=1 works like a charm.
#asahi · 2021-12-11 19:39
GlanzmannYes, one second.
#asahi · 2021-12-11 19:39
GlanzmannBuy one with a wifi card and 3 usb a ports.
#asahi · 2021-12-11 19:38
GlanzmannBuy one.
#asahi · 2021-12-11 19:38
GlanzmannThan, since you're on a laptop you also need to do the wifi firmware dance, or us a usb network adapter. for the start use a usb network adapter.
#asahi · 2021-12-11 19:37
GlanzmannYou just need to create the partition, format it with ext4, copy the content over without screwing up the permissions and change the kernel command line again.
#asahi · 2021-12-11 19:37
GlanzmannOnce you managed to boot from the usb stick you're mostly done.
#asahi · 2021-12-11 19:36
Glanzmanndo that.
#asahi · 2021-12-11 19:35
GlanzmannNightRaven[m]: You should do that as well while you're in macos so that once you managed to boot from the the usb stick that you can copy the files over.
#asahi · 2021-12-11 19:34
GlanzmannNightRaven[m]: I'll probably record all the steps from scratch in a video and talk a little bit while I'm doing it so that it is easier for others to follow the steps.
#asahi · 2021-12-11 19:34
GlanzmannHave you created a dos partition on macos which you can later use to put linux on?
#asahi · 2021-12-11 19:33
GlanzmannAgain you need to boot to 1tr.
#asahi · 2021-12-11 19:33
GlanzmannNightRaven[m]: Than you're done. You have installed Linux. However. If you want to boot linux without the usb stick.
#asahi · 2021-12-11 19:32
GlanzmannNightRaven[m]: The /Volumes/Linux or however you called it is just a stub partition that is necessary to kick off the bootloader (m1n1 which than loads the kernel, sets the kernel command line and boots).
#asahi · 2021-12-11 19:32
GlanzmannYou need to transfer the nr.macho somehow maybe using a webserver.
#asahi · 2021-12-11 19:31
GlanzmannThan you have to boot in 1tr (one true recovery) on your macbook and run: kmutil configure-boot -c nr.macho -C -v /Volumes/Linux
#asahi · 2021-12-11 19:30
GlanzmannThat is the right syntax. m1n1.macho is the m1n1, Image.gz is the kernel model.dtb is the dtb for your notebook.
#asahi · 2021-12-11 19:30
Glanzmanncat m1n1.macho <(echo 'net.ifnames=0 rw root=/dev/sda rootwait rootfstype=ext4') Image.gz model.dtb > nr.macho
#asahi · 2021-12-11 19:28
GlanzmannI wrote it yo yesterday. Give me one second I search it again.
#asahi · 2021-12-11 19:28
GlanzmannNo, it is not.
#asahi · 2021-12-11 19:27
GlanzmannOkay than we need the right syntax.
#asahi · 2021-12-11 19:27
GlanzmannPerfect.
#asahi · 2021-12-11 19:27
GlanzmannForget about the chroot for now.
#asahi · 2021-12-11 19:24
GlanzmannNope, the syntax is different.
#asahi · 2021-12-11 19:23
GlanzmannNightRaven[m]: You did not put a partition table on the usb stick, right? And you did a tar -xf of the rootfs on the usb stick and you can see the usual directories like etc lib usr etc on the usb stick?
#asahi · 2021-12-11 19:21
GlanzmannOkay good. Now you have to build another one and specify as kernel command line: net.ifnames=0 rw root=/dev/sda rootwait rootfstype=ext4
#asahi · 2021-12-11 19:19
GlanzmannNightRaven[m]: Have you managed to install m1n1 on the mac?
#asahi · 2021-12-11 19:18
GlanzmannNightRaven[m]: forget about /Volumes/Linux that is not a thing.
#asahi · 2021-12-11 19:13
Glanzmannhave you managed to boot a Linux kernel with the usb stick as root?
#asahi · 2021-12-11 19:13
GlanzmannPerfect.
#asahi · 2021-12-11 19:13
GlanzmannSo you created an ext4 fs on a usb stick and extracted the rootfs?
#asahi · 2021-12-11 19:12
GlanzmannBut in order to prepare the usb stick you have to do the following from a __linux__ machine:
#asahi · 2021-12-11 19:12
GlanzmannNightRaven[m]: I thought about making a video showing all the steps.
#asahi · 2021-12-11 19:11
GlanzmannWe want Linux to boot from usb.
#asahi · 2021-12-11 19:11
GlanzmannNope.

plus ›