OSDBuilder
OSDBuilder copied to clipboard
Set Recovery partition before OS partition
This way the OS disk can be expanded later on when de VHDX is enlarged.
Nice work on the code changes. This seems to make my previous commit redundant, however, as my commit to add the "-IncludeRecoveryPartition" parameter addresses the same issue concerning the ability to expand the windows partition size.
If we move the default location of the recovery partition do we even need the "-IncludeRecoveryPartition" parameter?
Are there other potential issues that could arise due to not following Microsoft's recommended partition layout for Win10 UEFI disks (think bitlocker, etc)? (Partition Layout)
I also considered that this function is intended to create a virtual hard disk which in my experience is far more likely to be expanded in size vs when Windows is installed on a physical fixed disk. Which lead to the idea of making the recovery partition optional as opposed to moving it in the partition layout.
If I'm honest I've not found much conclusive information regarding issues from not following the recommended partition layout aside from "it's recommended, so just don't". Would love to learn more.