disko | 366 Members | |
| disko - declarative disk partitioning - https://github.com/nix-community/disko | 93 Servers |
| Sender | Message | Time |
|---|---|---|
| 12 Jul 2024 | ||
| but you can also overwrite the labels there, if they are too long, they are changed to a hash | 10:33:30 | |
| could it be that sgdisk --clear doesn't work properly and there's still partitions on the disk when i run disko multiple times? | 10:38:05 | |
| even though it runs --clear and partprobe and everything | 10:38:17 | |
| because now i see sgdisk failing again (though i tweaked the sizes) | 10:38:56 | |
In reply to @nevrv:matrix.orgsure it could. blkdiscard fixes that. | 10:42:08 | |
| bug? | 10:42:31 | |
| * bug on the disko part? | 10:42:43 | |
In reply to @nevrv:matrix.org* sure it could. blkdiscard fixes that. success after blkdiscard, no changes to disko config | 10:43:26 | |
| what command are you running? | 10:43:51 | |
In reply to @nevrv:matrix.orgwait, abort | 10:44:47 | |
| i got excited on one success message which was not the right one | 10:45:12 | |
In reply to @lassulus:lassul.usgive me a sec | 10:45:16 | |
In reply to @lassulus:lassul.us this is dicko.nix https://0x0.st/XMUo.txt the command that i'm running is what i'm getting:
...for some reason | 11:37:03 | |
| 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 | |
| * 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 | |
| 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 | |
| thing is that i tried to do --zap and --clear and blkdiscard --force multiple times | 11:43:57 | |
| and rebooting | 11:43:58 | |
| it just changes behavior randomly | 11:44:08 | |
| and i did mode disko, it just spits more errors or something so i decided to stick to format | 11:44:50 | |
| i'll try it, sec | 11:44:54 | |
| also it seems your luks partitions conflicts with your grub-mbr partition | 11:45:41 | |
| maybe the start of it is inside or on the end of it | 11:45:52 | |
| trying to read the code now :) | 11:46:02 | |
In reply to @nevrv:matrix.org the same;
| 11:46:07 | |
In reply to @lassulus:lassul.usmine or generated?:P | 11:46:50 | |
| it looks fine. start offset is 1M/2048 sectors and the main partition is from 2M/4096 sector and on, after which there is nothing currently so it's fine | 11:48:36 | |
In reply to @nevrv:matrix.orgThe resulting disk state is this btw | 11:49:38 | |
In reply to @nevrv:matrix.org* The resulting disk state is this though | 11:49:53 | |
| Seems that the first 1M one gets created incorrectly | 11:49:58 | |