I Can`t Format the microSD for flashing Linux.
I use usb microSD card reader. Mount it to /media/disk
run script ./format_sd.sh -d /media/disk
But it return:
/media/disk is not a block device,
please specify the device file representing your SD card
What I do wrong?
Just as the error message suggests rather than the mount point /media/disk
you should specify the raw block device file (e.g. /dev/sdb
). Please have a look at the df
and/or lsblk
output to find the exact device representing your microSD card.
An alternative to direct get the device block mounted:
mount | grep "/media/disk" | cut -d " " -f1
Cleiton Bueno
Blog | Linkedin | B2Open