Linux 安装U盘的过程
添加时间:2010-12-1
添加:
admin
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。
<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。
新文章:
- CentOS7下图形配置网络的方法
- CentOS 7如何添加删除用户
- 如何解决centos7双系统后丢失windows启动项
- CentOS单网卡如何批量添加不同IP段
- CentOS下iconv命令的介绍
- Centos7 SSH密钥登陆及密码密钥双重验证详解
- CentOS 7.1添加删除用户的方法
- CentOS查找/扫描局域网打印机IP讲解
- CentOS7使用hostapd实现无AP模式的详解
- su命令不能切换root的解决方法
- 解决VMware下CentOS7网络重启出错
- 解决Centos7双系统后丢失windows启动项
- CentOS下如何避免文件覆盖
- CentOS7和CentOS6系统有什么不同呢
- Centos 6.6默认iptable规则详解