!oNSIfazDqEcwhcOjSL:matrix.org

disko

367 Members
disko - declarative disk partitioning - https://github.com/nix-community/disko93 Servers

Load older messages


SenderMessageTime
13 Feb 2024
@maralorn:maralorn.demaralornWell, in my old disko files which I used the last time to mount my disk.22:43:21
@maralorn:maralorn.demaralorn * Well, in my old disko files which I used the last time to format my disk.22:43:39
@maralorn:maralorn.demaralornI have learned by now that things work differently now.22:43:52
@maralorn:maralorn.demaralornIt’s kinda unclear to me why that didn’t break when disko changed the options.22:44:38
@maralorn:maralorn.demaralornOh, wait.22:45:05
@maralorn:maralorn.demaralornTHere is type = "table" and type = "gpt"22:45:19
@maralorn:maralorn.demaralornTHat’s my confusion.22:45:26
14 Feb 2024
@lassulus:lassul.uslassulusAh yeah the table type was a mistake and people probably shouldn't use that anymore. I still have to add a warning to it if people still use it01:46:31
@5m5z3q888q5prxkg:chat.lightnovel-dungeon.de@5m5z3q888q5prxkg:chat.lightnovel-dungeon.de changed their profile picture.19:41:33
15 Feb 2024
@common0r:matrix.orgcomm0n(they/them) set a profile picture.17:59:01
16 Feb 2024
@lord-valen:matrix.orglord-valen joined the room.18:59:29
@palo:terranix.orgpalo

Hmm, this worked a while ago, and it's used in the examples?

20:30:22
@palo:terranix.orgpalo *

Hmm, this worked a while ago, and it's used in the examples?

error: The option `disko.devices.disk.sda.content.partitions."[definition 1-entry 2]".size' does not exist.
20:30:57
@palo:terranix.orgpalohttps://git.ingolf-wagner.de/palo/nixos-config/src/branch/main/nixos/machines/orbi/disko-config.nix#L42 < that's the line that is wrong.20:32:13
@palo:terranix.orgpalo

Hmm in the examples partitions is a attrs but When I do that. I get :

 A definition for option `disko.devices.disk.sda.content.partitions' is not of type `list of (submodule)'.
20:46:01
@palo:terranix.orgpalo Ok replacing size with end worked. 20:54:56
17 Feb 2024
@matthewcroughan:defenestrate.itmatthewcroughan lassulus: To explain the problem I found with hybrid, and why legacy is worth supporting, doing hybrid causes small issues with u-boot 04:53:23
@matthewcroughan:defenestrate.itmatthewcroughanspecifically, if you have a hybrid data structure, it loads u-boot in GPT mode04:53:37
@matthewcroughan:defenestrate.itmatthewcroughanin GPT mode, the MBR partitions cannot be seen04:53:44
@lassulus:lassul.uslassulusthat sounds like the intended use?04:53:58
@matthewcroughan:defenestrate.itmatthewcroughanSort of a problem with U-Boot, and it can be worked around, but it's such a PITA04:54:03
@lassulus:lassul.uslassuluswhats the issue with that?04:54:04
@matthewcroughan:defenestrate.itmatthewcroughanI suppose nothing if you know the solution, it's discovering the solution that is why it's worth supporting legacy04:54:19
@matthewcroughan:defenestrate.itmatthewcroughanbut yeah, if we can be a leading example of the solutions, then that works best04:54:49
@matthewcroughan:defenestrate.itmatthewcroughanOkay.. other things.. How about we try to make the image builder use binfmt inside the VM, so that we can build disk images for arm64 on an x86 host successfully? :D04:55:19
@lassulus:lassul.uslassulusbut hybrid gpt/mbr is only useful if you bootloader doesn't support gpt. and there is a fallback to mbr. but if uboot supports efi than it doesn't need to care for the mbr stuff?04:55:56
@lassulus:lassul.uslassuluswe should debug first where all the memory is eaten up :P04:56:16
@matthewcroughan:defenestrate.itmatthewcroughanlol, zram also "fixes" that :D04:56:29
@lassulus:lassul.uslassuluspff04:56:34
@matthewcroughan:defenestrate.itmatthewcroughanit works, undeniably04:56:41

Show newer messages


Back to Room ListRoom Version: 10