首頁(yè) > 服務(wù)器 > Linux服務(wù)器 > 正文

Linux安裝U盤(pán)的過(guò)程

2018-10-16 21:31:02
字體:
來(lái)源:轉載
供稿:網(wǎng)友
 

  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看看有沒(méi)有sda1列出來(lái)

  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]
  可以保證任何一個(gè)用戶(hù)都可以mount USB番,并且啟動(dòng)時(shí)不加載
  <2>:關(guān)于中文,在本站有很多相關(guān)的文章,自己編譯內核,把CP936編譯成為Native Language。

發(fā)表評論 共有條評論
用戶(hù)名: 密碼:
驗證碼: 匿名發(fā)表