!oNSIfazDqEcwhcOjSL:matrix.org

disko

401 Members
disko - declarative disk partitioning - https://github.com/nix-community/disko108 Servers

You have reached the beginning of time (for this room).


SenderMessageTime
28 Jun 2024
@magic_rb:matrix.redalder.orgmagic_rb
In reply to @annaaurora:artemislena.eu
you're running nixos on you ereader?
Yeah im trying
13:52:12
30 Jun 2024
@dustee:matrix.orgdustee joined the room.09:03:26
@dustee:matrix.orgdustee hi im having trouble creating diskoImages for aarch64-linux, the process always hangs at EFI stub: Exiting boot services... 09:04:19
@dustee:matrix.orgdusteei tried a bunch of different configurations and for aarch64 it always stops at that step09:05:41
@dustee:matrix.orgdusteebut for x86_64-linux, it goes through and creates the image successfully09:06:17
@dustee:matrix.orgdusteeRedacted or Malformed Event09:08:47
@dustee:matrix.orgdustee *

then since i couldnt create the diskoImage, i built and booted sd-image-aarch64-installer then tried nixos-anywhere to build the proper system but even that has problems and cant create the partitions

#......
Creating new GPT entries in memory.
Warning: The kernel is still using the old partition table.
The new table will be used at the next reboot or after you
run partprobe(8) or kpartx(8)
The operation has completed successfully.
+ sgdisk --align-end --new=1:0:+30M --change-name=1:disk-disk1-firmware --typecode=1:0700 /dev/mmcblk0
Warning: The kernel is still using the old partition table.
The new table will be used at the next reboot or after you
run partprobe(8) or kpartx(8)
The operation has completed successfully.
+ partprobe /dev/mmcblk0
Error: Partition(s) 2 on /dev/mmcblk0 have been written, but we have been unable to inform the kernel of the change, probably because it/they are in use.  As a result, the old partition(s) will remain in use.  You should reboot now before making further changes.
# it repeats partprobe three times then stops at
mkfs.vfat: unable to open /dev/disk/by-partlabel/disk-disk1-boot: No such file or directory
09:10:15
@magic_rb:matrix.redalder.orgmagic_rb
In reply to @joerg:thalheim.io
I would say it's a bit about expectation management, we won't implement new features for these old stuff and we added the warning to get most people to migrate. But realistically there are enough systems with it still out there that we won't remove it any time soon.
Aah, okay that works for me. Realistically i could just partition it manually, ive partitioned it once and probably never will again :) i appreciate the clarification
09:17:13
@dustee:matrix.orgdustee *

then since i couldnt create the diskoImage, i built and booted sd-image-aarch64-installer then tried nixos-anywhere to build the proper system but even that has problems and cant create the partitions (im guessing i cant install to the same sdcard that im booting from, so i gotta make diskoImages work)

#......
Creating new GPT entries in memory.
Warning: The kernel is still using the old partition table.
The new table will be used at the next reboot or after you
run partprobe(8) or kpartx(8)
The operation has completed successfully.
+ sgdisk --align-end --new=1:0:+30M --change-name=1:disk-disk1-firmware --typecode=1:0700 /dev/mmcblk0
Warning: The kernel is still using the old partition table.
The new table will be used at the next reboot or after you
run partprobe(8) or kpartx(8)
The operation has completed successfully.
+ partprobe /dev/mmcblk0
Error: Partition(s) 2 on /dev/mmcblk0 have been written, but we have been unable to inform the kernel of the change, probably because it/they are in use.  As a result, the old partition(s) will remain in use.  You should reboot now before making further changes.
# it repeats partprobe three times then stops at
mkfs.vfat: unable to open /dev/disk/by-partlabel/disk-disk1-boot: No such file or directory
09:51:42

Show newer messages


Back to Room ListRoom Version: 10