LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Weird problem about ntfs-3g and mount in debian testing (https://www.linuxquestions.org/questions/linux-newbie-8/weird-problem-about-ntfs-3g-and-mount-in-debian-testing-814877/)

bingmou 06-18-2010 03:23 AM

Weird problem about ntfs-3g and mount in debian testing
 
Hi, guys, I use ntfs-3g to mount my Windows partition in debian testing. It worked well one year before. However, after one update, I find something weird in my system.

Here is my /etc/fstab:

Code:

# /etc/fstab: static file system information.
#
# <file system> <mount point>  <type>  <options>      <dump>  <pass>

proc    /proc  proc    defaults    0  0
/dev/sda3  /  ext3    errors=remount-ro  0  1
/dev/sda6  /home  ext3    defaults    0  2
/dev/sdb1  /media/Documents    ntfs-3g uid=1000,gid=1000,dmask=022,fmask=133  0  2
/dev/sdb2  /media/Software ntfs-3g uid=1000,gid=1000,dmask=022,fmask=133  0  2
/dev/sdb3  /media/Video    ntfs-3g uid=1000,gid=1000,dmask=022,fmask=133  0  2
/dev/sdb4  /media/Video2  ntfs-3g uid=1000,gid=1000,dmask=022,fmask=133  0  2
/dev/sda5  /media/home_win ntfs-3g uid=1000,gid=1000,dmask=022,fmask=133  0  2
/dev/sda7  /usr    ext3    defaults    0  2
/dev/sda4  none    swap    sw  0  0
/dev/hda    /media/cdrom0  udf,iso9660 user,noauto 0  0

#/dev/fd0  /media/floppy0  auto    rw,user,noauto  0  0

When I start my PC, the system always tells me that mount couldn't recognize unknown option ntfs-3g. However, I can manually mount them as user root with the command:mount -a after booting. It works fine and no error message is given. I can't understand what's wrong with my system.

I googled " debian ntfs-3g mount" but got useless information about how to mount ntfs partition in linux. I visited debian-bug but no bug like this was found.

Could anyone give some suggestions?

Agrouf 06-18-2010 03:51 AM

Maybe it tries to mount your ntfs filesystems before /usr and /usr/bin/ntfs-3g is not found then?
Have you tried putting the /usr line before the first /media? Or maybe you can copy the files from the package in / (unmounting /usr and creating a /usr there) so you always have the required files to mount your partitions.

bingmou 06-19-2010 02:14 AM

Quote:

Originally Posted by Agrouf (Post 4007288)
Maybe it tries to mount your ntfs filesystems before /usr and /usr/bin/ntfs-3g is not found then?
Have you tried putting the /usr line before the first /media? Or maybe you can copy the files from the package in / (unmounting /usr and creating a /usr there) so you always have the required files to mount your partitions.

Thanks for your reply! I try it and it works!


All times are GMT -5. The time now is 05:54 PM.