Discussion:
[finnix] Problem mounting windows using NTFS-3G with Finnix 93.0
Sumayya Shahzad
2010-07-02 10:47:00 UTC
Permalink
Hi All,

I am facing some problems with mounting one of my NTFS partition.
Distribution being used is Finnix 93.0.

Here are the details of the problem. I typed *fdisk -l* and here is the part
of it's output related to this question of mine

.
.
/dev/sda5 2989 5600 20971520 7 HPFS/NTFS
/dev/sda6 5600 8211 20971520 7 HPFS/NTFS
/dev/sda7 8211 10822 20971520 7 HPFS/NTFS
.
.

Now, when i mounted */dev/sda6* as

ntfs-3g /dev/sda6 /home/Partition

following error poped up:

ntfs-3g: Failed to access volume '/dev/sda6': No such file or a directory

Then, the ouput of ntfs-3g --help is printed telling me how to use ntfs-3g.
Also the exit code was equal to 11.

I then tried *ntfsfix /dev/sda6* and got following output:

Failed to determine whether /dev/sda6 is mounted; No such file or directory
Mounting volume.... Error opening partition device: No such file or directory
Failed to startup volume: No such file or directory
FAILED
Attempting to correct errors...Error opening partition device: No such
file or directory
FAILED
Failed to startup volume: No such file or directoryVolume is corrupt.
You should run chkdsk


We cannot run *"chkdsk" as we cannot boot from Windows at this point of time
neither can we install Windows again.
*

I then, restarted my computer and tried to mount the partition again. Exit
code this time was equal to 0 which means that mounting went successful this
time.

But that's not the end of problem. I am having same problem again and again
when I mount a partition which does not appear after one or two restarts and
some time I also encounter a new exit code i.e. *21*

I have used ntfs-3g on Debian too but never faced such a problem.

In short, mounting a NTFS partition fails via ntfs-3g with an Exit Code=11.
On restart the drive is mounted successfully with an Exit Code=0 but some
times on restart the system returns an Exit Code=21.

Any idea what possibly may be going wrong? where exactly can be the problem?
and how to solve it?

Thanks a lot.

Regards,
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.colobox.com/pipermail/finnix/attachments/20100702/9a7a5d2d/attachment.htm>
Sylvan Heuser
2010-07-02 21:26:36 UTC
Permalink
This mailing list is de facto dead (If you don't count sparse posts from
users like you). I don't check it regularly.
Now, when i mounted /dev/sda6 as
ntfs-3g /dev/sda6 /home/Partition
ntfs-3g: Failed to access volume '/dev/sda6': No such file or a directory
Then, the ouput of ntfs-3g --help is printed telling me how to use
ntfs-3g. Also the exit code was equal to 11.
Look at the output of "dmesg | tail" or probably "dmesg | grep ntfs".
That should give you a more detailed description of the problem.
Good luck.
--
S.
Sumayya Shahzad
2010-07-07 05:53:58 UTC
Permalink
Dear Michael,

Sorry for replying you late but gladly sharing, our mounting issue is
resolved by typing one of the following commands i.e.

*ls /dev/sda**

Also
this command shows different response at different time .e.g
at one point when we tried to mount a partition it showed:
*/dev/sda /dev/sda1 /dev/sda2 /dev/sda3 /dev/sda4*
at the other it showed:
*/dev/sda /dev/sda1 /dev/sda2 /dev/sda4*

*Note that sda3 also contains windows based on ntfs filing system, and sda4
is an extended partition that contains logical volumes from sda5 to sda10.*

I want to know that what impact does this ls command creates that ntfs-3g is
mounting partitions correctly?

By doing *cat /proc/partitions*
all the primary and extended partitions with logical volumes are shown.

*sfdisk -l *gives detailed view of all the partitions.

Answering rest of the questions you asked:
*
*
*What is the version of ntfs-3g on Finnix 93.0?*
ntfs-3g --version gave me:
* ntfs-3g 2009.4.4 integrated FUSE 27*

*You might be able to do a raw dd copy of the partition to a file, and then
on a
linux box do a loop mount and see if that works?*
Yes I did using -o loop, it works fine but it has no application on our
system

*Are you mounting each partition to the same mount point or different ones.
Are you umounting the partitions before trying to mount another one.*
Yes I am mounting on the same mount point and umounting before trying to
mount another one.

*All the other ones mount OK? Just not /dev/sda6*
The problem is with all the partitions, sda6 was just an example

Regards
On Fri, Jul 2, 2010 at 4:36 PM, Michael D. Setzer II <mikes at kuentos.guam.net
Couple of questions?
What does cat /proc/partitions show?
What does ls /dev/sda* show?
What is the version of ntfs-3g on Finnix 93.0?
If it also has sfdisk, what does sfdisk -l shows?
Are you mounting each partition to the same mount point or different ones.
Are you umounting the partitions before trying to mount another one.
All the other ones mount OK? Just not /dev/sda6
Did a look on the error codes. of ntfs-3g.probe, and 11 seems to be a
syntax
error on the command line. The 21 seemed strange.
You might be able to do a raw dd copy of the partition to a file, and then
on a
linux box do a loop mount and see if that works?
If it is an older version of ntfs programs, my g4l project I believe has
the
latest versions of ntfs mount support. Actually, you just use mount since
it
will use the helper program to mount. It is for disk imaging, but has
limited
command line programs.
It is on sourceforge, but I also have a newer version with later kernels in
testing and some updated support programs.
ftp://amd64gcc.dyndns.org/g4l-v0.34alpha44.iso
Don't know if any of this will help.
Good Luck.
Date sent: Fri, 2 Jul 2010 03:47:00 -0700
From: Sumayya Shahzad <summayya.shahzad at seecs.edu.pk>
To: finnix at lists.finnix.org
Subject: [finnix] Problem mounting windows using NTFS-3G with Finnix
93.0
Send reply to: General Finnix discussion and announcements <
finnix at lists.finnix.org>
<mailto:finnix-request at lists.finnix.org?subject=unsubscribe>
<mailto:finnix-request at lists.finnix.org?subject=subscribe>
Post by Sumayya Shahzad
Hi All,
I am facing some problems with mounting one of my NTFS partition.
Distribution being used is
Post by Sumayya Shahzad
Finnix 93.0.
Here are the details of the problem. I typedfdisk -land here is the part
of it's output related to this
Post by Sumayya Shahzad
question of mine
.
.
/dev/sda5 2989 5600 20971520 7 HPFS/NTFS
/dev/sda6 5600 8211 20971520 7 HPFS/NTFS
/dev/sda7 8211 10822 20971520 7 HPFS/NTFS
.
.
Now, when i mounted/dev/sda6as
ntfs-3g /dev/sda6 /home/Partition
ntfs-3g: Failed to access volume '/dev/sda6': No such file or a directory
Then, the ouput of ntfs-3g --help is printed telling me how to use
ntfs-3g. Also the exit code was
Post by Sumayya Shahzad
equal to 11.
Failed to determine whether /dev/sda6 is mounted; No such file or
directory
Post by Sumayya Shahzad
Mounting volume.... Error opening partition device: No such file or
directory
Post by Sumayya Shahzad
Failed to startup volume: No such file or directory
FAILED
Attempting to correct errors...Error opening partition device: No such
file or directory
Post by Sumayya Shahzad
FAILED
Failed to startup volume: No such file or directory
Volume is corrupt. You should run chkdsk
We cannot run"chkdsk"as we cannot boot from Windows at this point of time
neither can
Post by Sumayya Shahzad
we install Windows again.
I then, restarted my computer and tried to mount the partition again.
Exit code this time was equal
Post by Sumayya Shahzad
to 0 which means that mounting went successful this time.
But that's not the end of problem. I am having same problem again and
again when I mount a
Post by Sumayya Shahzad
partition which does not appear after one or two restarts and some time I
also encounter a new
Post by Sumayya Shahzad
exit code i.e. 21
I have used ntfs-3g on Debian too but never faced such a problem.
In short, mounting a NTFS partition fails via ntfs-3g with an Exit
Code=11. On restart the drive is
Post by Sumayya Shahzad
mounted successfully with an Exit Code=0 but some times on restart the
system returns an Exit
Post by Sumayya Shahzad
Code=21.
Any idea what possibly may be going wrong? where exactly can be the
problem? and how to solve
Post by Sumayya Shahzad
it?
Thanks a lot.
Regards,
+----------------------------------------------------------+
Michael D. Setzer II - Computer Science Instructor
Guam Community College Computer Center
mailto:mikes at kuentos.guam.net
mailto:msetzerii at gmail.com
http://www.guam.net/home/mikes
Guam - Where America's Day Begins
+----------------------------------------------------------+
http://setiathome.berkeley.edu (Original)
Number of Seti Units Returned: 19,471
Processing time: 32 years, 290 days, 12 hours, 58 minutes
(Total Hours: 287,489)
BOINC at HOME CREDITS
SETI 9763292.210122 | EINSTEIN 4142549.740851
ROSETTA 2027290.462519 | ABC 1443090.360569
--
Sumayya Shahzad
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.colobox.com/pipermail/finnix/attachments/20100707/7615b675/attachment.htm>
Sumayya Shahzad
2010-07-07 06:01:09 UTC
Permalink
Sorry correction about one answer:

*Are you mounting each partition to the same mount point or different ones.
Are you umounting the partitions before trying to mount another one.*
We are mounting it to different ones and we are unmounting before trying to
mount another one.

On Wed, Jul 7, 2010 at 10:53 AM, Sumayya Shahzad <
Post by Sumayya Shahzad
Dear Michael,
Sorry for replying you late but gladly sharing, our mounting issue is
resolved by typing one of the following commands i.e.
*ls /dev/sda**
Also
this command shows different response at different time .e.g
*/dev/sda /dev/sda1 /dev/sda2 /dev/sda3 /dev/sda4*
*/dev/sda /dev/sda1 /dev/sda2 /dev/sda4*
*Note that sda3 also contains windows based on ntfs filing system, and
sda4 is an extended partition that contains logical volumes from sda5 to
sda10.*
I want to know that what impact does this ls command creates that ntfs-3g
is mounting partitions correctly?
By doing *cat /proc/partitions*
all the primary and extended partitions with logical volumes are shown.
*sfdisk -l *gives detailed view of all the partitions.
*
*
*What is the version of ntfs-3g on Finnix 93.0?*
* ntfs-3g 2009.4.4 integrated FUSE 27*
*You might be able to do a raw dd copy of the partition to a file, and
then on a
linux box do a loop mount and see if that works?*
Yes I did using -o loop, it works fine but it has no application on our
system
*Are you mounting each partition to the same mount point or different ones.
Are you umounting the partitions before trying to mount another one.*
Yes I am mounting on the same mount point and umounting before trying to
mount another one.
*All the other ones mount OK? Just not /dev/sda6*
The problem is with all the partitions, sda6 was just an example
Regards
On Fri, Jul 2, 2010 at 4:36 PM, Michael D. Setzer II <
Couple of questions?
What does cat /proc/partitions show?
What does ls /dev/sda* show?
What is the version of ntfs-3g on Finnix 93.0?
If it also has sfdisk, what does sfdisk -l shows?
Are you mounting each partition to the same mount point or different ones.
Are you umounting the partitions before trying to mount another one.
All the other ones mount OK? Just not /dev/sda6
Did a look on the error codes. of ntfs-3g.probe, and 11 seems to be a
syntax
error on the command line. The 21 seemed strange.
You might be able to do a raw dd copy of the partition to a file, and then
on a
linux box do a loop mount and see if that works?
If it is an older version of ntfs programs, my g4l project I believe has
the
latest versions of ntfs mount support. Actually, you just use mount since
it
will use the helper program to mount. It is for disk imaging, but has
limited
command line programs.
It is on sourceforge, but I also have a newer version with later kernels in
testing and some updated support programs.
ftp://amd64gcc.dyndns.org/g4l-v0.34alpha44.iso
Don't know if any of this will help.
Good Luck.
Date sent: Fri, 2 Jul 2010 03:47:00 -0700
From: Sumayya Shahzad <summayya.shahzad at seecs.edu.pk>
To: finnix at lists.finnix.org
Subject: [finnix] Problem mounting windows using NTFS-3G with
Finnix 93.0
Send reply to: General Finnix discussion and announcements <
finnix at lists.finnix.org>
<mailto:finnix-request at lists.finnix.org?subject=unsubscribe>
<mailto:finnix-request at lists.finnix.org?subject=subscribe>
Post by Sumayya Shahzad
Hi All,
I am facing some problems with mounting one of my NTFS partition.
Distribution being used is
Post by Sumayya Shahzad
Finnix 93.0.
Here are the details of the problem. I typedfdisk -land here is the part
of it's output related to this
Post by Sumayya Shahzad
question of mine
.
.
/dev/sda5 2989 5600 20971520 7 HPFS/NTFS
/dev/sda6 5600 8211 20971520 7 HPFS/NTFS
/dev/sda7 8211 10822 20971520 7 HPFS/NTFS
.
.
Now, when i mounted/dev/sda6as
ntfs-3g /dev/sda6 /home/Partition
ntfs-3g: Failed to access volume '/dev/sda6': No such file or a
directory
Post by Sumayya Shahzad
Then, the ouput of ntfs-3g --help is printed telling me how to use
ntfs-3g. Also the exit code was
Post by Sumayya Shahzad
equal to 11.
Failed to determine whether /dev/sda6 is mounted; No such file or
directory
Post by Sumayya Shahzad
Mounting volume.... Error opening partition device: No such file or
directory
Post by Sumayya Shahzad
Failed to startup volume: No such file or directory
FAILED
Attempting to correct errors...Error opening partition device: No such
file or directory
Post by Sumayya Shahzad
FAILED
Failed to startup volume: No such file or directory
Volume is corrupt. You should run chkdsk
We cannot run"chkdsk"as we cannot boot from Windows at this point of
time neither can
Post by Sumayya Shahzad
we install Windows again.
I then, restarted my computer and tried to mount the partition again.
Exit code this time was equal
Post by Sumayya Shahzad
to 0 which means that mounting went successful this time.
But that's not the end of problem. I am having same problem again and
again when I mount a
Post by Sumayya Shahzad
partition which does not appear after one or two restarts and some time
I also encounter a new
Post by Sumayya Shahzad
exit code i.e. 21
I have used ntfs-3g on Debian too but never faced such a problem.
In short, mounting a NTFS partition fails via ntfs-3g with an Exit
Code=11. On restart the drive is
Post by Sumayya Shahzad
mounted successfully with an Exit Code=0 but some times on restart the
system returns an Exit
Post by Sumayya Shahzad
Code=21.
Any idea what possibly may be going wrong? where exactly can be the
problem? and how to solve
Post by Sumayya Shahzad
it?
Thanks a lot.
Regards,
+----------------------------------------------------------+
Michael D. Setzer II - Computer Science Instructor
Guam Community College Computer Center
mailto:mikes at kuentos.guam.net
mailto:msetzerii at gmail.com
http://www.guam.net/home/mikes
Guam - Where America's Day Begins
+----------------------------------------------------------+
http://setiathome.berkeley.edu (Original)
Number of Seti Units Returned: 19,471
Processing time: 32 years, 290 days, 12 hours, 58 minutes
(Total Hours: 287,489)
BOINC at HOME CREDITS
SETI 9763292.210122 | EINSTEIN 4142549.740851
ROSETTA 2027290.462519 | ABC 1443090.360569
--
Sumayya Shahzad
--
Sumayya Shahzad
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.colobox.com/pipermail/finnix/attachments/20100707/9e1bfe6e/attachment.htm>
Loading...