-
-
Notifications
You must be signed in to change notification settings - Fork 215
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add docs for upgrade from legacy table to gpt #586
Comments
yes
you can also specify start and end instead, but even changing your disk layout won't run disko again and your disks will remain the way they are now. What is important though, is to create a partlabels disko would have created if you would run it with the gpt type.
no, it never had any effect on gpt partitions.
some people say it's necessary, but I never had a device where this was an issue. it shouldn't matter for the ESP partition but the EF02 partition could be important.
fs-type never had any effect on gpt partitions.
the newer gpt format uses attrsets instead of lists. the legacy table used parted the new gpt uses sgdisk, which has a better interface for scripting.
|
I would also very much appreciate a guide on how to move from Or a definitive statement that it's not possible and we either have to a) live with the warnings or b) re-install. Ref: #538 (comment) |
So, I've tried updating (and failed miserably). Some of the gotchas I've noticed are:
|
Is there any way to specifically sponsor/fund documentation for moving from legacy table to GPT? |
we now have a guide for migration: https://github.com/nix-community/disko/blob/master/docs/table-to-gpt.md |
Fixed in #655 |
I've been getting the following warning for some time now:
I have two configurations that share this problem:
https://github.com/KFearsoff/NixOS-config/blob/02fbc8af10edf6757de61fd413f5451fefce9d21/hosts/blueberry/disko.nix
https://github.com/KFearsoff/NixOS-config/blob/02fbc8af10edf6757de61fd413f5451fefce9d21/hosts/cloudberry/disko.nix
From the existing documentation, it is not clear to me how the upgrade path should look. In particular, I have the following points of confusion:
flags = ["bios_grub"];
directly map totype = "EF02";
?size
instead, which, if I understand it correctly, would brick my boot. Arestart
andend
options still supported?bootable = true;
flag still necessary for ESP partition?priority = 1;
for ESP partition?fs-type = "fat32";
for my boot partition?Perhaps the above questions are trivial to answer, but I haven't found any docs for them. And I would like to err on the side of caution when it comes to changing the filesystem layout.
The text was updated successfully, but these errors were encountered: