作者addsion (真无聊)
看板Linux
标题[徵求] LINUX高手
时间Mon Jun 2 19:53:53 2008
※ [本文转录自 Wanted 看板]
作者: addsion (真无聊) 看板: Wanted
标题: [徵求] LINUX高手
时间: Mon Jun 2 17:47:19 2008
需要mount 一颗 sata硬碟
不知道怎麽mount 有达人可以救我吗
感谢
fdisk -l
出现错误讯息如下
[root@davido ~]# fdisk -l
Disk /dev/hda: 40.0 GB, 40020664320 bytes
255 heads, 63 sectors/track, 4865 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/hda1 * 1 1369 10996461 7 HPFS/NTFS
/dev/hda2 1370 4865 28081620 f W95 Ext'd (LBA)
/dev/hda5 1370 2698 10675161 7 HPFS/NTFS
/dev/hda6 2699 3462 6136798+ 83 Linux
/dev/hda7 3463 3602 1124518+ 82 Linux swap
/dev/hda8 3603 4865 10145016 83 Linux
Disk /dev/sda: 250.0 GB, 250059350016 bytes
255 heads, 63 sectors/track, 30401 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/sda1 1 10836 87040138+ 7 HPFS/NTFS
/dev/sda2 11648 12730 8699197+ 7 HPFS/NTFS
/dev/sda3 12749 30401 141797722+ 7 HPFS/NTFS
我的作业系统是mandrake 2005
後来我mount
mount /dev/sda1/ /mnt/sata
现错误讯息如下
mount: special device /dev/sda1/ does not exist
(a path prefix is not a directory)
[root@davido ~]# mount -t /dev/sda1/ /mnt/sata
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
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 .
[root@davido ~]# mount -t ntfs /dev/sda1/ /mnt/sata
mount: special device /dev/sda1/ does not exist
(a path prefix is not a directory)
--
在众多的ID里 找寻什麽样的际遇
--
※ 发信站: 批踢踢实业坊(ptt.cc)
◆ From: 118.171.162.186
1F:推 jungyun:mount就是挂载..USB也是要用Mount才可以active 06/02 17:48
2F:推 billboy:GOOGLE很好用的~ 06/02 17:50
3F:推 peterjack:mount /dev/sda1 /mountpoint 06/02 17:55
4F:→ addsion:他说我电脑找不到/dev/sda1 06/02 18:29
--
在众多的ID里 找寻什麽样的际遇
--
※ 发信站: 批踢踢实业坊(ptt.cc)
◆ From: 118.171.162.186
5F:→ frankc:fdisk -l 先看看有没有抓到实体 06/02 20:05
6F:推 fuha:然後再看你的硬碟是哪一颗 06/02 20:14
7F:→ fuha:然後再 mount /dev/sdx /挂载目录 06/02 20:15
※ 编辑: addsion 来自: 118.171.161.94 (06/02 20:26)
※ 编辑: addsion 来自: 118.171.161.94 (06/02 20:43)
※ 编辑: addsion 来自: 118.171.161.94 (06/02 20:44)
※ 编辑: addsion 来自: 118.171.161.94 (06/02 20:49)
※ 编辑: addsion 来自: 118.171.161.94 (06/02 20:56)
8F:推 dedek:你的 /etc/filesystems 里面 有ntfs的支援吗? 06/02 22:00
9F:推 howardonly:ntfs-3g 找一下这个套件吧 另外这个套件需要先装fuse 06/02 22:35
10F:推 kira925:2005? 要不要换新版的2008 spring看看? 06/02 23:24
11F:→ kira925:毕竟2005已经停止技术支援了(2007 spring 以後才有) 06/02 23:25
12F:→ Zozfee:/dev/sda1/ -> /dev/sda1 多了一个 slash 06/02 23:27