我一直在尝试使用最新的debian jessie-lite图像格式化 SD 卡,以便与 raspberry pi 一起使用。使用 dd 命令时,它指出复制 10 兆后设备上没有剩余空间。我搜索了 SE 并尝试使用各种问题的答案,但我总是回到同一个地方。以下是可能感兴趣的 dd、fdisk、df 和 ls 命令的输出。
/dev/sdb 是 SD 卡
dd bs=4M if=/home/user/Downloads/2017-02-16-raspbian-jessie-lite.img of=/dev/sdb
dd: error writing ‘/dev/sdb’: No space left on device
3+0 records in
2+0 records out
10485760 bytes (10 MB) copied, 0.0137885 s, 760 MB/s
Run Code Online (Sandbox Code Playgroud)
fdisk -l /dev/sdb
Disk /dev/sdb: 10 MiB, 10485760 bytes, 20480 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O …Run Code Online (Sandbox Code Playgroud)