BeagleboneBlack Save eMMC script problem - mmcblk1 not in /dev

Hello all,

I’m trying to use the beagleboneblack-save-emmc.zip found here to make a custom img file from my eMMC contents (so I can flash it to another BBB or make a backup or whatever).

When I extract the zip onto the uSD card (FAT32 formatted with boot flag) and boot it on my BeagleBone Black, my BBB goes straight to holding LED0 to full (meaning it reached the end of the script). Additionally, it creates an image file, but the image file is only 20 bytes, and I don’t think it’s an accurate extraction of my eMMC :wink:

I’ve modified autorun.sh to add the lines:

mount > /mnt/mount.log
ls /dev > /mnt/lsdev.log

Looking at those files, I can see that mmcblk1 isn’t in /dev, so logically the line that dd’s mmcblk1 to the image isn’t working right (It’s also not supposed to be mmcblk0, because that appears to be my uSD card (see mount.log)).

This is kinda where my knowledge of Linux runs out. I don’t understand how things show up in /dev, so I’m lost as to how to fix this .

I appreciate whatever help you can give. I’m at a dead end :slight_smile:

CONTENTS OF mount.log:

rootfs on / type rootfs (rw)
devtmpfs on /dev type devtmpfs (rw,relatime,size=251564k,nr_inodes=62891,mode=755)
proc on /proc type proc (rw,relatime)
devpts on /dev/pts type devpts (rw,relatime,gid=5,mode=620)
tmpfs on /dev/shm type tmpfs (rw,relatime,mode=777)
tmpfs on /tmp type tmpfs (rw,relatime)
sysfs on /sys type sysfs (rw,relatime)
/dev/mmcblk0p1 on /mnt type vfat (rw,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro)

CONTENTS OF lsdev.log:

bus
console
cpu_dma_latency
full
i2c-0
i2c-1
input
kmem
kmsg
log
loop-control
loop0
loop1
loop2
loop3
loop4
loop5
loop6
loop7
mem
mmcblk0
mmcblk0p1
network_latency
network_throughput
null
psaux
ptmx
pts
ram0
ram1
ram10
ram11
ram12
ram13
ram14
ram15
ram2
ram3
ram4
ram5
ram6
ram7
ram8
ram9
random
rtc0
shm
snd
tty
tty0
tty1
tty10
tty11
tty12
tty13
tty14
tty15
tty16
tty17
tty18
tty19
tty2
tty20
tty21
tty22
tty23
tty24
tty25
tty26
tty27
tty28
tty29
tty3
tty30
tty31
tty32
tty33
tty34
tty35
tty36
tty37
tty38
tty39
tty4
tty40
tty41
tty42
tty43
tty44
tty45
tty46
tty47
tty48
tty49
tty5
tty50
tty51
tty52
tty53
tty54
tty55
tty56
tty57
tty58
tty59
tty6
tty60
tty61
tty62
tty63
tty7
tty8
tty9
ttyO0
ttyS0
ttyS1
ttyS2
ttyS3
ubi_ctrl
urandom
usbmon0
usbmon1
vcs
vcs1
vcsa
vcsa1
watchdog
watchdog0
zero

Thanks for any help,

Kevin Johnson
kevin@coolkev.com