disko | 354 Members | |
| disko - declarative disk partitioning - https://github.com/nix-community/disko | 89 Servers |
| Sender | Message | Time |
|---|---|---|
| 8 Jul 2024 | ||
| attempt: on a BIOS boot only system, I am trying to assign a id or uudi to a disko config because /dev/sdx gets switched around and becomes less viable in a raid setup I've been stuck on this for a few days, just a nudge in the right direction even if its pointing out something in the docs, or a workaround would be very helpful. config:
}; | 23:26:32 | |
| if /dev/disk/by-id/xxx is just a link to /dev/sdx then im not sure what would grub to fail | 23:27:42 | |
In reply to @wolfeexd:matrix.orgI think this link is made by systemd-udevd and happens quite late | 23:29:00 | |
| 9 Jul 2024 | ||
| * if /dev/disk/by-id/xxx is just a link to /dev/sdx then im not sure what would cause grub to fail | 00:22:47 | |
| 10:23:44 | ||
| 17:48:01 | ||
| Anyone wanna review https://github.com/NixOS/nixpkgs/pull/325619 so I can improve disko with https://github.com/nix-community/disko/pull/698 | 18:24:04 | |
| Or offer a better idea | 18:24:30 | |
| lassulus: fwiw k900 suggested something about binfmt namespaces making this less of an issue | 18:32:13 | |
binfmt is an impurity, so in flakes can be modelled as packages.x86_64-linux-binfmt for example | 18:32:28 | |
* binfmt is an impurity, so in flakes can be modelled as packages.x86_64-linux.binfmt-foo for example | 18:32:37 | |
| dare we make platform quads instead of platform triples? Lol | 18:32:52 | |
| pkgsBinfmt could exist in a binfmt namespace world | 18:33:09 | |
| but for the time being this customQemu work around, allows you to do what you want | 18:33:22 | |
| 10 Jul 2024 | ||
| 04:53:05 | ||
| 12 Jul 2024 | ||
| 09:40:00 | ||
| What might be the reason disko can't cryptsetup? (cannot resolve path /dev/mapper/my-name) (it's not used) | 09:45:24 | |
| I don't know what to say. Disko/sgdisk/linux just behaves randomly for some reason | 09:46:30 | |
| when does this happen? | 09:47:37 | |
| during formating or booting? | 09:47:43 | |
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 | |
In reply to @lassulus:lassul.usFormatting, i use --mode format | 09:48:26 | |
In reply to @nevrv:matrix.orgAh and the important part that it worked once! But only once. I can't reproduce it with the same config | 09:48:52 | |
| This is insanity | 09:49:03 | |
| maybe some partition of the disk is in use? are you doing this from a live image? what does the config look like | 09:49:16 | |
| 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. 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 use | 09:54:00 | |
| * 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 use | 09:54:40 | |
| * 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 use | 09:55:18 | |
| * 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 use | 09:55:37 | |
| * 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 use | 09:56:48 | |