文字化けしたUSBのマウント方法とエラーメッセージの意味について

このQ&Aのポイント
  • 古いHDDからUSBにknoppixで移動しようとした際に文字化けが発生し、マウント解除して再度マウントしましたが、まだ文字化けが続いています。また、エラーメッセージも表示されているため、何か間違えている可能性があります。
  • マウント方法やエラーメッセージの意味について教えていただきたいです。マウント方法やエラーメッセージに関する詳細な情報は、ネット上のサイトやマニュアルで見つけることができます。
  • マウントはデバイスをマウントするのではなく、デバイス上で見つかったファイルシステムをマウントするものです。また、既に表示されているディレクトリツリーを別の場所にマウントすることもできます。
回答を見る
  • ベストアンサー

knoppixでusbマウント

古いHDDからUSBにknoppixで移動したところ、windowsで見ると文字化けしていた為、マウント解除してターミナル・エミュレータで"http://puttosimasuyo.blog.so-net.ne.jp/2012-01-19-4"のサイトに載っている手順通りに、マウントしたのですが、まだ文字化けしています・・(゜-゜) しかも、変なメッセージ(?)が出てきたので、何か間違えているのかもしれません。 このメッセージの意味を教えていただきたいです↓(所々スペル間違いがあると思います・・) 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 | -0] ... : 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 file system(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 device can be given by name, say/dev/hda1 or /dev/cdrom, or by label,using -L lavel or by uuid, using -U uuid. other options:[ -nfFrvw] [-o options] [-p passwdfd]. For many more details,say man 8 mount.

noname#193530
noname#193530

質問者が選んだベストアンサー

  • ベストアンサー
  • vaidurya
  • ベストアンサー率45% (2714/5983)
回答No.2

古来から、日本語ファイル名のトラブルの回避方法として… 一旦アーカイブファイルとして保存し受け渡すという方法があります。 文字コードの不一致によるものですから zipでASCII文字のファイル名のアーカイブを作り それを,Windows側で展開すれば、普通に日本語ファイル名も復元されます。 参考にしたサイトでの使いかたは、要約すると コードページ932の文字コード表を使うということと UTF-8でファイル名を保存するという二点が重要なところです。 Windowsは常用しないので、それが妥当なのかどうかは知りません。 CP932は、日本語WindowsにおけるShiftJISの文字コードに準じたもので かつて機種依存文字と呼ばれたマル付き数字(1)などの扱いを適切にするために必要な指定です。 機種依存、あるいは環境依存と呼ばれる所以…かつて、マル付き数字の文字コードは IBM,NEC,Appleがそれぞれ独自に制定し、その他いくつかの記号などで互換性がありませんでした。 その後、TRONの主張も虚しく、Unicodeが広く普及し、問題は小さくなりましたし… Apple以外でも❤が使えるようになりました。でも、稀に、注意が必要な場合があります。 まぁ、環境依存文字なんか、使わなければいいんですけどね。

noname#193530
質問者

お礼

実践的な回答ありがとうございます(^O^) アーカイブファイルの方法を試してみようと思います。 本当に環境依存文字というのは面倒ですね・・

その他の回答 (1)

  • yakan9
  • ベストアンサー率54% (2202/4052)
回答No.1

KNOPPIXは、バージョンにより仕様がころころ変わります。 よってまずKNOPPIXのバージョンの記載。 次に、何をしたいのか、データのバックアップとか、 現状の状況説明、Windowsの種類、どんな媒体からか、 パーティションのファイルシステムの種類により、マウントコマンドの"-t"の後のオプション種別が異なる、ntfs,vfat,nfs等。 全く使用経験のない場合は、コマンド一つ一つを調査しながら進めていくのが基本です。 man mount man ls man fdisk 他の人が成功した例を参考にしても、全く意味のない場合もあり、正常に読み書きできなくなった媒体からデータをバックアップしたいときは、なおさら、基本を守って順に段階を踏んで進めていかないとできないことを理解してください。 質問文のエラーメッセージからすると、全く当方が経験したことのないメッセージのようです。 マウントコマンドが適切なのか非常に疑問です。

noname#193530
質問者

お礼

回答ありがとうございます(^^) やはり、むやみやたらに人の真似をしても意味ないですよね・・・ 勉強してみようと思います!

関連するQ&A

  • SDカード(fat32)が 読み込み専用モード

    debian を使っていて SDカード(fat32)が自動マウントされた時に 読み込み専用モードでマウントされてしまい、 書き込みできないことがよくあります。 SDカード横のスイッチで書き込み不能になっているわけでもないのにです。 次のコマンドを試すのですが、うまくいきません。 $ sudo chmod 777 -R /media/usb0 chmod: `/media/usb0/Thunderbird/j29smriz.default/Inbox' のパーミッションを変更しています: 読み込み専用ファイルシステムです $ sudo mount -t vfat -o rw,remount /media/usb0 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 . 解決法をご教授ください。 よろしくお願いいたします。

  • xpが起動せずubuntuでHDDがマウントできず

    xpが起動せず、ubuntuでデータ救出するもHDDがマウントできません。 OSはxp、デルのPCです。2006年製。 先日、PC起動後、早めにアクセスしすぎたのか フリーズしてしまい強制終了すると、 「\WINDOWS\SYSTEM32\CONFIG\SYSTEM」が存在しないか壊れているため起動できない」 となりました。 この付属のOS再インストール用CDあるのですが、 このPCは光ドライブが故障中で(CDーROMだけが読み込めない、DVDはたまに読み込まない)なので、 USBメモリ起動で、ubuntu8.1を起動し、 HDDをマウント、システムの復元に保存されているデータをもってきて修復 or Dドライブの個人データ救出をしようと試みたのですが HDDがマウントできないんです。 エラーメッセージには $LogFile indicates unclean shutdown (0,0)Failed to mount'/dev/sda5': Operation not supported Mount is denied because NTFS is marked to be in use. Choose one action: Choice |: If you have Windows then disconnect the exteral devices by clicking on the 'Safely Remove Hardware' icon in the Windows taskbar then shutdown Windows cleanly. Choice 2: If you don't have Windows then you can use the'force' option for your own responsibility. For example type on the command line: mount -t ntfs-3g/dev/sda5/media/ローカル ディスク -o force Or add the option to the relevant row in the/etc/fstab file: /dev/sda5/media/ローカル ディスク ntfs -3g defaults,force 0 0 早速、 sudo mount -t ntfs-3g/dev/sda5/media/ローカル ディスク -o forceと打ちましたが、 失敗したようです。 次のようになりました。 ubuntu@ubuntu:~$ sudo mount -t ntfs-3g /dev/sda5 /media/ローカル ディスク -o ofrce 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 . などとでて困っています。 choice2でマウントする方法やこのコマンドがいまいちよくわかっていませんし、 なんとかデータ救出をしたいです。 どうすればいいか教えてください。 勉強不足で情けないですがよろしくお願いします。

  • コンパクトフラッシュのマウント

    コンパクトフラッシュのバックアップ作成したいです。 旧CFはCent OSに新CFはUSB+リーダーでVineにつないでます。 新CFをfdiskで旧CFと同じようパーティションに切りました、フォーマットもしました。 fdisk -l でそれぞれのパーティションは見えてます。 しかし、マウントポイントを作り、それぞれのマウントしようとしてもマウントできません。 /sbin/fdisk -l /dev/sdc1 とすると、 Disk /dev/sdc1: 7999 MB, 7999884288 bytes 247 heads, 62 sectors/track, 1020 cylinders Units = シリンダ数 of 15314 * 512 = 7840768 bytes デバイス Boot Start End Blocks Id System /dev/sdc1p1 1 13 99510 83 Linux /dev/sdc1p2 14 996 7526831 83 Linux と出ます。 mount /dev/sdc1p1 /hoge1 nfs としましたが、 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 . となり、うまくマウントできません。 /devを確認すると、sdc1はあるのですが、sdc1p1がありません。 どうしたら、それぞれのパーティションをマウントできるでしょうか。

  • XPが起動せずUBUNTUでデータの救出を試みています

    はじめまして。ご存知の方、教えてください。 先日、WindowsXP搭載ノートPCの内蔵HDDの具合がおかしくなったので、新たに内蔵HDDを購入しUSB-ATAケーブルで外付けして市販ソフト(ファイナル ハードディスク入れ替え11PRO AOS社)を使ってデータをまるまるコピーしようと思いました。しかし、途中でフリーズしたので強制終了をしたところ、立ち上がらなくなりました。 UBUNTUをCDから起動して立ち上がらなくなったHDDをマウントしてデータを救出しようとしたところ、 $LogFile indicates unclean shutdown(0,0)Fail to mount`/dev/sda1';Operation not supported Mount is denied because NTFS is marked to be in use. Chose one action:Chose 1:If you have windows then disconnect the external devices..... Chose 2:If you don't have windows then you can use the 'force'option for your responsibility.For example type on the command line: mount -t ntfs-3g /dev/sda1 /media/Windows XP -o force Or add the option to the relevant row in the /etc/fstab file: /dev/sda1 /media/Windows XP ntfs-3g force 0 0 と表示され、マウントできません。Windowsは立ち上がらないのでChose2に該当すると思いますが、コマンドでsado mount -t ntfs-3g /dev/sda1 /media/Windows XP -o forceを入力しても以下のように表示されうまくいきませんでした。 ubuntu@ubuntu:~$ sudo mount -t ntfs-3g /dev/sda1 /media/windows XP -o ofrce 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 . コマンド等まったく分かりません。 HDDを強制的にマウントさせてデータを救出する方法を ご存知の方、是非ご教授ください。よろしくお願いします。

  • linuxMint13 ドライバインストール

    先日、「OSインストールの段階でつまづいています。」 で質問させていただきました。(QNo.7615809) 失礼ながら、詳細や経緯は前回の質問をご覧いただけると助かります。 先ずはcore i5 3570 の内蔵グラフィック HD2500対応ドライバ  xf86-video-intel-2.20.2.tar.gz  http://cgit.freedesktop.org/xorg/driver/xf86-video-intel をインストールしたく、皆様から頂戴したアドバイスを元に、 又、いくつかのサイトを参考に、ドライバのインストールの方法をまとめました。 ところが実行するとエラーが出てしまい、先に進めない状態です。 私が出した答えは以下の通りですが、途中でエラーとなり 行き詰ってしまいました。  正常稼働中のPCを用い、ドライバのダウンロード、USBメモリに保存。  次に対象のPCへUSBメモリを挿し、コマンドを実行。 sudo blkid sudo mkdir /mnt/usbmem sudo mount -t vfat/dev/sdc1/mnt/usbmem cd /mnt/usbmem sudo tar zxvf xf86-video-intel-2.20.2.tar.gz ↑  エラーはここで出ます。以下は実行していません。 ./configure make sudo make install さらに詳細を記します。 間違いのご指摘や補足事項のご教授、よろしくお願いします。 (1)USBメモリのデバイスを確認する。  $ sudo blkid  [sudo] password for yuki:  /dev/sda1: UUID="省略" TYPE="ext4"  /dev/sda5: UUID="省略" TYPE="swap"  /dev/sdc1: UUID="BCA1-DEED" TYPE="vfat"  →sdc1であることを確認 (2)USBメモリをマウントする場所を作る。  $ sudo mkdir /mnt/usbmem  mkdir: ディレクトリ `/mnt/usbmem' を作成できません: ファイルが存在します  →前回の試行時に作成出来ていたと理解。 (3)USBメモリをマウント  $ sudo mount -t vfat/dev/sdc1/mnt/usb  →エンター押下後、コマンドの説明が表示される 表示内容ーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーー  使い方: mount -V : バージョンの表示 mount -h : このヘルプを表示 mount : マウント済ファイルシステムの一覧 mount -l : 同上、ボリュームラベルを含む 以上が情報表示に関するものです。次からはマウント操作に関連するものです。 そのコマンドは `mount [-t fstype] 何を どこへ'。 /etc/fstab で詳細について指定しておけば、それを省略することができます。 mount -a [-t|-O] ... : /etc/fstab の内容全てをマウントする mount device : device を既知の場所へマウントする mount directory : 既知のデバイスを directory にマウントする mount -t type dev dir : 通常の mount コマンド あるときは、デバイスを実際にはマウントせず、あるときはデバイス上に見つけた (与えられたタイプの)ファイルシステムをマウントすることに留意しましょう。 既に見えているディレクトリツリーを他の場所にマウントできたりもします: mount --bind olddir newdir または、サブツリーを移動: 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 device には、/dev/hda1 や /dev/cdrom の様に名前で与えても、-L label を 使ってラベル名で与えても、-U uuid を使って uuid を与えてもかまいません。 その他のオプション: [-nfFrsvw] [-o オプション] [-p passwdfd] もっと詳しいことを知りたければ、man 8 mount と唱えてみましょう。 ーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーここまで (4)ディレクトリチェンジ  $ cd /mnt/usbmem  →/mnt/usbmem $ で入力待ち。 (5)圧縮ファイルを解凍。  /mnt/usbmem $ sudo tar zxvf xf86-video-intel-2.20.2.tar.gz  →以下のエラー発生。   tar (child): xf86-video-intel-2.20.2.tar.gz: open 不能: そのようなファイルやディレクトリはありません   tar (child): Error is not recoverable: exiting now   tar: Child returned status 2   tar: Error is not recoverable: exiting now (6)あきらめる  /mnt/usbmem $exit

  • Linuxを使っていてCD-ROMのマウントができません

    Linux MLD4を使っていてCD-ROMのマウントができません。 コマンドを実行すると下記のようなメッセージが出ます。 #mount -t iso9660 /dev/cdrom/mnt/cdrom mount:invalid option --l Usage:mount [-hv] mount -a[-nfFrsvw] [-t vfstypes] mount [-nfrsuw][-o options] special | node mount [-nfrsvw][-t vfstype][-o options] special node A special device can be indicated by -[label or -U unid . [root@localhost /root]#df /cdrom df: /cdrom:No such file or directory Filesystem 1k-blocks Used Available Use% Mounted on 対処方法など分かる方がいましたら教えて下さい。

  • knoppixでHDがマウントできない

    HD内のデータ救出の為にknoppixを使おうと思い、起動できたまではいいのですが、データの入っているHDがマウントできなくて困っています。 エクスプローラからクリックした時に出るメッセージは 「エラー org.freedesktop.Hal.Device.Volume. UnknownFailure」 terminalからコマンド「mount -t ntfs-3g /dev/sda3 /mnt/sda3 -o force」を実行したら出るメッセージは 「ntfs_attr_pread: ntfs_pread failed: Input/output error Failed to read NTFS $Bitmap: Input/output error NTFS is either inconsistent, or you have hardware faults, or you have a SoftRAID/FakeRAID hardware. In the first case run chkdsk /f on Windows then reboot into Windows TWICE. The usage of the /f parameter is very important! If you have SoftRAID/FakeRAID then first you must activate it and mount a different device under the /dev/mapper/ directory, (e.g. /dev/mapper/nvidia_eahaabcc1). Please see the 'dmraid' documentation for the details.」 です。 このような症状の場合どうにかして救出はできないものでしょうか? 一応念のためといいますか、photorecでおそらく大体のファイルの救出はできているのですが いかんせん連番のためどれがどのファイルかの区別が全くできず退避したまま何も触っていないという状態です。 knoppixのバージョン:6.0.1 元々使用していたwindowsのos:vista 幾分素人なもので、他に必要な情報があればすぐ書きたいと思いますので どうぞよろしくお願いいたします。

  • RedHat Linux 7.2とCD-ROMのマウント

    以前に全く同じ質問をしたものですが、再度御願いします。 RedHat Linux 7.2を投入しまして正常に作動を確認後、必要が在ってCD-ROMのマウント使用としたのですが、マウントされません。 mount: /dev/cdrom is not a valid block deviceと表示されます。ちなみにfstabの関連のラインは次の通りです。 /dev/cdrom /mnt/cdrom iso9660 noauto,owner,kudzu 0 0となっています。mount -t iso9660 -o ro /dev/cdrom /mnt/cdromも作動しませんでした。どなたか解決策が在りましたら、教えてください。

  • fstabを編集してもうまくマウントできない。

    Linux初心者です。 WindowsXPとVineLinux2.6をデュアルブートしています。 Linuxを入れる前からWindowsの方で作っておいたFat領域があるのでそれをLinuxからでも一般ユーザーが読み書きできるように、/etc/fstabに /dev/hda5 /mnt/win vfat defaults,umask=007,gid=500,euc,zenkaku 0 0 を書き足して、 mount -a を実行したところ、 mount: /dev/hda5 は マウント済か /mnt/win が使用中です mount: mtab によると、/dev/hda5 は / にマウントされています mount: ファイルシステムタイプ 0 はカーネルがサポートしていません という反応です。 今の段階でhda5がどういう状況にいるのかかよくわかりません。 / はhda4に作っていますのでhda5がそこにマウントされているということの意味もわかりません。 よろしくお願いします。

  • viについての疑問。

    viについてです。 下記のファイルは「i」や「insert」を押しても 編集ができません。 どうすればいいでしょうか? 教えてください。 どうかご回答のほど、宜しく御願い申し上げます。 # # /etc/fstab # Created by anaconda on Sat Sep 29 20:34:31 2018 # # Accessible filesystems, by reference, are maintained under '/dev/disk' # See man pages fstab(5), findfs(8), mount(8) and/or blkid(8) for more info # /dev/mapper/centos-root / xfs defaults 0 0 UUID=8209b6a5-405a-49fc-acae-c91601b8aa9e /boot xfs defaults 0 0 UUID=3460-A220 /boot/efi vfat umask=0077,shortname=winnt 0 0 /dev/mapper/centos-home /home xfs defaults 0 0 /dev/mapper/centos-swap swap swap defaults 0 0 ~ ~ ~ ~ ~ ~ ~ ~ -- INSERT --