#asahi-alt · 2024-01-09 20:55
mpschadmed: yes, I do this from chroot#asahi-alt · 2024-01-09 15:46
mpswhatever 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#asahi-alt · 2024-01-09 15:17
mpschadmed: sorry to bother you again, '--boot-directory=/boot' or '--boot-directory=/boot/grub'? grub is installed in /boot/grub on root partition#asahi-alt · 2024-01-09 12:37
mpswhile I'm preparing and building new alpine files#asahi-alt · 2024-01-09 12:36
mpsok, lets upgrade#asahi-alt · 2024-01-09 12:35
mpsgood then, thanks#asahi-alt · 2024-01-09 12:35
mpsah, so stub is not taken from installed macos?#asahi-alt · 2024-01-09 12:34
mpsj`ey: even if I do clean install?#asahi-alt · 2024-01-09 12:34
mpson new install stub is also new, i.e. will be 14.2.1?#asahi-alt · 2024-01-09 11:57
mpswould it work with asahi#asahi-alt · 2024-01-09 11:55
mpsmacos 14.2.1 is offered right now for upgrade#asahi-alt · 2024-01-09 11:43
mps'use source, Luke' :)#asahi-alt · 2024-01-09 11:43
mpsheh, right#asahi-alt · 2024-01-09 11:42
mpsI had to guess from fedora and debian ones#asahi-alt · 2024-01-09 11:42
mpsis there guide for tags in installer_data.json#asahi-alt · 2024-01-09 11:41
mpschadmed: yes, dd preserves uuid#asahi-alt · 2024-01-09 11:37
mpsthanks*#asahi-alt · 2024-01-09 11:37
mpsthank for hint#asahi-alt · 2024-01-09 11:37
mpsinteresting, will try#asahi-alt · 2024-01-09 11:36
mpschadmed: forgot to mention /boot/grub is not on ESP but on root partition in alpine case#asahi-alt · 2024-01-09 11:35
mpsisn't --boot-directory default to /boot#asahi-alt · 2024-01-09 11:34
mpschadmed: on different partition?#asahi-alt · 2024-01-09 11:33
mpswell, ESP created with parted and mkfs.vfat#asahi-alt · 2024-01-09 11:32
mpschadmed: `grub-install --target=arm64-efi --efi-directory=/boot/efi --removable`#asahi-alt · 2024-01-09 11:30
mpsI 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#asahi-alt · 2024-01-09 11:28
mpsprepared root.img which is then installed on linux root partition with installer 'keeps' UUID, this is not problem#asahi-alt · 2024-01-09 11:26
mpsjanneg: 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)#asahi-alt · 2024-01-09 10:41
mpsin new installation root partition will be usually 5 so we can prepare EFI/BOOT/BOOTAA64.EFI with this number embeded#asahi-alt · 2024-01-09 10:31
mpsalso with extlinux.conf we will have to keep vmlinuz, initramfs and dtbs on ESP#asahi-alt · 2024-01-09 10:29
mpsanyway, good thing (news) that we are nearly 'there'#asahi-alt · 2024-01-09 10:28
mpsalso maybe we could ask Dermot Bradley (alpine dev) because he have good understanding of grub#asahi-alt · 2024-01-09 10:27
mpswe can try again with extlinux.conf but then we will be different from all other distros#asahi-alt · 2024-01-09 10:25
mpsand also to boot alpine#asahi-alt · 2024-01-09 10:25
mpsand iirc j`ey also used it for long#asahi-alt · 2024-01-09 10:25
mpsright, that is how I used M1 in beggining, with extlinux.conf#asahi-alt · 2024-01-09 10:24
mpsbut end users like grub#asahi-alt · 2024-01-09 10:24
mpsncopa: good question#asahi-alt · 2024-01-09 09:47
mpsand I don't have idea how to do this with installer, if possible at all#asahi-alt · 2024-01-09 09:45
mpsI've got alpine installed with installer but problem which didn't solved is how to embed proper root partition in EFI/BOOT/BOOTAA64.EFI#asahi-alt · 2024-01-08 22:11
mpsthere are many distros on the net#asahi-alt · 2024-01-08 22:10
mpsthis is ok imo#asahi-alt · 2024-01-08 21:25
mpsbut I'm ok for now, learned what have to fix#asahi-alt · 2024-01-08 21:25
mpsand wrong gpt partition number in BOOTAA64.EFI#asahi-alt · 2024-01-08 21:24
mpsohm, rootfs is wrong root FS 'nvme0n1p5 bad block size 1024'#asahi-alt · 2024-01-08 21:10
mpshm, got 'grub rescue' prompt#asahi-alt · 2024-01-08 21:00
mpsah, got step2.sh#asahi-alt · 2024-01-08 20:55
mpstpw_rules: no, I'm building it locally for alpine#asahi-alt · 2024-01-08 20:50
mpsthanks, lets try#asahi-alt · 2024-01-08 20:49
mpsI mean m1n1.bin for stub partition