0

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?

galoget
  • 3,023

1 Answers1

1

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
Melebius
  • 11,750
boggy
  • 380