免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 2548 | 回复: 8
打印 上一主题 下一主题

如何使用U盘 [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2004-04-09 22:49 |只看该作者 |倒序浏览
在fedora下怎样可以使用U盘?没有关于linux的驱程啊

论坛徽章:
0
2 [报告]
发表于 2004-04-09 22:58 |只看该作者

如何使用U盘

一般不需要装驱动,只要改updfstab的配置文件即可。具体你可以看一下updfstab的帮助。

man updfstab
man updfstab.conf

论坛徽章:
0
3 [报告]
发表于 2004-04-09 23:00 |只看该作者

如何使用U盘

:em11: #:mkdir /mnt/usb
                          #:mount /dev/sda1  /mnt/usb

论坛徽章:
0
4 [报告]
发表于 2004-04-10 01:31 |只看该作者

如何使用U盘

我照住去做啦,但是佢会出现
mount: /dev/sdal is not a valid block device
咁是点解啊

论坛徽章:
0
5 [报告]
发表于 2004-04-10 07:59 |只看该作者

如何使用U盘

fedora是比red hat  更高级的版本啊,肯定可以支持U盘的,你在试试:
1.插入U盘
2.桌面点击右键新建终端;
3.提示符下输入 mkdir  /mnt/usb
                        
                           mount/dev/sda1      /mnt/usb
                           
                           cd   /mnt/usb
      
                           ls

看看有没有显示你U盘的内容,应该没有问题了.

论坛徽章:
0
6 [报告]
发表于 2004-04-10 09:22 |只看该作者

如何使用U盘

lsmod to show the usb modules, or else type :

# modprobe usb-ohci   or  # modprobe usb-uhci

it should either one will work for your usb device, after detected
usb, type :

# modprobe ide-scsi

to emulate your usb storage to scsi (/dev/sdax), after this try mount your /dev/sda1.

# mount -t vfat /dev sda1 /mnt/xxx

论坛徽章:
0
7 [报告]
发表于 2004-04-10 09:27 |只看该作者

如何使用U盘

先用lsusb查看你的USB设备是否被加载,

没有加载用modprobe或insmod来加载,

成功后可以用fdisk -l /dev/sda来查看USB盘的分区信息,

如果没有分区的话,先分区再格式化后最后挂载。

Good Luck!

论坛徽章:
0
8 [报告]
发表于 2004-04-16 10:03 |只看该作者

如何使用U盘

拜托!!!!!!!!!!!11
mount /dev/sda1 不是 mount /dev/sdal ,'1'和'l'要看清啊

论坛徽章:
1
荣誉会员
日期:2011-11-23 16:44:17
9 [报告]
发表于 2004-04-16 10:23 |只看该作者

如何使用U盘

fdisk -l /dev/sd?或者fdisk -l /dev/sda?看返回的信息哪个有你的u盘信息。
比如我的返回信息:
Disk /dev/sdb: 16 MB, 16384512 bytes
1 heads, 32 sectors/track, 1000 cylinders
Units = cylinders of 32 * 512 = 16384 bytes


   Device Boot    Start       End    Blocks   Id  System
/dev/sdb1   ?  58430356  63701903  84344761   69  Unknown
Partition 1 has different physical/logical beginnings (non-Linux?):
     phys=(68, 13, 10) logical=(58430355, 0, 6)
Partition 1 has different physical/logical endings:
     phys=(288, 115, 43) logical=(63701902, 0, 23)
Partition 1 does not end on cylinder boundary.
/dev/sdb2   ?  53172484 111606280 934940732+  73  Unknown
Partition 2 has different physical/logical beginnings (non-Linux?):
     phys=(371, 114, 37) logical=(53172483, 0, 26)
Partition 2 has different physical/logical endings:
     phys=(366, 32, 33) logical=(111606279, 0, 1

红色部分就是我的u盘的信息了,所以我就应该mount /dev/sdb /mnt/usbhdd。

具体到你的环境可能会不同,但是原理一样,只要找到自己的u盘信息就好了。
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP