当前位置:操作系统 > Unix/Linux >>

Linux安装U盘的过程

1:确定你的内核支持U番

  <1>:SCSI的选项默认就可以

  <2>:USB的选项一定要安装<*> USB Mass Storage support

  <3>:如下:

  代码:

  <*> SCSI support

  --- SCSI support type (disk, tape, CD-ROM)

  <*> SCSI disk support

  (40) Maximum number of SCSI disks that can be loaded as modules

  < > SCSI tape support

  < > SCSI OnStream SC-x0 tape support

  < > SCSI CD-ROM support

  < > SCSI generic support

  --- Some SCSI devices (e.g. CD jukebox) support multiple LUNs

  [*] Enable extra checks in new queueing code

  [*] Probe all LUNs on each SCSI device

  [*] Verbose SCSI error reporting (kernel size +=12K)

  [ ] SCSI logging facility

  SCSI low-level drivers --->

  PCMCIA SCSI adapter support --->

  <*> USB Mass Storage support

  [ ] USB Mass Storage verbose debug

  [ ] Freecom USB/ATAPI Bridge support

  [ ] ISD-200 USB/ATA Bridge support

  [ ] Microtech CompactFlash/SmartMedia support

  2:fdisk -l /dev/sda看看有没有sda1列出来

  3:如果有,

  mkdir /mnt/usb

  mount /dev/sda1 /mnt/usb -t vfat(当然也可能是msdos)

  4:其他:

  <1>:在/etc/fstab里面加入:

  [/code]/dev/sda1 /mnt/usb vfat user,noauto,codepage=936,iocharset=cp936,umask=022 0 0[/code]

  可以保证任何一个用户都可以mount USB番,并且启动时不加载

  <2>:关于中文,在本站有很多相关的文章,自己编译内核,把CP936编译成为Native Language。

CopyRight © 2022 站长资源库 编程知识问答 zzzyk.com All Rights Reserved
部分文章来自网络,