![](https://seccdn.libravatar.org/avatar/77cb4da5f72bc176182dcc33f03a18f3.jpg?s=120&d=mm&r=g)
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Wednesday, 2009-03-04 at 18:40 -0500, peby@sagonet.com wrote:
In a nutshell, I have an image of an NTFS drive created with dd_rescue. The image was of the entire device, not just a partition. I am trying to mount this under Suse 11.1 using a loopback device and specifying the offset value.
However, not matter what I try, I can not seem to make this work.
When I actually go to mount it the mount command hangs interminably, or results in an error:
Callandor:~ # Cannot create link /etc/mtab~ Perhaps there is a stale lock file?
(More info with output from the way I am creating the loop device and the offset can be found in the above forum post if you would like to see the specifics.)
Copying from there, you do: +++ Callandor:~ # losetup -o 32256 /dev/loop5 /virtual/80GBNotebookDrive.dd.img Callandor:~ # file -s /dev/loop5 /dev/loop5: x86 boot sector Callandor:~ # mount -t ntfs /dev/loop5 /mnt/image/ Cannot create link /etc/mtab~ Perhaps there is a stale lock file? ++- The error is weird, and perhaps not related. I would try to mount a partition, and also a "normal" filesystem image. Try creating an ext3 image of about 1GiB, and try loop-mounting that one: we know /that/ one has to work, it is not related to offsets or "strange" things in ntfs. If it fails with the same error, we'll know it is not related to the offset thing or ntfs, and we can concentrate on that mtab thing.
This is a curious matter for me, and I would like to get it resolved and would much appreciate any suggestions anyone may have.
It is indeed curious. [...] Googling for that error, there are over 700 entries. One sugestion is to "rm /etc/mtab~". Another hint is to use "ntfs-3g" instead of "ntfs". Or perhaps "auto", methinks. Another post says to remove every file named like /etc/mtabSOMETHING, where the something can be "~" or ".tmp" something else. Leave only the "/etc/mtab", and try again. There are more. I leave you to investigate in google, I'm off to sleep ;-) - -- Cheers, Carlos E. R. -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.9 (GNU/Linux) iEYEARECAAYFAkmvTV0ACgkQtTMYHG2NR9XvIgCfTkPqT5EIS9C2TcuGOLvW9pP6 A/YAn3HKS4GBazwRz7uTW6UgTd2lIXTr =MyYA -----END PGP SIGNATURE----- -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org