linux下U盘挂载失败的解决
2015-09-17 14:39
2396 查看
错误:mount: mounting /dev/usbdev1.8 on /mnt/usb/udisk/ failed: Block device required
以上错误是由于内核配置没设好。要把如下的配置给勾上。
Support for hot-pluggable devices
│ │ Device Drivers --->
│ │ Generic Driver Options --->
│<*> Hotplug firmware loading support
│ │ Block devices --->
│ │ <*> Low Performance USB Block driver
│ │ SCSI device support --->
│ │ <*> SCSI generic support
Probe
all LUNs on each SCSI device
│ │ USB support --->
│ │<*> Support for Host-side USB
USB
device filesystem
│ │<*> OHCI HCD support
│ │<*> USB Mass Storage support
│
│ File systems --->
│ │ DOS/FAT/NT Filesystems --->
│ ┌───────────────────────────────────────────────────────────────────────────┐ │
│ │ <*> MSDOS fs support │ │
│ │ <*> VFAT (Windows-95) fs support │ │
│ │ (437) Default codepage for FAT │ │
│ │ (iso8859-1) Default iocharset for FAT │ │
│ │ <*> NTFS file system support │ │
│ │ [*] NTFS debugging support │ │
│ │ [*] NTFS write support
1、提示
Unable to load NLS charset cp437
FAT: codepage cp437 not found
则进入
File systems--》
Native language support--》
<*> Codepage 437 (United States, Canada)
选上即可,若
2、再提示:
Unable to load NLS charset iso8859-1
FAT: IO charset iso8859-1 not found
则进入:
File systems--》
Native language support--》
<*> NLS ISO 8859-1 (Latin 1; Western European Languages)
选上即可!
编译烧录以后插入U盘就会在dev目录下生成sda、sda1两个文件。正确挂载U盘:
mount -t vfat /dev/sda1 /mnt
以上错误是由于内核配置没设好。要把如下的配置给勾上。
Support for hot-pluggable devices
│ │ Device Drivers --->
│ │ Generic Driver Options --->
│<*> Hotplug firmware loading support
│ │ Block devices --->
│ │ <*> Low Performance USB Block driver
│ │ SCSI device support --->
│ │ <*> SCSI generic support
Probe
all LUNs on each SCSI device
│ │ USB support --->
│ │<*> Support for Host-side USB
USB
device filesystem
│ │<*> OHCI HCD support
│ │<*> USB Mass Storage support
│
│ File systems --->
│ │ DOS/FAT/NT Filesystems --->
│ ┌───────────────────────────────────────────────────────────────────────────┐ │
│ │ <*> MSDOS fs support │ │
│ │ <*> VFAT (Windows-95) fs support │ │
│ │ (437) Default codepage for FAT │ │
│ │ (iso8859-1) Default iocharset for FAT │ │
│ │ <*> NTFS file system support │ │
│ │ [*] NTFS debugging support │ │
│ │ [*] NTFS write support
1、提示
Unable to load NLS charset cp437
FAT: codepage cp437 not found
则进入
File systems--》
Native language support--》
<*> Codepage 437 (United States, Canada)
选上即可,若
2、再提示:
Unable to load NLS charset iso8859-1
FAT: IO charset iso8859-1 not found
则进入:
File systems--》
Native language support--》
<*> NLS ISO 8859-1 (Latin 1; Western European Languages)
选上即可!
编译烧录以后插入U盘就会在dev目录下生成sda、sda1两个文件。正确挂载U盘:
mount -t vfat /dev/sda1 /mnt
相关文章推荐
- linux 修改防火墙配置
- centOS下配置SCST
- Linux系统启动02-stage1
- CentOS7 yum 源的配置与使用
- Linux如何在线修改hostname
- Linux系统中特殊文件权限
- Linux中常用的操作命令和vi操作命令以及gdb调试命令
- linux 代码段,数据段,堆,栈的存放的数据
- linux学习笔记---文件与目录管理
- 学习嵌入式Linux-选择iTOP-4412开发板
- linux-3.4.2内核移植到jz2440
- PostgreSQL SystemTap on Linux 转
- linux磁盘分区
- 也许是该谈谈全新的 Linux 显示驱动模型的时候了
- Linux中wait用法注意
- centos lsb版本冲突的解决方案
- centos 7配置静态IP 后 service network restart 成功 IP仍然保持原来值不变
- linux mac中实现类似secureCRT的clone session
- linux下常用命令
- Linux上安装Weblogic并部署iserver 7C war 包