免费注册 查看新帖 |

Chinaunix

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

mount USB硬盘问题 [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2004-09-06 11:49 |只看该作者 |倒序浏览
我用fdisk -l 列出硬盘分区信息如下
  1. [root@Database root]# fdisk -l

  2. Disk /dev/sda: 10.0 GB, 10056130560 bytes
  3. 255 heads, 63 sectors/track, 1222 cylinders
  4. Units = cylinders of 16065 * 512 = 8225280 bytes

  5.    Device Boot    Start       End    Blocks   Id  System
  6. /dev/sda1             1      2431  19526976    c  Win95 FAT32 (LBA)

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

  10.    Device Boot    Start       End    Blocks   Id  System
  11. /dev/hda1   *         1      1912  15358108+   7  HPFS/NTFS
  12. /dev/hda2          1913      4523  20972857+  83  Linux
  13. /dev/hda3          4524      5555   8289540   83  Linux
  14. /dev/hda4          5556      9964  35415292+   f  Win95 Ext'd (LBA)
  15. /dev/hda5          5556      5816   2096451   82  Linux swap
  16. /dev/hda6          5817      9964  33318778+   c  Win95 FAT32 (LBA)
复制代码


但是我在使用命令:
  1. mount -t vfat /dev/sda1 /mnt/usb
复制代码


出现了以下错误,如何解决

  1. mount -t vfat /dev/sda1 /mnt/usb
  2. mount: wrong fs type, bad option, bad superblock on /dev/sda1,
  3.        or too many mounted file systems
  4.        (aren't you trying to mount an extended partition,
  5.        instead of some logical partition inside?)
复制代码

论坛徽章:
0
2 [报告]
发表于 2004-09-06 12:46 |只看该作者

mount USB硬盘问题

你再新建个目录
/mnt/usbdisk
#mount /dev/sda1 /mnt/usbdisk
试试

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

mount USB硬盘问题

谢谢您的回复

新建一个目录还是一样的错误

论坛徽章:
33
荣誉会员
日期:2011-11-23 16:44:17天秤座
日期:2014-08-26 16:18:20天秤座
日期:2014-08-29 10:12:18丑牛
日期:2014-08-29 16:06:45丑牛
日期:2014-09-03 10:28:58射手座
日期:2014-09-03 16:01:17寅虎
日期:2014-09-11 14:24:21天蝎座
日期:2014-09-17 08:33:55IT运维版块每日发帖之星
日期:2016-04-17 06:23:27操作系统版块每日发帖之星
日期:2016-04-18 06:20:00IT运维版块每日发帖之星
日期:2016-04-24 06:20:0015-16赛季CBA联赛之天津
日期:2016-05-06 12:46:59
4 [报告]
发表于 2004-09-06 15:11 |只看该作者

mount USB硬盘问题

直接 mount /dev/sda1 /mnt/usb 试试。

另外,那你硬盘不是ntfs 分区的吧?

论坛徽章:
0
5 [报告]
发表于 2004-09-06 15:30 |只看该作者

mount USB硬盘问题

不是ntfs,用fdisk可以看的到,但是mount不上,忘了说我的操作系统是RedHat Eterprise Server 3.0 up2

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

mount USB硬盘问题

fdisk /dev/sda 看看有没有什么信息,不要对你做的任何操作保存,有些windows下格式化的USB设备不能在linux下工作。

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

mount USB硬盘问题

  1. fdisk /dev/sda

  2. The number of cylinders for this disk is set to 2432.
  3. There is nothing wrong with that, but this is larger than 1024,
  4. and could in certain setups cause problems with:
  5. 1) software that runs at boot time (e.g., old versions of LILO)
  6. 2) booting and partitioning software from other OSs
  7.    (e.g., DOS FDISK, OS/2 FDISK)

  8. Command (m for help): p

  9. Disk /dev/sda: 20.0 GB, 20003880960 bytes
  10. 255 heads, 63 sectors/track, 2432 cylinders
  11. Units = cylinders of 16065 * 512 = 8225280 bytes

  12.    Device Boot    Start       End    Blocks   Id  System
  13. /dev/sda1             1      2431  19526976    c  Win95 FAT32 (LBA)
复制代码

论坛徽章:
0
8 [报告]
发表于 2004-09-06 17:35 |只看该作者

mount USB硬盘问题

重起再试试也是一样么?
#mount /dev/sda1 /mnt/usb
/mnt/usb 你建这个目录了吧,恩,肯定是有
怪了

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

mount USB硬盘问题

[root@Database root]# fdisk -l

Disk /dev/sda: 10.0 GB, 10056130560 bytes


Disk /dev/sda: 20.0 GB, 20003880960 bytes

一个10GB哦,一个20GB哦。有问题哦,我的USB设备都是在linux下分区,格式化的,这样windows和linux使用都不会有问题。

不知道你的是什么原因

论坛徽章:
0
10 [报告]
发表于 2004-09-06 17:59 |只看该作者

mount USB硬盘问题

是阿,还是你细心
楼主usb硬盘怎么分区的?
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

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

清除 Cookies - ChinaUnix - Archiver - WAP - TOP