Since I had a second NT to repartition, I wrote up the how I did it this time. Hopefully it is useful to someone. USE AT YOUR OWN RISK. You are responsible if you mess up your tablet.



Repartitioning your Nook Tablet requires ADB drivers on your PC and CWM installed either to EMMC or SDCARD. Here, I resized my userdata partition to approximately 4GB and my media partition to approximately 9GB. NOTE: ONLY MESS WITH Partitions 10 & 11 (media and userdata). I assume you know or can lookup how to install and use CWM and adb.



Parted complains about the partition table.... I let it fix the two errors. I don't know if that is good or not but hasn't seemed to hurt my NT. I think you can just ignore the errors... but they are very annoying throughout the process, if you don't fix them.



Install CWM either SDCARD or EMMC. Make sure you can use adb to connect to your Nook Tablet. If not, fix that first. Boot into CWM. In CWM mount /data and /sdcard and do a backup so you can restore /data since we are going to delete and recreate it. After the backup, unmount /data.

Use "adb shell" while CWM is running on the Nook Tablet and the USB cable is plugged in.



Note: Once done with the the resizing, have CWM reboot back to recovery (advanced option) and restore your /data partition data. Then reboot your system.



Here is a quick summary: Start parted on mmcblk0 from adb shell. Fix the errors. Delete partition 11 (userdata). Resize partition 10 (media) to make it larger... use the original start position and change the end position to make it the size you want. Recreate partition 11... use the end position from partition 10 as the new start position and use the original end position. Name partition 11 "userdata". Print the partition table along the way to make sure that its what you want. Exit parted. Use tune2fs and e2fsck to convert the ext2 partition back to an ext4 partition. Reboot back into CWM, restore your data partition and then reboot.





The commands I used while in the adb shell, along with the responses are below. Note that the bold text is the prompt and commands. The non-bold parts are screen output.



~ # parted /dev/block/mmcblk0

parted /dev/block/mmcblk0

GNU Parted 1.8.8.1.179-aef3

Using /dev/block/mmcblk0

Welcome to GNU Parted! Type 'help' to view a list of commands.

(parted) print

print

print

Error: The backup GPT table is not at the end of the disk, as it should be.

This might mean that another operating system believes the disk is smaller.

Fix, by moving the backup to the end (and removing the old backup)?

Fix/Ignore/Cancel? f

f

f

Warning: Not all of the space available to /dev/block/mmcblk0 appears to be

used, you can fix the GPT to use all of the space (an extra 569312 blocks) or

continue with the current setting?

Fix/Ignore? f

f

f

Model: MMC SEM16G (sd/mmc)

Disk /dev/block/mmcblk0: 15.9GB

Sector size (logical/physical): 512B/512B

Partition Table: gpt



Number Start End Size File system Name Flags

1 131kB 262kB 131kB xloader

2 262kB 524kB 262kB bootloader

3 524kB 16.3MB 15.7MB recovery

4 16.8MB 33.6MB 16.8MB boot

5 33.6MB 83.9MB 50.3MB fat32 rom

6 83.9MB 134MB 50.3MB fat32 bootdata

7 134MB 522MB 388MB ext4 factory

8 522MB 1164MB 642MB ext4 system

9 1164MB 1611MB 447MB ext4 cache

10 1611MB 2684MB 1074MB fat32 media

11 2684MB 15.6GB 12.9GB ext4 userdata



(parted) rm 11

rm 11

rm 11

(parted) resize

resize

resize

Partition number? 10

10

10



Start? [1611MB]?







End? [2684MB]? 11.6GB

11.6GB

11.6GB

(parted) p

p

p

Model: MMC SEM16G (sd/mmc)

Disk /dev/block/mmcblk0: 15.9GB

Sector size (logical/physical): 512B/512B

Partition Table: gpt



Number Start End Size File system Name Flags

1 131kB 262kB 131kB xloader

2 262kB 524kB 262kB bootloader

3 524kB 16.3MB 15.7MB recovery

4 16.8MB 33.6MB 16.8MB boot

5 33.6MB 83.9MB 50.3MB fat32 rom

6 83.9MB 134MB 50.3MB fat32 bootdata

7 134MB 522MB 388MB ext4 factory

8 522MB 1164MB 642MB ext4 system

9 1164MB 1611MB 447MB ext4 cache

10 1611MB 11.6GB 9989MB fat32 media msftres



(parted) mkpartfs primary ext2

mkpartfs primary ext2

mkpartfs primary ext2

Start? 11.6GB

11.6GB

11.6GB

End? 15.6GB

15.6GB

15.6GB





(parted)

(parted) p

p

p

Model: MMC SEM16G (sd/mmc)

Disk /dev/block/mmcblk0: 15.9GB

Sector size (logical/physical): 512B/512B

Partition Table: gpt



Number Start End Size File system Name Flags

1 131kB 262kB 131kB xloader

2 262kB 524kB 262kB bootloader

3 524kB 16.3MB 15.7MB recovery

4 16.8MB 33.6MB 16.8MB boot

5 33.6MB 83.9MB 50.3MB fat32 rom

6 83.9MB 134MB 50.3MB fat32 bootdata

7 134MB 522MB 388MB ext4 factory

8 522MB 1164MB 642MB ext4 system

9 1164MB 1611MB 447MB ext4 cache

10 1611MB 11.6GB 9989MB fat32 media msftres

11 11.6GB 15.9GB 4326MB ext2



(parted) name 11 userdata

name 11 userdata

name 11 userdata

(parted) p

p

p

Model: MMC SEM16G (sd/mmc)

Disk /dev/block/mmcblk0: 15.9GB

Sector size (logical/physical): 512B/512B

Partition Table: gpt



Number Start End Size File system Name Flags

1 131kB 262kB 131kB xloader

2 262kB 524kB 262kB bootloader

3 524kB 16.3MB 15.7MB recovery

4 16.8MB 33.6MB 16.8MB boot

5 33.6MB 83.9MB 50.3MB fat32 rom

6 83.9MB 134MB 50.3MB fat32 bootdata

7 134MB 522MB 388MB ext4 factory

8 522MB 1164MB 642MB ext4 system

9 1164MB 1611MB 447MB ext4 cache

10 1611MB 11.6GB 9989MB fat32 media msftres

11 11.6GB 15.9GB 4326MB ext2 userdata



(parted) quit

quit

quit

Information: You may need to update /etc/fstab.



~ # tune2fs -j /dev/block/mmcblk0p11

tune2fs -j /dev/block/mmcblk0p11

tune2fs 1.41.6 (30-May-2009)

Creating journal inode: done

This filesystem will be automatically checked every 30 mounts or

0 days, whichever comes first. Use tune2fs -c or -i to override.



~ # e2fsck -fDp /dev/block/mmcblk0p11

e2fsck -fDp /dev/block/mmcblk0p11

/dev/block/mmcblk0p11: 11/529056 files (0.0% non-contiguous), 49429/1056092 blks



~ # tune2fs -O extents,uninit_bg,dir_index /dev/block/mmcblk0p11

tune2fs -O extents,uninit_bg,dir_index /dev/block/mmcblk0p11

tune2fs 1.41.6 (30-May-2009)



Please run e2fsck on the filesystem.



~ # e2fsck -fDp /dev/block/mmcblk0p11

e2fsck -fDp /dev/block/mmcblk0p11

/dev/block/mmcblk0p11: Group descriptor 0 checksum is invalid. FIXED.

/dev/block/mmcblk0p11: Group descriptor 1 checksum is invalid. FIXED.

/dev/block/mmcblk0p11: Group descriptor 2 checksum is invalid. FIXED.

/dev/block/mmcblk0p11: Group descriptor 3 checksum is invalid. FIXED.

/dev/block/mmcblk0p11: Group descriptor 4 checksum is invalid. FIXED.

/dev/block/mmcblk0p11: Group descriptor 5 checksum is invalid. FIXED.

/dev/block/mmcblk0p11: Group descriptor 6 checksum is invalid. FIXED.

/dev/block/mmcblk0p11: Group descriptor 7 checksum is invalid. FIXED.

/dev/block/mmcblk0p11: Group descriptor 8 checksum is invalid. FIXED.

/dev/block/mmcblk0p11: Group descriptor 9 checksum is invalid. FIXED.

/dev/block/mmcblk0p11: Group descriptor 10 checksum is invalid. FIXED.

/dev/block/mmcblk0p11: Group descriptor 11 checksum is invalid. FIXED.

/dev/block/mmcblk0p11: Group descriptor 12 checksum is invalid. FIXED.

/dev/block/mmcblk0p11: Group descriptor 13 checksum is invalid. FIXED.

/dev/block/mmcblk0p11: Group descriptor 14 checksum is invalid. FIXED.

/dev/block/mmcblk0p11: Group descriptor 15 checksum is invalid. FIXED.

/dev/block/mmcblk0p11: Group descriptor 16 checksum is invalid. FIXED.

/dev/block/mmcblk0p11: Group descriptor 17 checksum is invalid. FIXED.

/dev/block/mmcblk0p11: Group descriptor 18 checksum is invalid. FIXED.

/dev/block/mmcblk0p11: Group descriptor 19 checksum is invalid. FIXED.

/dev/block/mmcblk0p11: Group descriptor 20 checksum is invalid. FIXED.

/dev/block/mmcblk0p11: Group descriptor 21 checksum is invalid. FIXED.

/dev/block/mmcblk0p11: Group descriptor 22 checksum is invalid. FIXED.

/dev/block/mmcblk0p11: Group descriptor 23 checksum is invalid. FIXED.

/dev/block/mmcblk0p11: Group descriptor 24 checksum is invalid. FIXED.

/dev/block/mmcblk0p11: Group descriptor 25 checksum is invalid. FIXED.

/dev/block/mmcblk0p11: Group descriptor 26 checksum is invalid. FIXED.

/dev/block/mmcblk0p11: Group descriptor 27 checksum is invalid. FIXED.

/dev/block/mmcblk0p11: Group descriptor 28 checksum is invalid. FIXED.

/dev/block/mmcblk0p11: Group descriptor 29 checksum is invalid. FIXED.

/dev/block/mmcblk0p11: Group descriptor 30 checksum is invalid. FIXED.

/dev/block/mmcblk0p11: Group descriptor 31 checksum is invalid. FIXED.

/dev/block/mmcblk0p11: Group descriptor 32 checksum is invalid. FIXED.

/dev/block/mmcblk0p11: Adding dirhash hint to filesystem.



/dev/block/mmcblk0p11: 11/529056 files (0.0% non-contiguous), 49429/1056092 bl

ks

~ # parted /dev/block/mmcblk0

parted /dev/block/mmcblk0

GNU Parted 1.8.8.1.179-aef3

Using /dev/block/mmcblk0

Welcome to GNU Parted! Type 'help' to view a list of commands.

(parted) p

p

p

Model: MMC SEM16G (sd/mmc)

Disk /dev/block/mmcblk0: 15.9GB

Sector size (logical/physical): 512B/512B

Partition Table: gpt



Number Start End Size File system Name Flags

1 131kB 262kB 131kB xloader

2 262kB 524kB 262kB bootloader

3 524kB 16.3MB 15.7MB recovery

4 16.8MB 33.6MB 16.8MB boot

5 33.6MB 83.9MB 50.3MB fat32 rom

6 83.9MB 134MB 50.3MB fat32 bootdata

7 134MB 522MB 388MB ext4 factory

8 522MB 1164MB 642MB ext4 system

9 1164MB 1611MB 447MB ext4 cache

10 1611MB 11.6GB 9989MB fat32 media msftres

11 11.6GB 15.9GB 4326MB ext4 userdata



(parted) quit

quit

quit



*****

Now reboot back into recovery (advanced option). Restore your data partition and reboot system.