#
…

2024-01-09

00:19possiblemeatball1 has joined #asahi-alt
00:19possiblemeatball has quit [Write error: connection closed]
00:35RoundDuckKira has joined #asahi-alt
00:35RoundDuckKira has quit []
00:36RoundDuckKira has joined #asahi-alt
00:37lactose has quit [Ping timeout: 480 seconds]
00:38kdb424 has quit [Quit: The Lounge - https://thelounge.chat]
00:39kdb424 has joined #asahi-alt
00:41lactose has joined #asahi-alt
00:51lactose has quit [Quit: Konversation terminated!]
00:51lactose has joined #asahi-alt
00:51RoundDuckKira has quit [Quit: Leaving]
00:51RoundDuckKira has joined #asahi-alt
00:53RoundDuckKiralactose how is the slackware project going
00:56JayBeeFOSS has quit [Ping timeout: 480 seconds]
00:58lactoseRoundDuckKira: It's going well! I'm currently writing a slack-desc for U-Boot
00:58lactoseI'm also going to update my SlackBuild for m1n1 to include my custom logo
00:59RoundDuckKira has quit [Quit: Leaving]
01:01RoundDuckKira has joined #asahi-alt
01:06JayBeeFOSS has joined #asahi-alt
01:19RoundDuckKira has quit [Quit: Leaving]
02:00RoundDuckKira has joined #asahi-alt
02:27kidplayer666 has quit [Quit: Connection closed for inactivity]
02:37RoundDuckKira has quit [Remote host closed the connection]
03:16lactose has quit [Ping timeout: 480 seconds]
03:46maria has quit [Ping timeout: 480 seconds]
03:54maria has joined #asahi-alt
04:42possiblemeatball has joined #asahi-alt
04:42possiblemeatball1 has quit [Remote host closed the connection]
04:51maria has quit [Ping timeout: 480 seconds]
04:58maria has joined #asahi-alt
05:06maria has quit [Ping timeout: 480 seconds]
05:09maria has joined #asahi-alt
05:57john-cabaj has quit [Ping timeout: 480 seconds]
06:29r0ni has quit [Quit: Textual IRC Client: www.textualapp.com]
07:00possiblemeatball has quit [Remote host closed the connection]
07:06possiblemeatball has joined #asahi-alt
07:11possiblemeatball has quit []
07:14kidplayer666 has joined #asahi-alt
07:20possiblemeatball has joined #asahi-alt
07:25possiblemeatball has quit [Remote host closed the connection]
09:45mpsI've got alpine installed with installer but problem which didn't solved is how to embed proper root partition in EFI/BOOT/BOOTAA64.EFI
09:47mpsand I don't have idea how to do this with installer, if possible at all
10:23ncopaDo we even need grub when we have u-boot?
10:24mpsncopa: good question
10:24mpsbut end users like grub
10:24ncopaI mean u-boot is able to load kernel specified in extlinux.conf?
10:25mpsright, that is how I used M1 in beggining, with extlinux.conf
10:25mpsand iirc j`ey also used it for long
10:25mpsand also to boot alpine
10:25ncopaonly reason for grub is if you have your kernel and initramfs on lvm or zfs or similar
10:27mpswe can try again with extlinux.conf but then we will be different from all other distros
10:28mpsalso maybe we could ask Dermot Bradley (alpine dev) because he have good understanding of grub
10:29mpsanyway, good thing (news) that we are nearly 'there'
10:31mpsalso with extlinux.conf we will have to keep vmlinuz, initramfs and dtbs on ESP
10:41mpsin new installation root partition will be usually 5 so we can prepare EFI/BOOT/BOOTAA64.EFI with this number embeded
10:43j`eymps: I tried to understand that, but didnt, I asked on the fedora channel to see if someone knows
10:51jannegit uses root=UUID=...
10:53ncopaI don’t know if I completely misunderstand, but why does grub need root partition?
10:54ncopaI thought grub only needs partition with kernel and initramfs, eg boot partition
10:55j`eyjanneg: if that root is 'randomised' (or generated) how does that actually get into the image? (for multiple installs)
11:08jannegit's updated after 1st boot randomization and I think it's a random (at image generation time) UUID to begin with
11:26mpsjanneg: BOOTAA64.EFI 'must' have embeded partition on which it will search for grub (but I'm sure you know this, so maybe I was not clear with my question)
11:28mpsprepared root.img which is then installed on linux root partition with installer 'keeps' UUID, this is not problem
11:30mpsI could prepare few BOOTAA64.EFI files with different gpt partition numbers and tell users to copy proper one to ESP from macos. Ugly solution but I don't have better idea for now
11:31chadmedhow are you creating the ESP?
11:32mpschadmed: `grub-install --target=arm64-efi --efi-directory=/boot/efi --removable`
11:33mpswell, ESP created with parted and mkfs.vfat
11:33chadmedpass --boot-directory to grub-install too
11:33chadmedand point it to /boot on your image
11:34mpschadmed: on different partition?
11:35mpsisn't --boot-directory default to /boot
11:36mpschadmed: forgot to mention /boot/grub is not on ESP but on root partition in alpine case
11:36chadmeddunno but that should basically be all you need to get BOOTAA64.efi to loog for grubaa64.efi in the correct place
11:36chadmedyeah exactly
11:36chadmedthats literally all you need to do
11:36chadmedwhen your rootfs image is dded into the free space the uuid will go with it
11:37mpsinteresting, will try
11:37chadmedso your bootaa64.efi image will find it
11:37mpsthank for hint
11:37mpsthanks*
11:41mpschadmed: yes, dd preserves uuid
11:42mpsis there guide for tags in installer_data.json
11:42mpsI had to guess from fedora and debian ones
11:43chadmedi dont think any part of the installer is documented right now lmfao :p
11:43mpsheh, right
11:43chadmedwhen i and/or leio have a crack at a gentoo image i will probably document some stuff
11:43chadmedor at least write a guide
11:43mps'use source, Luke' :)
11:47leioI've built such an image already, yeah, but need to add all the dracut and other fun and automate it
11:47leiowe ought to aim putting this out to official builders, just like weekly stage3's
11:48leiobut now work is picking back up again, so I'm struggling catching up with the other stuff I wanted to do and then the existing nvram ::gentoo PRs even :(
11:54chadmedmy plan is to use catalyst to build an asahi stage3 and then basically follow what builder.sh does
11:55mpsmacos 14.2.1 is offered right now for upgrade
11:57mpswould it work with asahi
12:31cy8aerI am running 14.2.1 - and the asahi stub is - and stays 13.5
12:34mpson new install stub is also new, i.e. will be 14.2.1?
12:34j`eyno, the stub stays at a particular version
12:34mpsj`ey: even if I do clean install?
12:34j`ey(because some firmware interfaces can change between versions)
12:35mpsah, so stub is not taken from installed macos?
12:35mpsgood then, thanks
12:36j`eysome firmware, NVMe, SMC, is global, and that shoudl stay backwareds compatible
12:36mpsok, lets upgrade
12:37mpswhile I'm preparing and building new alpine files
12:45r0ni has joined #asahi-alt
13:27casycas has quit [Quit: Leaving]
14:22u154ss has joined #asahi-alt
14:25john-cabaj has joined #asahi-alt
14:34u154ss has quit [Quit: Page closed]
15:17mpschadmed: sorry to bother you again, '--boot-directory=/boot' or '--boot-directory=/boot/grub'? grub is installed in /boot/grub on root partition
15:43lactose has joined #asahi-alt
15:46mpswhatever I try grub embeds '(,gpt6)/boot/grub' in BOOTAA64.EFI, and this is root partition on system where I'm trying to fix this in chroot
15:53lactose_ has joined #asahi-alt
15:57lactose_ has quit []
16:54kidplayer666 has quit [Quit: Connection closed for inactivity]
17:04kidplayer666 has joined #asahi-alt
17:05possiblemeatball has joined #asahi-alt
17:07hightower2 has joined #asahi-alt
17:14possiblemeatball has quit [Quit: Quit]
17:15possiblemeatball has joined #asahi-alt
17:48lactose has quit [Read error: Connection reset by peer]
18:04possiblemeatball has quit [Remote host closed the connection]
18:05lactose has joined #asahi-alt
18:05lactose has quit [Read error: Connection reset by peer]
18:05possiblemeatball has joined #asahi-alt
18:29lactose has joined #asahi-alt
18:32lactose has quit []
19:08john-cabaj has quit [Quit: john-cabaj]
19:08john-cabaj has joined #asahi-alt
20:40eiln has joined #asahi-alt
20:53chadmedmps: its just /boot. maybe see what builder.sh does if youre trying to do it from a chroot
20:55mpschadmed: yes, I do this from chroot
20:56mpsbut it didn't helped
20:57chadmedlook at builder.sh
20:58mpschadmed: sorry, where is builder.sh
21:00chadmedAsahiLinux/asahi-alarm-builder
21:01mpsbuild.sh?
21:02chadmedyeah thats it
21:02mpsthank you
22:54opticron has quit [Ping timeout: 480 seconds]
…