disko | 349 Members | |
| disko - declarative disk partitioning - https://github.com/nix-community/disko | 87 Servers |
| Sender | Message | Time |
|---|---|---|
| 23 Nov 2025 | ||
| 16:52:42 | ||
| My best use case is in virtualisation. Like declaring how big your disk in a virtual machine is. | 20:21:16 | |
| ooo that’s a really good use case… | 20:21:43 | |
| can disko be used to re-configure partitions? currently, system is setup like this:
But really, I want to move the | 23:58:16 | |
| 25 Nov 2025 | ||
| 15:49:18 | ||
| 18:12:22 | ||
| 19:51:37 | ||
| 28 Nov 2025 | ||
| 18:22:34 | ||
| 29 Nov 2025 | ||
| 18:37:29 | ||
| 30 Nov 2025 | ||
| whats the advantage to having both boot and an ESP partitions?
| 13:39:39 | |
| * whats the advantage to having both boot and an ESP partitions?
| 13:39:49 | |
what does the boot partition do here? | 13:44:42 | |
| that's called hybrid | 14:04:27 | |
| if you don't care or the thing needs to be portable | 14:04:36 | |
| so i can get rid of it? | 14:05:47 | |
| I'm using
| 14:08:25 | |
| but your config mentioned MBR in comments, so it might be different situation for you | 14:09:13 | |
| this is the default config for single disk ext4 | 14:10:19 | |
| so i think we're in the same situation | 14:11:48 | |
| As i understand logic of the boot process, the important part is decide are you using UEFI. If yes, you have to have GPT partition table (not mbr) and old MBR requirement to have bootloader in first 512K of the drive is no longer reuirement. So this reservation for grub is not needed | 14:15:35 | |
| aha, so it's legacy for backwards compat with grum | 14:16:46 | |
| * aha, so it's legacy for backwards compat with grub | 14:16:48 | |
| It is not grub specific. It is applicable to any bootloader for MBR partitioned drive. All bootloader put their initialization code into first 512K right after partition table | 14:17:51 | |
| * aha, so it's legacy for backwards compat with | 14:19:33 | |
| But i did not refreshed my knowledge in this area for last decade, so i might mix things up. So, if you want to be sure, do additional check. | 14:19:34 | |
| the check will be seeing if i can boot! | 14:19:50 | |
| Here is more in depth explanation of the logic. https://superuser.com/questions/1566558/is-a-boot-sector-considered-to-be-a-partition | 14:22:28 | |
| thanks, that helps :) | 14:26:46 | |
| For those using disko for vm’s disk sizes… I wonder. Are you declaratively setting your vm .qcow2 for example, from the host system? Or from inside the vm. | 17:03:16 | |
| When using disko-install, i get no space left on device | 19:59:11 | |