[Nexus 7 (2013) Original Android Development] eduncan911:
I'm just passing by, trying to resurrect our old tablet for the latest kiddo... But I think the instructions may need to be tweaked?

I followed the instructions to the letter... Install repartition, reboots to recovery. Flashed the modified twrp, powered down. Booted back up to recovery and wiped everything as instructed, including all partitions and the "format" option. I then continued to flash my ROM. no problem.

The problem was when trying to flash even the Pico version of open gapps - same error as insufficient space! This is when I dug in to see what was going on...

~ # fdisk -l /dev/block/mmcblk0
Found valid GPT with protective MBR; using GPT

Disk /dev/block/mmcblk0: 61079552 sectors, 1152M
Logical sector size: 512
Disk identifier (GUID): 98101b32-bbe2-4bf2-a06e-2bb33d000c20
Partition table holds up to 32 entries
First usable sector is 34, last usable sector is 61079518

Number Start (sector) End (sector) Size Code Name
1 131072 306143 85.4M 0700 radio
2 393216 399359 3072K 0700 modemst1
3 399360 405503 3072K 0700 modemst2
4 524288 554287 14.6M 0700 persist
5 655360 656919 780K 0700 m9kefs1
6 656920 658479 780K 0700 m9kefs2
7 786432 787991 780K 0700 m9kefs3
8 787992 794135 3072K 0700 fsg
9 917504 920503 1500K 0700 sbl1
10 920504 923503 1500K 0700 sbl2
11 923504 927599 2048K 0700 sbl3
12 927600 937839 5120K 0700 aboot
13 937840 938863 512K 0700 rpm
14 1048576 1081343 16.0M 0700 boot
15 1179648 1180671 512K 0700 tz
16 1180672 1180673 1024 0700 pad
17 1180674 1183673 1500K 0700 sbl2b
18 1183674 1187769 2048K 0700 sbl3b
19 1187770 1198009 5120K 0700 abootb
20 1198010 1199033 512K 0700 rpmb
21 1199034 1200057 512K 0700 tzb
22 1200058 4272057 1500M 0700 system
23 4272058 4421631 73.0M 0700 cache
24 4421632 4423679 1024K 0700 misc
25 4423680 4456447 16.0M 0700 recovery
26 4456448 4456463 8192 0700 DDR
27 4456464 4456479 8192 0700 ssd
28 4456480 4456481 1024 0700 m9kefsc
29 4587520 4587583 32768 0700 metadata
30 4587584 5099583 250M 0700 vendor
31 5099584 61079518 26.6G 0700 userdata

Ok, /system looks right with 1.5 GB.

~ # mount -a
mount: mounting /usb-otg on vfat failed: No such file or directory
~ # df -h
Filesystem Size Used Available Use% Mounted on
tmpfs 903.4M 156.0K 903.3M 0% /dev
tmpfs 903.4M 32.0K 903.4M 0% /tmp
/dev/block/mmcblk0p31
26.3G 976.5M 25.3G 4% /data
/dev/block/mmcblk0p31
26.3G 976.5M 25.3G 4% /sdcard
/dev/block/mmcblk0p23
71.9M 4.2M 67.7M 6% /cache
/dev/block/mmcblk0p22
826.8M 674.8M 143.5M 82% /system
/dev/block/mmcblk0p30
246.1M 4.1M 241.9M 2% /vendor

Humm. The filesystem wasn't resized to the larger partition. Perhaps repartition didn't complete? Anyhow...

~ # umount /dev/block/mmcblk0p22
~ # e2fsck -f /dev/block/mmcblk0p22
e2fsck 1.42.9 (28-Dec-2013)
Pass 1: Checking inodes, blocks, and sizes
Pass 2: Checking directory structure
Pass 3: Checking directory connectivity
Pass 3A: Optimizing directories
Pass 4: Checking reference counts
Pass 5: Checking group summary information

system: ***** FILE SYSTEM WAS MODIFIED *****
system: 2611/53760 files (0.3% non-contiguous), 176144/215040 blocks
~ # resize2fs /dev/block/mmcblk0p22
resize2fs 1.42.9 (28-Dec-2013)
Resizing the filesystem on /dev/block/mmcblk0p22 to 384000 (4k) blocks.
The filesystem on /dev/block/mmcblk0p22 is now 384000 blocks long.

Ok, let's remount and check...

~ # mount -a
mount: mounting /usb-otg on vfat failed: No such file or directory
~ # df -h
Filesystem Size Used Available Use% Mounted on
tmpfs 903.4M 156.0K 903.3M 0% /dev
tmpfs 903.4M 36.0K 903.4M 0% /tmp
/dev/block/mmcblk0p31
26.3G 976.5M 25.3G 4% /data
/dev/block/mmcblk0p31
26.3G 976.5M 25.3G 4% /sdcard
/dev/block/mmcblk0p23
71.9M 4.2M 67.7M 6% /cache
/dev/block/mmcblk0p30
246.1M 4.1M 241.9M 2% /vendor
/dev/block/mmcblk0p22
1.4G 675.7M 786.7M 46% /system

Bingo. And now Open Gapps was able to install.