作者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