A computer-implemented method for dynamically changing a size for a partition in a storage device, the computer-implemented method being performed by one or more processors executing computer executable instructions for the computer implemented method, and the computer-implemented method comprising: identifying a portion of free space (404; 113) on the storage device (401; 111), the storage device having at least one physical partition (112, 114,115), wherein at least one physical partition is not adjacent to the portion of free space, and wherein each physical partition on the storage device is a contiguous disk portion on the storage device, a partition table stores an identifier, an offset and a length in a partition entry for each physical partition on the storage device; determining where the identified free space is located relative to the at least one physical partition of the storage device; determining that the physical partition that is not adjacent to the portion of free space is to be dynamically resized to a new size; and dynamically resizing the physical partition to the new size by extending the physical partition into the identified portion of free space, including generating a placeholder partition entry within the partition table for a newly created logical partition that includes a new physical partition created within the identified portion of free space and the physical partition, wherein an identifier, an offset and a length of the newly created physical partition within the identified portion of free space are stored in a partition entry of the partition table, wherein the partition entry for the newly created physical partition and the partition entry for the physical partition further include information allowing to identify the new logical partition as a logical partition to which the physical partition belongs to, and wherein a logical partition is a partition that consists of at least two of the physical partitions to form the logical partition. identifying a portion of free space (404; 113) on the storage device (401; 111), the storage device having at least one physical partition (112, 114,115), wherein at least one physical partition is not adjacent to the portion of free space, and wherein each physical partition on the storage device is a contiguous disk portion on the storage device, a partition table stores an identifier, an offset and a length in a partition entry for each physical partition on the storage device; each physical partition on the storage device is a contiguous disk portion on the storage device, a partition table stores an identifier, an offset and a length in a partition entry for each physical partition on the storage device; determining where the identified free space is located relative to the at least one physical partition of the storage device; determining that the physical partition that is not adjacent to the portion of free space is to be dynamically resized to a new size; and dynamically resizing the physical partition to the new size by extending the physical partition into the identified portion of free space, including generating a placeholder partition entry within the partition table for a newly created logical partition that includes a new physical partition created within the identified portion of free space and the physical partition, wherein an identifier, an offset and a length of the newly created physical partition within the identified portion of free space are stored in a partition entry of the partition table, wherein the partition entry for the newly created physical partition and the partition entry for the physical partition further include information allowing to identify the new logical partition as a logical partition to which the physical partition belongs to, and wherein a logical partition is a partition that consists of at least two of the physical partitions to form the logical partition. generating a placeholder partition entry within the partition table for a newly created logical partition that includes a new physical partition created within the identified portion of free space and the physical partition, wherein an identifier, an offset and a length of the newly created physical partition within the identified portion of free space are stored in a partition entry of the partition table, wherein the partition entry for the newly created physical partition and the partition entry for the physical partition further include information allowing to identify the new logical partition as a logical partition to which the physical partition belongs to, and wherein a logical partition is a partition that consists of at least two of the physical partitions to form the logical partition.