#
#asahi-alt · 2024-01-09 11:43
chadmedor at least write a guide
#asahi-alt · 2024-01-09 11:43
chadmedwhen i and/or leio have a crack at a gentoo image i will probably document some stuff
#asahi-alt · 2024-01-09 11:43
mpsheh, right
#asahi-alt · 2024-01-09 11:43
chadmedi dont think any part of the installer is documented right now lmfao :p
#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
chadmedso your bootaa64.efi image will find it
#asahi-alt · 2024-01-09 11:37
mpsinteresting, will try
#asahi-alt · 2024-01-09 11:36
chadmedwhen your rootfs image is dded into the free space the uuid will go with it
#asahi-alt · 2024-01-09 11:36
chadmedthats literally all you need to do
#asahi-alt · 2024-01-09 11:36
chadmedyeah exactly
#asahi-alt · 2024-01-09 11:36
chadmeddunno but that should basically be all you need to get BOOTAA64.efi to loog for grubaa64.efi in the correct place
#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
chadmedand point it to /boot on your image
#asahi-alt · 2024-01-09 11:33
chadmedpass --boot-directory to grub-install too
#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:31
chadmedhow are you creating the ESP?
#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 11:08
jannegit's updated after 1st boot randomization and I think it's a random (at image generation time) UUID to begin with
#asahi-alt · 2024-01-09 10:55
j`eyjanneg: if that root is 'randomised' (or generated) how does that actually get into the image? (for multiple installs)
#asahi-alt · 2024-01-09 10:54
ncopaI thought grub only needs partition with kernel and initramfs, eg boot partition
#asahi-alt · 2024-01-09 10:53
ncopaI don’t know if I completely misunderstand, but why does grub need root partition?
#asahi-alt · 2024-01-09 10:51
jannegit uses root=UUID=...
#asahi-alt · 2024-01-09 10:43
j`eymps: I tried to understand that, but didnt, I asked on the fedora channel to see if someone knows
#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
ncopaonly reason for grub is if you have your kernel and initramfs on lvm or zfs or similar
#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
ncopaI mean u-boot is able to load kernel specified in 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 10:23
ncopaDo we even need grub when we have u-boot?
#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-09 00:59
RoundDuckKiraooooh
#asahi-alt · 2024-01-09 00:58
lactoseI'm also going to update my SlackBuild for m1n1 to include my custom logo
#asahi-alt · 2024-01-09 00:58
lactoseRoundDuckKira: It's going well! I'm currently writing a slack-desc for U-Boot

plus ›