日立80G移动硬盘挂载问题

CPU/显卡/打印机/USB设备等硬件问题
回复
ironurbane
帖子: 40
注册时间: 2008-06-17 2:56

日立80G移动硬盘挂载问题

#1

帖子 ironurbane » 2008-10-22 21:22

我装完系统后,想挂载移动硬盘,以下是我的操作步骤

sudo mkdir /media/sdb4
sudo mount -t ntfs -3g /dev/sdb1 /media/sdb4 -o force

然后就给我以下提示:
ironurbane@ironurbane:/mnt$ sudo mount -t ntfs -3g /dev/sdb1 /media/sdb4 -0 force
mount: invalid option -- 3
Usage: mount -V : print version
mount -h : print this help
mount : list mounted filesystems
mount -l : idem, including volume labels
So far the informational part. Next the mounting.
The command is `mount [-t fstype] something somewhere'.
Details found in /etc/fstab may be omitted.
mount -a [-t|-O] ... : mount all stuff from /etc/fstab
mount device : mount device at the known place
mount directory : mount known device here
mount -t type dev dir : ordinary mount command
Note that one does not really mount a device, one mounts
a filesystem (of the given type) found on the device.
One can also mount an already visible directory tree elsewhere:
mount --bind olddir newdir
or move a subtree:
mount --move olddir newdir
One can change the type of mount containing the directory dir:
mount --make-shared dir
mount --make-slave dir
mount --make-private dir
mount --make-unbindable dir
One can change the type of all the mounts in a mount subtree
containing the directory dir:
mount --make-rshared dir
mount --make-rslave dir
mount --make-rprivate dir
mount --make-runbindable dir
A device can be given by name, say /dev/hda1 or /dev/cdrom,
or by label, using -L label or by uuid, using -U uuid .
Other options: [-nfFrsvw] [-o options] [-p passwdfd].
For many more details, say man 8 mount .


我还以为是ntfs-config的原因,然后执行命令:
sudo apt-get install ntfs-config

然后执行刚才的命令,提示的信息和原来的一模一样,
麻烦大家能给偶个提示或解决方案,
thanks
ironurbane
帖子: 40
注册时间: 2008-06-17 2:56

Re: 日立80G移动硬盘挂载问题

#2

帖子 ironurbane » 2008-10-25 19:12

怎么没人回答呢,难道我没有说清楚?
头像
kofshower
帖子: 1343
注册时间: 2007-03-13 11:23
联系:

Re: 日立80G移动硬盘挂载问题

#3

帖子 kofshower » 2008-10-25 19:29

直接写ntfs,再说上面的提示是叫你ntfs -3g之间有个空格,再说不要这么麻烦吧,gnome下面挂在用的是gnome-volume-manager(需要hal,dbus daemon),不装gnome或是其他的话自己选,不依赖桌面环境的话有autofs和ivmon,这些统统都是自己建/media目录然后帮你挂载的

最后,鉴于你是移动设备,最简单是一句 pmount /dev/sdb1
补充,pmount依赖你的hal的设置的策略,我不记得现在的ubuntu怎么设置的,不过你自己试一试
"We are all in the mud, but some of us are looking at the stars." (Oscar Wilde)
We are not born for ourselves.
人生天地间,并非为自己
Homepage:http://sites.google.com/site/polarisnotme/
ironurbane
帖子: 40
注册时间: 2008-06-17 2:56

Re: 日立80G移动硬盘挂载问题

#4

帖子 ironurbane » 2008-10-26 23:37

对于3楼朋友的帮助表示感谢.
你的解答对我来说有些不理解,能不能说的再详细一点,本人刚开始学习linux,这个问题困扰了我很长一段时间,网上没有找到合适的解决方法。
---------------------
天行健 君子以自强不息 地势坤 君子以厚德载物
头像
kofshower
帖子: 1343
注册时间: 2007-03-13 11:23
联系:

Re: 日立80G移动硬盘挂载问题

#5

帖子 kofshower » 2008-10-27 20:15

这个全说出来也太多了,说些简单的。
pmount /dev/sdb1
sdb1自己改成你的移动硬盘的设备描述,下面同理
如果有开hal,可是试一试pmont-hal

pcmanfm,pcman的挂载依赖hal,fam,以及gnome-volume-manager(记得以前Gentoo中没安这个就不能挂载)

其他的自己看wiki,好像我记得ubuntu应该默认就可以自动挂载
"We are all in the mud, but some of us are looking at the stars." (Oscar Wilde)
We are not born for ourselves.
人生天地间,并非为自己
Homepage:http://sites.google.com/site/polarisnotme/
ironurbane
帖子: 40
注册时间: 2008-06-17 2:56

Re: 日立80G移动硬盘挂载问题

#6

帖子 ironurbane » 2008-11-04 1:10

还是不行,我重装系统了,结果还是一样,移动硬盘插上去没有任何反应,我在文件系统也没有找到相应的目录
而且用pmount 提示命令不存在
---------------------
天行健 君子以自强不息 地势坤 君子以厚德载物
头像
kofshower
帖子: 1343
注册时间: 2007-03-13 11:23
联系:

Re: 日立80G移动硬盘挂载问题

#7

帖子 kofshower » 2008-11-04 13:16

:em06 那你装一个啊
"We are all in the mud, but some of us are looking at the stars." (Oscar Wilde)
We are not born for ourselves.
人生天地间,并非为自己
Homepage:http://sites.google.com/site/polarisnotme/
ironurbane
帖子: 40
注册时间: 2008-06-17 2:56

Re: 日立80G移动硬盘挂载问题

#8

帖子 ironurbane » 2008-11-13 23:15

用命令
sudo rmmod ehci_hcd
如果还不行,可能是电压问题吧
2个usb接口都要插上,尤其是笔记本

谢谢kofshower 的热心帮助~
---------------------
天行健 君子以自强不息 地势坤 君子以厚德载物
头像
Stamp
帖子: 104
注册时间: 2008-06-27 0:27

Re: 日立80G移动硬盘挂载问题

#9

帖子 Stamp » 2008-11-29 20:58

sudo rmmod ehci_hcd


即时见效
头像
Stamp
帖子: 104
注册时间: 2008-06-27 0:27

Re: 日立80G移动硬盘挂载问题

#10

帖子 Stamp » 2008-12-14 0:16

sudo rmmod ehci_hcd
原来是强制usb 1.0
回复