Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 01-12-2007, 12:44 PM   #1
Registered: Jun 2006
Location: Calgary, Alberta
Distribution: Fedora Core 6
Posts: 43

Rep: Reputation: 15
Question Afew questions regaurding mounting

Good morning,

I have some questions about mounting my ntfs drive and a few other related questions about premissions related to the mounted drive.

I am using ntfs-3g to mount and unmount my /dev/sdb5 ntfs 160gig harddrive, I am able to mount the drive no problem after following the basic steps.

mkdir /mnt/ntfs (or whatever you want)

ntfs-3g /dev/sdb5 /mnt/ntfs

I am able to access and modify the drive no problem.

However when I reboot I get abunch of unable to unmount or umount the drive and other stuff that says it is not even mounted. Also saying something about block drives are not allowed.
(if someone could help me locate where I can find log files of startup / shut down I could post exact errors. I was unsuccessful in locating this information in the /var/ folder or using the log file program in gnome.)

I would also like to have this mounted at startup so I added the following line to my fstab

[Screw32@localhost /]$ cat /etc/fstab
/dev/VolGroup00/LogVol00 /                       ext3    defaults        1 1
LABEL=/boot             /boot                   ext3    defaults        1 2
devpts                  /dev/pts                devpts  gid=5,mode=620  0 0
tmpfs                   /dev/shm                tmpfs   defaults        0 0
proc                    /proc                   proc    defaults        0 0
sysfs                   /sys                    sysfs   defaults        0 0
/dev/VolGroup00/LogVol01 swap                    swap    defaults        0 0
/dev/sdb5            /mnt/ntfs                ntfs-3g   defaults        0 0
That was taken from the website directly @ NTFS-3G Usage on offical website

I receive additional errors when I start up stating the drive cannot be mounted. Furthermore when I actually log into gnome I verify this by seeing nothing available in the /mnt/ntfs folder itself.

I am a little confused as to what the problem is as I am able to manually mount and umount the drive from the CLI.

The other semi-related question I have is about permissions regarding things in the /dev/ folder. As I mentioned above my NTFS drive is listed as /dev/sdb5/ and I can mount this. Now I am using this drive in VMware as a physical drive but to load it I need to chmod /dev/sdb5 to give my user permissions as it is only owned by root. BUt when I reboot the permissions also reset. Is there not a way to force the permissions to remain set to a customized setup or will I always have to chmod the device everytime I restart (or make a script of course)

And my final last newbish question of the day is about SELinux. I am not 100% positive but I wounder if SELinux is giving me a hard time about some of this stuff. (NTFS-3g states there was a bug with SELinux and automounting but I have the most update version of selinux so I don't think I should be affected) Would it be a terrible thing to disable SElinux since this is not a server or any type of production box but just my personal PC for goofing around on and such?

Thank you for your time!

Old 01-13-2007, 05:01 AM   #2
Simon Bridge
LQ Guru
Registered: Oct 2003
Location: Waiheke NZ
Distribution: Ubuntu
Posts: 9,211

Rep: Reputation: 198Reputation: 198
I could post exact errors. I was unsuccessful in locating this information in the /var/ folder or using the log file program in gnome.
The logfile you want is called "syslog". The most recent is accessed from commandline by "dmesg". Bear in mind: the syslog won't always show you the exact same message that appeared on the screen. You'll have to search through it for messages about the partition... i.e. "dmesg | grep sda5" and "dmesg | grep ntfs".

will I always have to chmod the device everytime I restart
You can add the chmod command to /etc/rc.local

Would it be a terrible thing to disable SElinux?
The ntfs-3g/SELinux issue is fixed (for fedora) in selinux-policy-2.4.6-23 ... check. If the automounting problem goes away when SELinux is in permissive mode, then this is your problem. If it doesn't, you can always reinstate SELinux.

I thought having my own blog with notes about each process I complete
This is a good idea. Also look for other folks blogs. eg.

Last edited by Simon Bridge; 01-13-2007 at 05:05 AM.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Alittle more information regaurding Fedora 64 mrkawphy Linux - Newbie 1 06-29-2006 01:33 PM
Afew more questions.. agryan Linux - Newbie 6 06-09-2005 08:02 PM
afew more problems [slack 10.1] nadroj Linux - Newbie 14 06-01-2005 11:47 PM
Question regaurding dameons TL1moss Slackware 4 03-31-2005 09:28 AM
afew samba questions exkor5000 Linux - Networking 0 09-09-2004 10:10 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 09:18 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration