[Nook Color Android Development] starkruzr:
Yeah, there is no mmcblk1p5.

# fdisk -l /dev/block/mmcblk1

Disk /dev/block/mmcblk1: 8036 MB, 8036286464 bytes

255 heads, 63 sectors/track, 977 cylinders

Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot Start End Blocks Id System

/dev/block/mmcblk1p1 * 1 15 120456 c Win95 FAT32 (LBA)

/dev/block/mmcblk1p2 16 34 152617+ 83 Linux

/dev/block/mmcblk1p3 35 123 714892+ 83 Linux

/dev/block/mmcblk1p4 124 977 6859755 b Win95 FAT32

# fdisk -l /dev/block/mmcblk0

Disk /dev/block/mmcblk0: 7944 MB, 7944011776 bytes

255 heads, 63 sectors/track, 965 cylinders

Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot Start End Blocks Id System

/dev/block/mmcblk0p1 * 1 9 72261 c Win95 FAT32 (LBA)

/dev/block/mmcblk0p2 10 18 72292+ c Win95 FAT32 (LBA)

/dev/block/mmcblk0p3 19 56 305235 83 Linux

/dev/block/mmcblk0p4 57 935 7060567+ 5 Extended

/dev/block/mmcblk0p5 57 114 465853+ 83 Linux

/dev/block/mmcblk0p6 115 236 979933+ 83 Linux

/dev/block/mmcblk0p7 237 281 361431 83 Linux

/dev/block/mmcblk0p8 282 935 5253223+ c Win95 FAT32 (LBA)

#

mmcblk0 is the eMMC. mmcblk1 is the SD. That said I don't know why mmcblk1p5 worked at all. No such device exists. Doesn't exist in /dev/block either.

# cd block

# ls

loop0 loop6 mmcblk0p4 mmcblk1p1 ram10 ram2 ram8

loop1 loop7 mmcblk0p5 mmcblk1p2 ram11 ram3 ram9

loop2 mmcblk0 mmcblk0p6 mmcblk1p3 ram12 ram4 vold

loop3 mmcblk0p1 mmcblk0p7 mmcblk1p4 ram13 ram5

loop4 mmcblk0p2 mmcblk0p8 ram0 ram14 ram6

loop5 mmcblk0p3 mmcblk1 ram1 ram15 ram7

Still, formatting mmcblk0p5 and trying to dd the system.img to it just gets me this:

Formatting...

# mkfs.ext2 /dev/block/mmcblk0p5

Filesystem label=

OS type: Linux

Block size=1024 (log=0)

Fragment size=1024 (log=0)

116736 inodes, 465853 blocks

23292 blocks (5%) reserved for the super user

First data block=1

Maximum filesystem blocks=524288

57 block groups

8192 blocks per group, 8192 fragments per group

2048 inodes per group

Superblock backups stored on blocks:

8193, 24577, 40961, 57345, 73729, 204801, 221185, 401409

Writing image...

# dd if=/sdcard/system.img of=/dev/mmcblk0p5 bs=2M

dd: writing '/dev/mmcblk0p5': No space left on device

1+0 records in

0+0 records out

0 bytes (0B) copied, 0.033813 seconds, 0B/s

What does this actually look like?

# df -h

Filesystem Size Used Available Use% Mounted on

tmpfs 244.4M 244.4M 0 100% /dev

tmpfs 244.4M 0 244.4M 0% /mnt/asec

/dev/block/mmcblk0p2 69.5M 103.5K 69.4M 0% /rom

/dev/block/mmcblk1p2 144.3M 107.4M 29.5M 78% /system

/dev/block/mmcblk1p3 687.1M 59.7M 592.5M 9% /data

/dev/block/mmcblk0p7 341.8M 13.6M 324.7M 4% /mnt/cache

/dev/block/vold/179:20

6.5G 526.3M 6.0G 8% /mnt/sdcard

/dev/block/vold/179:20

6.5G 526.3M 6.0G 8% /mnt/secure/asec

mmcblk1p5 goes SOMEWHERE, and it looks like the eMMC, but it can't be because there isn't a device.

# mount /dev/mmcblk1p5 /data/eMMC

# ls /data/eMMC

ls: /data/eMMC/app: Input/output error

ls: /data/eMMC/fonts: Input/output error

ls: /data/eMMC/framework: Input/output error

ls: /data/eMMC/lost+found: Input/output error

ls: /data/eMMC/media: Input/output error

ls: /data/eMMC/xbin: Input/output error

bin build.prop etc lib tts usr

What am I missing here?

EDIT: Okay, when I changed to the /sdcard directory on my Froyo SD card and did:

dd if=system.img of=/dev/block/mmcblk0p5

For some reason it seems to be working correctly. We'll see if it actually boots ;)