ChanServ changed the topic of #asahi-alt to: Asahi Linux: porting Linux to Apple Silicon macs | User-contributed/unofficial distribution ports | Logs: https://alx.sh/l/asahi-alt
<u154ss>
@all Could someone please share what they have in their /etc/portage/package.use/* directories to get a Gentoo running on an Asaho box?
<u154ss>
Asaho = Asahi.
cy8aer has quit [Ping timeout: 480 seconds]
<chadmed>
u154ss: it is entirely dependent on what software you are trying to install. literally just put in it whatever portage tells you if youre getting "stuck" on certain use flags
<u154ss>
@Chadmed thanks. Also your install.sh running from asahi-gentoosupport from the Livecd is testing for efi/vendorfw, when vendorfw does not exist, the script fails. I have to manually create the directory myself.
<chadmed>
vendorfw should always exist on the ESP
<chadmed>
ohhh u154ss are you doing a completely fresh install from a "m1n1 and u-boot only" install
<u154ss>
@chadmed I am using the USB stick to boot your .ISO from a USB-C hub on an M2 Mini that already has Debian installed on it. I have appx 100GB for the Gentoo root, efi and boot partitions reserved.
<chadmed>
you cant manually create an ESP you have to use the asahi installer to do it
<chadmed>
or reuse the one from your debian install
<u154ss>
@chadmed confused now... In other words, I let the install.sh located in asahi-gentoosupport create the ESP for me?
<chadmed>
no...
<chadmed>
you need to use the curl | sh asahi installer from macos to "prepare" an environment for it
<chadmed>
it will install m1n1+u-boot into a new ESP and give you a new APFS stub that you can call "gentoo" or something
<chadmed>
then from _that_ ESP you boot the livecd
<u154ss>
@chadmed, for clarity, this is my current partition/filesystem setup as seen from Debian - https://paste.debian.net/1321885/
<u154ss>
@chadmed in other words, I need to back into macos, run curl https://alx.sh | sh and create a new ESP??
<u154ss>
@do I need to run //alx.sh in "expert" mode?
u154ss has quit [Remote host closed the connection]
u154ss has joined #asahi-alt
chaos_princess has quit [Quit: chaos_princess]
chaos_princess has joined #asahi-alt
<chadmed>
u154ss: yeah. youll need to delete all the partitions you made for gentoo and select the "install into free space" option, then select the m1n1/uboot/efi only option
runxiyu has quit [Remote host closed the connection]
runxiyu- has quit []
runxiyu has joined #asahi-alt
<u154ss>
@chadmed just did so..
<chadmed>
great
runxiyu_ has joined #asahi-alt
<mps>
two EFI partition still not supported? Last night someone asked me privately is it possible to have fedora and alpine installed and select which one to boot
<u154ss>
@chadmed et all please see https://paste.debian.net/1321904/ What am I missing still? I have ran install.sh from asahi-gentoosupport, which ran cleanly. Still no grub and/or kernel. Can someone please enlighten me? Also mount point /boot/efi seems to have been deleted..
<chaos_princess>
you have removed the 'kernel' use flag from asahi-meta, if you want a kernel, put it back, or emerge asahi-sources
<chaos_princess>
and if you want to get grub, you have to do it by hand, refer to the handbook on how to do it
<chadmed>
u154ss: install.sh could not have possibly exited cleanly since the kernel was not built and grub not installed
<u154ss>
@chaos_princess Thanks. Like so - sys-apps/asahi-kernel
<chadmed>
look at the original file in the repo
<chadmed>
why did you even change it
<u154ss>
Scratches head.. Should I rerun install.sh again?
<chadmed>
probably
<chaos_princess>
chadmed: /shrug i sorta assumed that it did the thing, and handbook usually has people install the kernel sources manually
<chaos_princess>
and, like, no offense, but i think that gentoo needs a "you need to be this tall to ride" sign. especially since it is a weird platform with rather fragmented docs right now.
<chadmed>
i agree, hence why i didnt provide any documentation beyond "use the handbook and figure out where install.sh slots in"
<u154ss>
Again, I installed Gentoo without problems on an Intel box about twenty years ago, hence my memory is rusty, also the apple silicon specifics. Thus the somewhat half-obtuse questions...
<chaos_princess>
My issue is that there seems to be a failure to read the emerge output. It has repeatedly tried to automatically change the use flags and when it does that, it tells you that you need to run etc-update to accept the changes. It appears that that was not done.
<chadmed>
so we're back to square one and chaos_princess's point that you dont seem to even be reading the output of emerge. the output is extremely clear - you need to put "dev-lang/rust-bin rustfmt rust-src" in a file in /etc/portage/package.use/