| 12 Jul 2024 |
nrv | even though it runs --clear and partprobe and everything | 10:38:17 |
nrv | because now i see sgdisk failing again (though i tweaked the sizes) | 10:38:56 |
nrv | In reply to @nevrv:matrix.org could it be that sgdisk --clear doesn't work properly and there's still partitions on the disk when i run disko multiple times? sure it could. blkdiscard fixes that. | 10:42:08 |
nrv | bug? | 10:42:31 |
nrv | * bug on the disko part? | 10:42:43 |
nrv | In reply to @nevrv:matrix.org could it be that sgdisk --clear doesn't work properly and there's still partitions on the disk when i run disko multiple times? * sure it could. blkdiscard fixes that. success after blkdiscard, no changes to disko config | 10:43:26 |
lassulus | what command are you running? | 10:43:51 |
nrv | In reply to @nevrv:matrix.org sure it could. blkdiscard fixes that. success after blkdiscard, no changes to disko config wait, abort | 10:44:47 |
nrv | i got excited on one success message which was not the right one | 10:45:12 |
nrv | In reply to @lassulus:lassul.us what command are you running? give me a sec | 10:45:16 |
nrv | In reply to @lassulus:lassul.us what command are you running? this is dicko.nix https://0x0.st/XMUo.txt this is it's output https://0x0.st/XMUT.txt built by nix run .#disko -- --dry-run --mode format --arg disks '[ "/dev/disk/by-id/nvme-XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX" ]' ./disko.nix
the command that i'm running is sudo --preserve-env=NIX_PATH nix run .#disko -- --mode format --arg disks '[ "/dev/disk/by-id/nvme-XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX ]' ./disko.nix disko rev is 786965e1b1ed3fd2018d78399984f461e2a44689
what i'm getting:
- command log https://0x0.st/XMUQ.txt
- the disk state after it is this:
Device Start End Sectors Size Type
/dev/disk/by-id/nvme-XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX-part1 4194304 4196351 2048 1M BIOS boot
...for some reason
| 11:37:03 |
nrv | This is btw when it now decided to switch back to not liking my sgdisk. I don't know if it is sgdisk, linux, disko or i'm stupid and blind and there's wrong numbers again. The cryptsetup issue had another log | 11:39:21 |
nrv | * This is btw when it now decided to switch back to not liking my sgdisk. I don't know if it is sgdisk, linux or disko misbehaving or i'm stupid and blind and there's wrong numbers again. The cryptsetup issue had another log | 11:39:50 |
lassulus | ah this is if you run the formatScript multiple times, the errors are expected there, if you want disko to wipe the drives before retrying, you should run --mode disko | 11:43:14 |
nrv | thing is that i tried to do --zap and --clear and blkdiscard --force multiple times | 11:43:57 |
nrv | and rebooting | 11:43:58 |
nrv | it just changes behavior randomly | 11:44:08 |
nrv | and i did mode disko, it just spits more errors or something so i decided to stick to format | 11:44:50 |
nrv | i'll try it, sec | 11:44:54 |
lassulus | also it seems your luks partitions conflicts with your grub-mbr partition | 11:45:41 |
lassulus | maybe the start of it is inside or on the end of it | 11:45:52 |
lassulus | trying to read the code now :) | 11:46:02 |