首頁 > 服務器 > Linux服務器 > 正文

Linux安裝U盤的過程

2018-10-16 21:31:02
字體:
來源:轉載
供稿:網友
 

  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。

發表評論 共有條評論
用戶名: 密碼:
驗證碼: 匿名發表
金玫玫床戏