| 12 Jul 2024 |
nrv | 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 |
nrv | In reply to @lassulus:lassul.us during formating or booting? Formatting, i use --mode format | 09:48:26 |
nrv | 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 |
nrv | This is insanity | 09:49:03 |
lassulus | 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 |
nrv | 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 |
nrv | * 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 |
nrv | * 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 |
nrv | * 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 |
nrv | * 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 |
nrv | * 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 use | 09:58:58 |
nrv | So, sgdisk commands succeed, but then there is no cryptsetup in the log. It is in the script though, but refers to hardcoded random partlabels(?), dunno how that works, are they static and calculated at build time? | 10:01:27 |