Skip to content

Commit

Permalink
fix: sizes for installation guide
Browse files Browse the repository at this point in the history
Partition sizes should also conform to windows tooling for FAT32 requirements
  • Loading branch information
gus33000 committed Nov 8, 2023
1 parent 4760598 commit bc853ce
Show file tree
Hide file tree
Showing 2 changed files with 46 additions and 12 deletions.
16 changes: 8 additions & 8 deletions InstallWindows/Partitioning-SurfaceDuo1.md
Original file line number Diff line number Diff line change
Expand Up @@ -127,19 +127,19 @@ rm 6
__This command creates the EFI system partition for Windows. It is possible parted shows a warning message at this step saying the partition is not properly aligned for best performance. It is safe to ignore such warning__

```bash
mkpart esp fat32 51.9MB 312MB
mkpart esp fat32 51.9MB 325MB
```

__This command creates the Windows partition. Size = (64GB/65536MB) = (65848MB - 312MB), Start (Disk Offset) = (312MB), End (Disk Offset) = (65848MB)__
__This command creates the Windows partition.__

```bash
mkpart win ntfs 312MB 65848MB
mkpart win ntfs 325MB 70GB
```

__This command creates the Android™ data partition back. Size = (47.7GB/48840MB) = (112GB - 65848MB) = (114688MB - 65848MB), Start (Disk Offset) = (65848MB), End (Disk Offset) = (112GB) = (114688MB)__
__This command creates the Android™ data partition back.__

```bash
mkpart userdata ext4 65848MB 112GB
mkpart userdata ext4 70GB 112GB
```

__This command sets the ESP partition created earlier as an EFI system partition type.__
Expand Down Expand Up @@ -172,19 +172,19 @@ rm 6
__This command creates the EFI system partition for Windows. It is possible parted shows a warning message at this step saying the partition is not properly aligned for best performance. It is safe to ignore such warning. (Note: to ignore in parted, just type 'i' (without the quotes))__

```bash
mkpart esp fat32 51.9MB 312MB
mkpart esp fat32 51.9MB 325MB
```

__This command creates the Windows partition.__

```bash
mkpart win ntfs 312MB 114688MB
mkpart win ntfs 325MB 139GB
```

__This command creates the Android™ data partition back.__

```bash
mkpart userdata ext4 114688MB 240GB
mkpart userdata ext4 139GB 240GB
```

__This command sets the ESP partition created earlier as an EFI system partition type.__
Expand Down
42 changes: 38 additions & 4 deletions InstallWindows/Partitioning-SurfaceDuo2.md
Original file line number Diff line number Diff line change
Expand Up @@ -127,19 +127,19 @@ rm 8
__This command creates the EFI system partition for Windows. It is possible parted shows a warning message at this step saying the partition is not properly aligned for best performance. It is safe to ignore such warning__

```bash
mkpart esp fat32 401MB 661MB
mkpart esp fat32 401MB 674MB
```

__This command creates the Windows partition.__

```bash
mkpart win ntfs 661MB 66197MB
mkpart win ntfs 674MB 70GB
```

__This command creates the Android™ data partition back.__

```bash
mkpart userdata ext4 66197MB 110GB
mkpart userdata ext4 70GB 110GB
```

__This command sets the ESP partition created earlier as an EFI system partition type.__
Expand All @@ -163,7 +163,41 @@ quit
<summary>Run these commands one by one for 256GB devices (Click to expand)</summary>
<p>

TODO: Please file an issue to help us!
__This command removes the userdata partition__

```bash
rm 8
```

__This command creates the EFI system partition for Windows. It is possible parted shows a warning message at this step saying the partition is not properly aligned for best performance. It is safe to ignore such warning__

```bash
mkpart esp fat32 401MB 674MB
```

__This command creates the Windows partition.__

```bash
mkpart win ntfs 674MB 139GB
```

__This command creates the Android™ data partition back.__

```bash
mkpart userdata ext4 139GB 238GB
```

__This command sets the ESP partition created earlier as an EFI system partition type.__

```bash
set 8 esp on
```

__This command leaves parted.__

```bash
quit
```

</p>
</details>
Expand Down

0 comments on commit bc853ce

Please sign in to comment.