Using Beaglebone.
Need to run dd to backup an image and then restore it.
dd bs=64K if=/dev/sdX of=/dev/mmcblk1/myImage.img
But I don't see any sdX, where X is a number.
So, what should be the input file path for a full backup?
Using Beaglebone.
Need to run dd to backup an image and then restore it.
dd bs=64K if=/dev/sdX of=/dev/mmcblk1/myImage.img
But I don't see any sdX, where X is a number.
So, what should be the input file path for a full backup?
Run lsblk to see what disks/partitions you have. On the far right you will see mountpoints, this info will help you with what partition/drive you are trying to make image of.
$ lsblk
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT
vda 253:0 0 10G 0 disk
└─vda1 253:1 0 10G 0 part /
vdb 253:16 0 366K 0 disk