我使用 win32DiskManage 將映像複製到 USB 隨身碟。我想在我的 beagleboneblack 系統上複製此圖像Linux
。 U 碟的檔案系統是FAT
.
現在我想在我的 Beaglebone 上安裝 USB 裝置。我執行以下操作:
mount -t vfat /dev/sdb1 /mnt
我得到:
mount -t vfat /dev/sdb1 /mnt
mount: wrong fs type, bad option, bad superblock on /dev/sde1,
missing codepage or helper program, or other error
In some cases useful info is found in syslog - try
dmesg | tail or so
命令:dmesg | tail
給出:
root@beaglebone:~# dmesg | tail
[ 1170.155394] hub 1-0:1.0: port 1 enable change, status 00000503
[ 1171.483876] scsi 2:0:0:0: Direct-Access JetFlash Transcend 32GB 1100 PQ: 0 ANSI: 6
[ 1171.497571] sd 2:0:0:0: [sdb] 61702144 512-byte logical blocks: (31.5 GB/29.4 GiB)
[ 1171.498411] sd 2:0:0:0: [sdb] Write Protect is off
[ 1171.498458] sd 2:0:0:0: [sdb] Mode Sense: 43 00 00 00
[ 1171.499253] sd 2:0:0:0: [sdb] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[ 1171.507032] sdb: sdb1
[ 1171.512322] sd 2:0:0:0: [sdb] Attached SCSI removable disk
[ 1189.507211] FAT-fs (sdb1): bogus number of reserved sectors
[ 1189.513288] FAT-fs (sdb1): Can't find a valid FAT filesystem
我想原因是檔案系統不是 FAT,當我在 Windows 中將映像複製到 USB 裝置上時,我總是將其格式化為 FAT 檔案系統,但在 BB 上時,命令 lsblk -f
給出:
root@beaglebone:~# lsblk -f
NAME FSTYPE LABEL MOUNTPOINT
sdb
`-sdb1 ext4 BOOT
mmcblk0boot0
mmcblk0boot1
mmcblk0
|-mmcblk0p1 vfat BEAGLEBONE
`-mmcblk0p2 ext4 rootfs /
為什麼ext4
?
當我將裝置安裝為 時ext4
,我找不到映像。並執行
dd if=/mnt/imagename.img of=/dev/mmcblk1 bs=4M
回饋:
dd: opening `/mnt/imagename.img': No such file or directory
我將感謝你的幫助:D