$ python subfdisk.py /dev/loop7 #loop7 is a full HDD image, for testing purposes subfdisk 0.1 by Hector Martin /dev/loop7: 9999941632 bytes (9536.7MB) Reading partitions... Partition Table: 1: [XBOX-BOOT] 0 - 2 (3 sectors, 0.0MB): XBOX Legacy Boot Area (MBR) 2: [XBOX-CONFIG] 3 - 1023 (1021 sectors, 0.5MB): XBOX Configuration Area 3: [XBOX-X] 1024 - 1537023 (1536000 sectors, 750.0MB): XBOX Game Cache 1 4: [XBOX-Y] 1537024 - 3073023 (1536000 sectors, 750.0MB): XBOX Game Cache 2 5: [XBOX-Z] 3073024 - 4609023 (1536000 sectors, 750.0MB): XBOX Game Cache 3 6: [XBOX-C] 4609024 - 5633023 (1024000 sectors, 500.0MB): XBOX System 7: [XBOX-E] 5633024 - 15633071 (10000048 sectors, 4882.8MB): XBOX Data 8: [XBOX-F] 15633072 - 19531135 (3898064 sectors, 1903.4MB): XBOX Extended Choose the partition you want to work with: 7 Partition 7 chosen (XBOX-E) Loading filesystem... Filesystem Information: FATX volume on XBOX-E: 4882.8MB raw size Volume ID: 170C7F9C Cluster size: 32 sectors (16KB) FAT type: 32 bits FAT copies: 1 FAT size: 2448 sectors (1224KB) Total clusters: 312501 (312424 data clusters) 274696 clusters free (4292.1MB) Largest contiguous block available: 274696 clusters (4292.1MB) Target partition size (#{K,M,G}): 4GB You requested 8388608 sectors (4096.0MB) Closest contiguous block larger than the requested size: 274696 clusters (4292.1MB) - Enter L to use the size of the closest larger contiguous block - Enter T to use the specified target size - Or enter a new target size value (#{K,M,G}): t The requested size will not fit into a standard file in FATX. Please choose among the following options: A) Use multiple 1GB files. This is safe. B) Use multiple 2GB-16K files. This is safe, but not very neat. C) Use multiple 2GB files. This will show up as -2GB using the MS kernel. D) Use multiple 4GB-16K files. This will show up as -16K using the MS kernel. E) Choose a new partition size. Your choice: a 4 file(s) will be created. Allocating 65536 clusters (36600 - 102135) for file 0 (1024.0MB)... Allocating 65536 clusters (102136 - 167671) for file 1 (1024.0MB)... Allocating 65536 clusters (167672 - 233207) for file 2 (1024.0MB)... Allocating 65536 clusters (233208 - 298743) for file 3 (1024.0MB)... Enter the path where the files will be stored: / Enter the basename for the files: rootfs Writing 4 files... rootfs.000 rootfs.001 rootfs.002 rootfs.003 Storing FAT back... Done! MBR Partitions: [No MBR Partitions] Enter the partition number which you want to create: 1 Enter the type for the partition (82 for Linux swap, 83 for Linux, etc): 83 Done! Partition Table: 1: [XBOX-BOOT] 0 - 2 (3 sectors, 0.0MB): XBOX Legacy Boot Area (MBR) 2: [XBOX-CONFIG] 3 - 1023 (1021 sectors, 0.5MB): XBOX Configuration Area 3: [XBOX-X] 1024 - 1537023 (1536000 sectors, 750.0MB): XBOX Game Cache 1 4: [XBOX-Y] 1537024 - 3073023 (1536000 sectors, 750.0MB): XBOX Game Cache 2 5: [XBOX-Z] 3073024 - 4609023 (1536000 sectors, 750.0MB): XBOX Game Cache 3 6: [XBOX-C] 4609024 - 5633023 (1024000 sectors, 500.0MB): XBOX System 7: [XBOX-E] 5633024 - 15633071 (10000048 sectors, 4882.8MB): XBOX Data 8: [XBOX-F] 15633072 - 19531135 (3898064 sectors, 1903.4MB): XBOX Extended 9: [MBR-1] 6806648 - 15195255 (8388608 sectors, 4096.0MB): MBR Partition of type 0x83 Do you want to perform other operations? (Y/N): n Commit changes? WARNING: THIS OPERATION IS NOT REVERSIBLE (Yes/No) (You need to type 'Yes'): No