立即注册 找回密码

QQ登录

只需一步,快速开始

查看: 3666|回复: 0

[Linux主机系统教程] Linux下挂载移动硬盘和USB的方法

[复制链接]
发表于 2015-3-31 18:07:01 | 显示全部楼层 |阅读模式
道勤网-数据www.daoqin.net

亲注册登录道勤网-可以查看更多帖子内容哦!(包涵精彩图片、文字详情等)请您及时注册登录-www.daoqin.net

您需要 登录 才可以下载或查看,没有账号?立即注册

x
USB和IDE接口

[USB接口]

(1)lsusb看usb设备状态或者system tools->hardware browser

[root@DBRAC root]# lsusb
Bus 004 Device 001: ID 0000:0000
Bus 004 Device 002: ID 0402:5621 ALi Corp.
Bus 003 Device 001: ID 0000:0000
Bus 003 Device 002: ID 0ed1:6685
Bus 002 Device 001: ID 0000:0000
Bus 001 Device 001: ID 0000:0000

(2)fdisk -l 将所有物理接口列出来

注意:如果不出来USB,进入hardware browser,将激活USB的扫描!

[root@DBRAC root]# fdisk -l

Disk /dev/sda: 163.9 GB, 163928604672 bytes
255 heads, 63 sectors/track, 19929 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

   Device Boot    Start       End    Blocks   Id  System
/dev/sda1   *         1        13    104391   83  linux
/dev/sda2            14      4092  32764567+  83  Linux
/dev/sda3          4093      4353   2096482+  82  Linux swap
/dev/sda4          4354     19929 125114220    f  Win95 Ext'd (LBA)
/dev/sda5          4354     19929 125114188+  83  Linux

Disk /dev/sdb: 129 MB, 129895424 bytes
4 heads, 62 sectors/track, 1022 cylinders
Units = cylinders of 248 * 512 = 126976 bytes

   Device Boot    Start       End    Blocks   Id  System
/dev/sdb1   ?  15727761  13193526 1833238533   86  NTFS volume set
Partition 1 has different physical/logical beginnings (non-Linux?):
     phys=(774, 46, 63) logical=(15727760, 1, 1)
Partition 1 has different physical/logical endings:
     phys=(951, 124, 34) logical=(13193525, 1, 50)
Partition 1 does not end on cylinder boundary.
/dev/sdb2   ?   4104472    655495 1719810560   33  Unknown
Partition 2 has different physical/logical beginnings (non-Linux?):
     phys=(80, 96, 0) logical=(4104471, 1, 47)
Partition 2 has different physical/logical endings:
     phys=(459, 192, 16) logical=(655494, 3, 42)
Partition 2 does not end on cylinder boundary.
/dev/sdb3   ?         1         1         0    0  Empty
Partition 3 has different physical/logical beginnings (non-Linux?):
     phys=(963, 235, 55) logical=(0, 0, 1)
Partition 3 has different physical/logical endings:
     phys=(0, 0, 0) logical=(17318416, 2, 4)
Partition 3 does not end on cylinder boundary.

Partition table entries are not in disk order

Disk /dev/hda: 81.9 GB, 81964302336 bytes
255 heads, 63 sectors/track, 9964 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

   Device Boot    Start       End    Blocks   Id  System
/dev/hda1             1      2550  20482843+   7  HPFS/NTFS
/dev/hda2   *      2551      5161  20972857+  83  Linux
/dev/hda3          5162      5292   1052257+  82  Linux swap

Disk /dev/hdb: 163.9 GB, 163928604672 bytes
255 heads, 63 sectors/track, 19929 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

   Device Boot    Start       End    Blocks   Id  System
/dev/hdb1   *         1      5222  41945683+   7  HPFS/NTFS
/dev/hdb2          5223     19929 118133977+   f  Win95 Ext'd (LBA)
/dev/hdb5          5223      9139  31463271    7  HPFS/NTFS
/dev/hdb6          9140     16972  62918541    7  HPFS/NTFS
/dev/hdb7         16973     19929  23752071    7  HPFS/NTFS

说明:2 个IDE接口的硬盘,1个USB接口的硬盘,1 个USB接口的U盘。

可以加载U盘:mount -t msdoc /dev/sdb /mnt

A、在/mnt目录下建立一个挂装USB存储器的目录:

  mkdir /mnt/usb

B、然后再运行装载设备命令,将USB设备挂装到/mnt/usb目录下:

  mount -t msdos /dev/sdb /mnt/usb

加载硬盘,指定特定分区:

[root@DBRAC /]# mount -t ext3 /dev/sda5 /mnt
[root@DBRAC /]# cd /mnt
[root@DBRAC mnt]# ls
home  lost+found

为了方便浏览:

(1)采用KDE方式,支持中文(logout后选择设定即可)

(2)KDE下在桌面空白处mouse右键,Create New->Hard Disk,输入设备名,若还没有mount,则输入

mount point。

(3)点开硬盘图标,就可方便浏览文件,支持中文。
道勤主机提供365天*24小时全年全天无休、实时在线、零等待的售后技术支持。竭力为您免费处理您在使用道勤主机过程中所遇到的一切问题! 如果您是道勤主机用户,那么您可以通过QQ【792472177】、售后QQ【59133755】、旺旺【诠释意念】、微信:q792472177免费电话、后台提交工单这些方式联系道勤主机客服! 如果您不是我们的客户也没问题,点击页面最右边的企业QQ在线咨询图标联系我们并购买后,我们为您免费进行无缝搬家服务,让您享受网站零访问延迟的迁移到道勤主机的服务!
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

关闭

道勤网- 推荐内容!上一条 /2 下一条

!jz_fbzt! !jz_sgzt! !jz_xgzt! 快速回复 !jz_fhlb! !jz_lxwm! !jz_gfqqq!

关于我们|手机版|小黑屋|地图|【道勤网】-www.daoqin.net 软件视频自学教程|免费教程|自学电脑|3D教程|平面教程|影视动画教程|办公教程|机械设计教程|网站设计教程【道勤网】 ( 皖ICP备15000319号-1 )

GMT+8, 2024-5-16 09:39

Powered by DaoQin! X3.4 © 2016-2063 Dao Qin & 道勤科技

快速回复 返回顶部 返回列表