LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 1986|回复: 21

mount 多分区的移动硬盘

[复制链接]
发表于 2007-3-13 19:34:02 | 显示全部楼层 |阅读模式
我的移动硬盘有200g,分为5个区
     linux ntfs 32 g  活动分区 激活
     movie ntfs 59g  活动分区
     study  ntfs 32g
     windows ntfs 32g
     tools    fat32  32g

我在debian etch 下挂载不了,麻烦各位看看什么回事(我已经照网上的许多方法来试了,都不行)

debian-bamboo:~# fdisk -l

Disk /dev/hda: 60.0 GB, 60011642880 bytes
255 heads, 63 sectors/track, 7296 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

   Device Boot      Start         End      Blocks   Id  System
/dev/hda1               1         294     2361523+  12  Compaq diagnostics
/dev/hda2   *         295        1924    13092975    c  W95 FAT32 (LBA)
/dev/hda3            1925        7296    43150590    f  W95 Ext'd (LBA)
/dev/hda5            1925        3441    12185271    7  HPFS/NTFS
/dev/hda6            3442        4672     9887976    7  HPFS/NTFS
/dev/hda7            4673        5917    10000431    b  W95 FAT32
/dev/hda8            5918        5982      522081   82  Linux swap / Solaris
/dev/hda9            5983        7296    10554673+  83  Linux

Disk /dev/sda: 200.0 GB, 200049647616 bytes
255 heads, 63 sectors/track, 24321 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

   Device Boot      Start         End      Blocks   Id  System
/dev/sda1   *           1        1027     8249373   54  OnTrackDM6
debian-bamboo:~#
debian-bamboo:~# fdisk -l /dev/sda1

Disk /dev/sda1: 8447 MB, 8447357952 bytes
255 heads, 63 sectors/track, 1026 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

This doesn't look like a partition table
Probably you selected the wrong device.

     Device Boot      Start         End      Blocks   Id  System
/dev/sda1p1   ?      101751      150257   389624499+  69  Unknown
Partition 1 does not end on cylinder boundary.
/dev/sda1p2   ?       33894      141919   867707537   20  Unknown
Partition 2 does not end on cylinder boundary.
/dev/sda1p3   ?       68014      183289   925940530   22  Unknown
Partition 3 does not end on cylinder boundary.
/dev/sda1p4   ?       48511       48511           0   4f  QNX4.x 3rd part
Partition 4 does not end on cylinder boundary.

Partition table entries are not in disk order
debian-bamboo:~#
debian-bamboo:~# lsmod
Module                  Size  Used by
ipv6                  211424  8
sd_mod                 18448  0
usb_storage            69952  0
nls_utf8                2176  1
ntfs                  184468  1
nls_iso8859_1           4224  1
nls_cp437               5888  1
vfat                   11520  1
fat                    45852  1 vfat
radeon                 98720  2
drm                    59924  3 radeon
ppdev                   8452  0
parport_pc             31524  0
lp                     10692  0
parport                31944  3 ppdev,parport_pc,lp
button                  6544  0
ac                      4868  0
battery                 9220  0
sata_sil                9480  0
libata                 60300  1 sata_sil
fuse                   33672  4
dm_snapshot            15772  0
dm_mirror              17616  0
dm_mod                 48696  2 dm_snapshot,dm_mirror
sbp2                   20232  0
scsi_mod              120840  4 sd_mod,usb_storage,libata,sbp2
loop                   13832  0
8250_pci               19840  0
joydev                  8896  0
bcm43xx               401536  0
snd_atiixp             17292  1
snd_atiixp_modem       14088  0
snd_ac97_codec         82336  2 snd_atiixp,snd_atiixp_modem
snd_ac97_bus            2304  1 snd_ac97_codec
pcmcia                 33468  0
firmware_class          9344  2 bcm43xx,pcmcia
ati_agp                 8460  0
snd_pcm_oss            35616  0
snd_mixer_oss          15616  1 snd_pcm_oss
snd_pcm                71432  4 snd_atiixp,snd_atiixp_modem,snd_ac97_codec,snd_pcm_oss
snd_timer              19716  1 snd_pcm
snd                    45668  9 snd_atiixp,snd_atiixp_modem,snd_ac97_codec,snd_pcm_oss,snd_mixer_oss,snd_pcm,snd_timer
tsdev                   7360  0
mousedev               10400  1
agpgart                29232  2 drm,ati_agp
yenta_socket           23948  1
rsrc_nonstatic         11904  1 yenta_socket
pcmcia_core            36368  3 pcmcia,yenta_socket,rsrc_nonstatic
irda                  155324  0
pcspkr                  2816  0
serio_raw               6276  0
psmouse                34184  0
sdhci                  13312  0
mmc_core               21648  1 sdhci
evdev                   8960  2
eth1394                17412  0
soundcore               8800  1 snd
snd_page_alloc          9480  3 snd_atiixp,snd_atiixp_modem,snd_pcm
crc_ccitt               2176  1 irda
rtc                    11444  0
ieee80211softmac       22912  1 bcm43xx
ieee80211              28616  2 bcm43xx,ieee80211softmac
ieee80211_crypt         5376  1 ieee80211
ext3                  115336  1
jbd                    45460  1 ext3
usbhid                 35040  0
ide_cd                 35104  0
cdrom                  32288  1 ide_cd
ide_disk               14976  6
generic                 4356  0 [permanent]
ohci_hcd               17412  0
ehci_hcd               26888  0
usbcore               108544  5 usb_storage,usbhid,ohci_hcd,ehci_hcd
atiixp                  5520  0 [permanent]
ide_core              107940  5 usb_storage,ide_cd,ide_disk,generic,atiixp
ohci1394               29488  0
ieee1394               84536  3 sbp2,eth1394,ohci1394
r8169                  25736  0
thermal                12680  0
processor              21440  1 thermal
fan                     4484  0
debian-bamboo

debian-bamboo:~# mount -t ntfs -o nls=cp936 /dev/sda1 /mnt/linux
mount: wrong fs type, bad option, bad superblock on /dev/sda1,
       missing codepage or other error
       In some cases useful info is found in syslog - try
       dmesg | tail  or so

debian-bamboo:~#
debian-bamboo:~# mount -t vfat -o nls=cp936 /dev/sda1 /mnt/linux
mount: wrong fs type, bad option, bad superblock on /dev/sda1,
       missing codepage or other error
       In some cases useful info is found in syslog - try
       dmesg | tail  or so
发表于 2007-3-13 21:03:31 | 显示全部楼层
mount: wrong fs type, bad option, bad superblock on /dev/sda1,

mount -t ntfs -o nls=cp936 /dev/sda1 /mnt/linux
vfat为fat32
ntfs为ntfs
回复 支持 反对

使用道具 举报

 楼主| 发表于 2007-3-13 23:01:52 | 显示全部楼层
Post by gradetwo
mount: wrong fs type, bad option, bad superblock on /dev/sda1,

mount -t ntfs -o nls=cp936 /dev/sda1 /mnt/linux
vfat为fat32
ntfs为ntfs


这个我知道,我的移动硬盘第一个分区时ntfs的,并且是32g,它这里认不到只看到8g,是不是内核不支持这么大的硬盘?
回复 支持 反对

使用道具 举报

发表于 2007-3-13 23:17:44 | 显示全部楼层
apt-get install hal pmount
就可以了
回复 支持 反对

使用道具 举报

 楼主| 发表于 2007-3-14 00:05:01 | 显示全部楼层
还是不可以,我在桌面->系统管理->disks进去后,显示如下图,我想可它是不是认不得分区,或者是不是我分区分得太大了

本帖子中包含更多资源

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

x
回复 支持 反对

使用道具 举报

 楼主| 发表于 2007-3-14 00:10:09 | 显示全部楼层
完整图片如下

本帖子中包含更多资源

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

x
回复 支持 反对

使用道具 举报

 楼主| 发表于 2007-3-14 09:03:21 | 显示全部楼层
各位知道的帮帮忙,还有这句话什么意思
/dev/sda1 * 1 1027 8249373 54 OnTrackDM6
回复 支持 反对

使用道具 举报

 楼主| 发表于 2007-3-14 09:26:06 | 显示全部楼层
Use the following instruction to mount an type OnTrackDM6 partition in Linux.

/dev/hdc1   *           1        1653      833111+  54  OnTrackDM6

Adapt your bootloader and add the option hd<x>=remap63 for your kernel where x is your disk.

Now reboot your system and the partition is visibale as (for example)

/dev/hdc1   *           1         826      832576+   6  FAT16

Mount this partition as read-only and copy your data from it


请问Adapt your bootloader and add the option hd<x>=remap63 for your kernel 这个什么作?
回复 支持 反对

使用道具 举报

发表于 2007-3-14 10:02:47 | 显示全部楼层
debian-bamboo:~# fdisk -l [color="Red"]/dev/sda1

Disk /dev/sda1: 8447 MB, 8447357952 bytes
255 heads, 63 sectors/track, 1026 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

This doesn't look like a partition table
Probably you selected the wrong device.

Device Boot Start End Blocks Id System
/dev/sda1p1 ? 101751 150257 389624499+ 69 Unknown
Partition 1 does not end on cylinder boundary.
/dev/sda1p2 ? 33894 141919 867707537 20 Unknown
Partition 2 does not end on cylinder boundary.
/dev/sda1p3 ? 68014 183289 925940530 22 Unknown
Partition 3 does not end on cylinder boundary.
/dev/sda1p4 ? 48511 48511 0 4f QNX4.x 3rd part
Partition 4 does not end on cylinder boundary.

Partition table entries are not in disk order


查询单块硬盘的分区情况,请不要具体带上分区序列号,应如下:
debian-bamboo:~# fdisk -l /dev/sda
再试试看。

如果你的locale为utf8,挂载ntfs分区时让nls=utf8参数,nls要和locale保持一致。
mount -t ntfs -o nls=utf8 /dev/sda1 /mnt/linux

vfat分区不支持nls参数,请多阅读mount的man页,上边说的比较清楚。
回复 支持 反对

使用道具 举报

 楼主| 发表于 2007-3-14 23:14:44 | 显示全部楼层
Post by xw_xiao
查询单块硬盘的分区情况,请不要具体带上分区序列号,应如下:
debian-bamboo:~# fdisk -l /dev/sda
再试试看。

如果你的locale为utf8,挂载ntfs分区时让nls=utf8参数,nls要和locale保持一致。
mount -t ntfs -o nls=utf8 /dev/sda1 /mnt/linux

vfat分区不支持nls参数,请多阅读mount的man页,上边说的比较清楚。


debian-bamboo:~# fdisk -l /dev/sda

Disk /dev/sda: 200.0 GB, 200049647616 bytes
255 heads, 63 sectors/track, 24321 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

   Device Boot      Start         End      Blocks   Id  System
/dev/sda1   *           1        1027     8249373   54  OnTrackDM6
debian-bamboo:~#

还是一样,我在本机有安装ntfs-3g,对本机硬盘一点问题都没有,可读可写,可移动硬盘它认不得,请问各位有什么好的办法,我已经弄了三四天了为了这个,我也刚转到linux来,想学点东西,可这也太打击人了,我的积极性都快被它磨光了,各位帮帮我,谢谢了
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

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