# US 2014/0208091 A1 · Method and system for dynamically resizing enclosed storage device partitions

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2014/0208091 A1
- Document ID: US20140208091A1
- Status: Published application
- Kind: A1
- Application number: 13/747,244
- Filed: 2013-01-22
- Published: 2014-07-24
- Earliest claimed: 2013-01-22
- Assignees: Apple Inc.
- Applicants: Apple Inc.
- Inventors: Ben A. KONING; Jim F. KATELEY
- Web page: https://patentgrep.com/patent/US20140208091A1

## CPC

- G06F 9/4401: Bootstrapping (security arrangements therefor G06F21/57)
- G06F 8/65: Updates (security arrangements therefor G06F21/57)
- G06F 9/441: {Multiboot arrangements, i.e. selecting an operating system to be loaded}
- G06F 11/1433: {during software upgrading}
- G06F 3/0631: {by allocating resources to storage systems}
- G06F 11/1417: {Boot up procedures}
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

A computer-implemented method for updating a recovery operating system (OS) stored in a boot partition of a storage device. The method involves booting, via host operating system (OS) boot files stored in the boot partition, a host OS that is stored in a host partition of the storage device, receiving a request to update a recovery OS also stored in the boot partition, determining the recovery OS update requires additional storage space of size Z to be added to the boot partition, decreasing the size of the host partition by the size Z, increasing the size of the boot partition by the size Z, and updating the recovery OS.

## Claims

### Claim 1

A computer-implemented method for updating a recovery operating system (OS) stored in a boot partition of a storage device, comprising:
booting, via host operating system (OS) boot files stored in the boot partition, a host OS that is stored in a host partition of the storage device;
receiving a request to update a recovery OS also stored in the boot partition;
determining the recovery OS update requires additional storage space of size Z to be added to the boot partition;
decreasing the size of the host partition by the size Z;
increasing the size of the boot partition by the size Z; and
updating the recovery OS.

### Claim 2 (depends on 1)

The method of claim 1, further comprising determining that the host partition includes a size of free storage space that is greater than or equal to the size Z.

### Claim 3 (depends on 1)

The method of claim 1, wherein the step of decreasing the size of the host partition by the size Z includes decreasing the size of a file system included in the host partition by the size Z.

### Claim 4 (depends on 1)

The method of claim 1, wherein the step of increasing the size of the boot partition by the size Z includes removing the recovery OS from the boot partition and retaining the host OS boot files.

### Claim 5 (depends on 4)

The method of claim 4, wherein the recovery OS is corrupted during the step of increasing the size of the boot partition and the host OS can still be booted via the host OS boot files.

### Claim 6 (depends on 1)

The method of claim 1, wherein an ending point of the host partition abuts a starting point of the boot partition.

### Claim 7 (depends on 6)

The method of claim 6, wherein a starting point of the host partition abuts an ending point of a first partition included in the storage device, and an ending point of the boot partition abuts a starting point of a second partition included in the storage device.

### Claim 8 (depends on 1)

The method of claim 1, wherein the steps of decreasing the size of the host partition by the size Z and increasing the size of the boot partition by the size Z are carried out while the host OS is executing.

### Claim 9 (depends on 1)

The method of claim 1, wherein the size Z is less than an original size of the boot partition prior to executing the step of resizing the size of the boot partition.

### Claim 10

A non-transitory computer-readable medium storing instructions that, when executed by a processor, cause the processor to implement a method for updating a recovery operating system (OS) stored in a boot partition of a storage device, comprising:
booting, via host operating system (OS) boot files stored in the boot partition, a host OS that is stored in a host partition of the storage device;
receiving a request to update a recovery OS also stored in the boot partition;
determining the recovery OS update requires additional storage space of size Z to be added to the boot partition;
decreasing the size of the host partition by the size Z;
increasing the size of the boot partition by the size Z; and
updating the recovery OS.

### Claim 11 (depends on 10)

The non-transitory computer-readable medium of claim 10, further comprising determining that the host partition includes a size of free storage space that is greater than or equal to the size Z.

### Claim 12 (depends on 10)

The non-transitory computer-readable medium of claim 10, wherein the step of decreasing the size of the host partition by the size Z includes decreasing the size of a file system included in the host partition by the size Z.

### Claim 13 (depends on 10)

The non-transitory computer-readable medium of claim 10, wherein the step of increasing the size of the boot partition by the size Z includes removing the recovery OS from the boot partition and retaining the host OS boot files.

### Claim 14 (depends on 13)

The non-transitory computer-readable medium of claim 13, wherein the recovery OS is corrupted during the step of increasing the size of the boot partition and the host OS can still be booted via the host OS boot files.

### Claim 15 (depends on 10)

The non-transitory computer-readable medium of claim 10, wherein an ending point of the host partition abuts a starting point of the boot partition.

### Claim 16 (depends on 15)

The non-transitory computer-readable medium of claim 15, wherein a starting point of the host partition abuts an ending point of a first partition included in the storage device, and an ending point of the boot partition abuts a starting point of a second partition included in the storage device.

### Claim 17 (depends on 10)

The non-transitory computer-readable medium of claim 10, wherein the steps of decreasing the size of the host partition by the size Z and increasing the size of the boot partition by the size Z are carried out while the host OS is executing.

### Claim 18 (depends on 10)

The non-transitory computer-readable medium of claim 10, wherein the size Z is less than an original size of the boot partition prior to executing the step of resizing the size of the boot partition.

### Claim 19

A system, comprising:
a processor;
a storage device; and
a memory storing instructions that, when executed by the processor, cause the processor to implement a method for updating a recovery operating system (OS) stored in a boot partition of the storage device, comprising:
booting, via host operating system (OS) boot files stored in the boot partition, a host OS that is stored in a host partition of the storage device;
receiving a request to update a recovery OS also stored in the boot partition;
determining the recovery OS update requires additional storage space of size Z to be added to the boot partition;
decreasing the size of the host partition by the size Z;
increasing the size of the boot partition by the size Z; and
updating the recovery OS.

### Claim 20 (depends on 19)

The system of claim 19, further comprising determining that the host partition includes a size of free storage space that is greater than or equal to the size Z.
