您的位置:首页 > 运维架构 > Linux

linux下U盘挂载失败的解决

2015-09-17 14:39 2296 查看
错误: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
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: