!oNSIfazDqEcwhcOjSL:matrix.org

disko

354 Members
disko - declarative disk partitioning - https://github.com/nix-community/disko89 Servers

Load older messages


SenderMessageTime
8 Jul 2024
@wolfeexd:matrix.orgwolfeexdif /dev/disk/by-id/xxx is just a link to /dev/sdx then im not sure what would grub to fail23:27:42
@philiptaron:matrix.orgPhilip Taron (UTC-8)
In reply to @wolfeexd:matrix.org
if /dev/disk/by-id/xxx is just a link to /dev/sdx then im not sure what would grub to fail
I think this link is made by systemd-udevd and happens quite late
23:29:00
9 Jul 2024
@wolfeexd:matrix.orgwolfeexd * if /dev/disk/by-id/xxx is just a link to /dev/sdx then im not sure what would cause grub to fail00:22:47
@eyjhb:eyjhb.dkeyJhb joined the room.10:23:44
@guanran928:mozilla.org@guanran928:mozilla.org left the room.17:48:01
@matthewcroughan:defenestrate.itmatthewcroughan @ 39c3 (DECT 94667 or 97340 or 67192)Anyone wanna review https://github.com/NixOS/nixpkgs/pull/325619 so I can improve disko with https://github.com/nix-community/disko/pull/69818:24:04
@matthewcroughan:defenestrate.itmatthewcroughan @ 39c3 (DECT 94667 or 97340 or 67192)Or offer a better idea18:24:30
@matthewcroughan:defenestrate.itmatthewcroughan @ 39c3 (DECT 94667 or 97340 or 67192) lassulus: fwiw k900 suggested something about binfmt namespaces making this less of an issue 18:32:13
@matthewcroughan:defenestrate.itmatthewcroughan @ 39c3 (DECT 94667 or 97340 or 67192) binfmt is an impurity, so in flakes can be modelled as packages.x86_64-linux-binfmt for example 18:32:28
@matthewcroughan:defenestrate.itmatthewcroughan @ 39c3 (DECT 94667 or 97340 or 67192) * binfmt is an impurity, so in flakes can be modelled as packages.x86_64-linux.binfmt-foo for example 18:32:37
@matthewcroughan:defenestrate.itmatthewcroughan @ 39c3 (DECT 94667 or 97340 or 67192)dare we make platform quads instead of platform triples? Lol18:32:52
@matthewcroughan:defenestrate.itmatthewcroughan @ 39c3 (DECT 94667 or 97340 or 67192)pkgsBinfmt could exist in a binfmt namespace world18:33:09
@matthewcroughan:defenestrate.itmatthewcroughan @ 39c3 (DECT 94667 or 97340 or 67192)but for the time being this customQemu work around, allows you to do what you want 18:33:22
10 Jul 2024
@atagen:imagisphe.reatagen joined the room.04:53:05
12 Jul 2024
@nevrv:matrix.orgnrv joined the room.09:40:00
@nevrv:matrix.orgnrvWhat might be the reason disko can't cryptsetup? (cannot resolve path /dev/mapper/my-name) (it's not used)09:45:24
@nevrv:matrix.orgnrvI don't know what to say. Disko/sgdisk/linux just behaves randomly for some reason09:46:30
@lassulus:lassul.uslassuluswhen does this happen?09:47:37
@lassulus:lassul.uslassulusduring formating or booting?09:47:43
@nevrv:matrix.orgnrv At first i think miscalculated the sizes. sgdisk would say cannot make partition and refuse going further. That is ok.
But then this, and also partprobe broke and said to reboot, and also sgdisk were spitting random numbers instead of ones that i give to it
09:48:07
@nevrv:matrix.orgnrv
In reply to @lassulus:lassul.us
during formating or booting?
Formatting, i use --mode format
09:48:26
@nevrv:matrix.orgnrv
In reply to @nevrv:matrix.org
At first i think miscalculated the sizes. sgdisk would say cannot make partition and refuse going further. That is ok.
But then this, and also partprobe broke and said to reboot, and also sgdisk were spitting random numbers instead of ones that i give to it
Ah and the important part that it worked once! But only once. I can't reproduce it with the same config
09:48:52
@nevrv:matrix.orgnrvThis is insanity09:49:03
@lassulus:lassul.uslassulusmaybe some partition of the disk is in use? are you doing this from a live image? what does the config look like09:49:16
@nevrv:matrix.orgnrvThe config is... complicated in addition to all the trouble, i'm trying to do 1M BIOS offset + 600G luks zfs and then -1G reserve at the end and -512M off that ESP -4096 off that ext4 boot. For the time being i commented out the end part and try to create only the BIOS + main partition part. No part of the disk is in use. I blkdiscarded and sgdisk --zapped it and rebooted and partprobed and whatever multiple times. It is also healthy disk that i can manually partition and use09:54:00
@nevrv:matrix.orgnrv * The config is... complicated in addition to all the trouble, i'm trying to do 1M BIOS offset + 600G luks zfs and then -1G reserve at the end and -512M off that ESP -4096 off that ext4 boot. So, ESP and another boot partition counting from the end. For the time being i commented out the end part and try to create only the BIOS + main partition part. No part of the disk is in use. I blkdiscarded and sgdisk --zapped it and rebooted and partprobed and whatever multiple times. It is also healthy disk that i can manually partition and use09:54:40
@nevrv:matrix.orgnrv * The config is... complicated in addition to all the trouble, i'm trying to do 1M BIOS offset + 600G luks zfs and then -1G reserve at the end and -512M off that ESP -4096 off that ext4 boot. So, ESP and another boot partition counting from the end, leaving a lot of space to possibly expand the ZFS later (1T drive). For the time being i commented out the end part and try to create only the BIOS + main partition part. No part of the disk is in use. I blkdiscarded and sgdisk --zapped it and rebooted and partprobed and whatever multiple times. It is also healthy disk that i can manually partition and use09:55:18
@nevrv:matrix.orgnrv * The config is... complicated in addition to all the trouble, i'm trying to do 1M BIOS offset + 600G luks zfs and then -1G reserve at the end and -512M off that ESP -4096 off that ext4 boot. So, ESP and another ext4 boot partition counting from the end, leaving a lot of space to possibly expand the ZFS later (1T drive). For the time being i commented out the end part and try to create only the BIOS + main partition part. No part of the disk is in use. I blkdiscarded and sgdisk --zapped it and rebooted and partprobed and whatever multiple times. It is also healthy disk that i can manually partition and use09:55:37
@nevrv:matrix.orgnrv * The config is... complicated in addition to all the trouble, i'm trying to do 1M BIOS offset + 600G luks zfs and then -1G reserve at the end and -512M off that ESP -4096 off that ext4 boot. So, ESP and another ext4 boot partition counting from the end, leaving a lot of space to possibly expand the ZFS later (1T drive). For the time being i commented out the end part and try to create only the BIOS + main partition part. No part of the disk is in use. I blkdiscarded and sgdisk --zapped it and rebooted and partprobed and whatever multiple times. It is also healthy disk that i can manually partition with luks/zfs/ext4 and use09:56:48
@nevrv:matrix.orgnrv * The config is... complicated in addition to all the trouble, i'm trying to do 1M BIOS offset + 600G luks zfs and then -1G reserve at the end and -512M off that ESP -4096 off that ext4 boot. So, ESP and another ext4 boot partition counting from the end, leaving a lot of space to possibly expand the ZFS later (1T drive) OR use it for something else. For the time being i commented out the end part and try to create only the BIOS + main partition part. No part of the disk is in use. I blkdiscarded and sgdisk --zapped it and rebooted and partprobed and whatever multiple times. It is also healthy disk that i can manually partition with luks/zfs/ext4 and use09:58:58

Show newer messages


Back to Room ListRoom Version: 10