LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora
User Name
Password
Fedora This forum is for the discussion of the Fedora Project.

Notices


Reply
  Search this Thread
Old 08-06-2008, 01:44 AM   #1
cougar618
LQ Newbie
 
Registered: Jul 2005
Posts: 13

Rep: Reputation: 0
Fstab and ntfs


Ok, heres the deal. I am able to easily mount my windows partition on my laptop, however for some reason it's not the case for my desktop. Usually, all I have to do is mount it the very first time, and the privilege box comes up and asks for root's permission. after that, it starts up automatically.

After digging around, I found articles about editing fstab ect. After doing that, I get an error relating to mounting those drive during boot up. once booted up, i can run the command 'mount -a' and i can access all my files in the /media directory. so I have several questions
How can i get individual drives to show up in the 'My Computer' area?
How do i get it to boot automagically?
What am i doing wrong?

Code:
/dev/VolGroup00/LogVol00 /                       ext3    defaults        1 1
UUID=df26cd39-c52f-4ebf-82e6-4b466eb32426 /boot                   ext3    defaults        1 2
tmpfs                   /dev/shm                tmpfs   defaults        0 0
devpts                  /dev/pts                devpts  gid=5,mode=620  0 0
sysfs                   /sys                    sysfs   defaults        0 0
proc                    /proc                   proc    defaults        0 0
/dev/VolGroup00/LogVol01 swap                    swap    defaults        0 0
/dev/sda1		/media			ntfs-3g	auto		0 0
/dev/sda2		/media			ntfs-3g	auto		0 0
/dev/sdb1		/media			ntfs-3g	auto 		0 0
 
Old 08-06-2008, 04:49 AM   #2
David the H.
Bash Guru
 
Registered: Jun 2004
Location: Osaka, Japan
Distribution: Arch + Xfce
Posts: 6,852

Rep: Reputation: 2037Reputation: 2037Reputation: 2037Reputation: 2037Reputation: 2037Reputation: 2037Reputation: 2037Reputation: 2037Reputation: 2037Reputation: 2037Reputation: 2037
You're trying to mount all three /dev/sd* drives to the same folder (/media). Shouldn't they be going to separate mount points (/media/sda1, /media/sda2, /media/sdb1)? I can't understand how the current settings could work, either at boot time or afterwards.
 
Old 08-06-2008, 07:07 AM   #3
ronlau9
Senior Member
 
Registered: Dec 2007
Location: In front of my LINUX OR MAC BOX
Distribution: Mandriva 2009 X86_64 suse 11.3 X86_64 Centos X86_64 Debian X86_64 Linux MInt 86_64 OS X
Posts: 2,369

Rep: Reputation: Disabled
You put you,re thread under Fedora , with Fedora version do you use ?
Under Fedora 9 it is auto mounted
 
Old 08-06-2008, 07:59 PM   #4
cougar618
LQ Newbie
 
Registered: Jul 2005
Posts: 13

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by ronlau9 View Post
You put you,re thread under Fedora , with Fedora version do you use ?
Under Fedora 9 it is auto mounted
I know that it should auto mount in Fedora 9 but it doesnt.

i realise the problem w/ the current setup putting all three drives in one folder, but i am unable to view these partitions as individual drives.and now, since i've done that, im unable to see the drives unmounted as regular drives.

Like I said, fedora mounts the drives automatically as root and w/ my laptop, but I always had this problem w/ Fedora on my desktop. usually, me logging in as root and mounting the drives fixes this and i can reboot the comp w/ settings in tact, but i dont know whats wrong.

Also, if it helps... I only have two drives, 1 250 with most of my media,and a second 250 gig hd split into three partitions; 50/40/160
 
Old 08-06-2008, 08:15 PM   #5
cougar618
LQ Newbie
 
Registered: Jul 2005
Posts: 13

Original Poster
Rep: Reputation: 0
ok, looks like I unintentially fixed the problem. After reverting back to the previous fstab file, and disabling SELinux, it went back to normal.

***What I think happened***
Before I posted on the forum, and after editing /etc/fstab, i used the command mount -a, which ran sucessfully, and thats how i got my files to show up in /media. There was also a program that would return FAIL when the computer restarted. That was probably due to the /fstab running.

I logged in as root b/c it mounts fine there before, but it didnt this time. but a selinux balloon popped up denying a program called fuse, which i think has to do w/ mounting the drives and fstab.
so i disabled that.

I also deleted all changes that i made to /etc/fstab

so my small controbution to that one guy 4 months from now w/ the same problem and had trouble like me finding the solution via the great googles...

Code:
su-
mount -a
seems simple enough, but it was more of an afterthought to me.
Good Luck.
 
Old 08-12-2008, 01:23 PM   #6
cougar618
LQ Newbie
 
Registered: Jul 2005
Posts: 13

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by cougar618 View Post
ok, looks like I unintentially fixed the problem. After reverting back to the previous fstab file, and disabling SELinux, it went back to normal.

***What I think happened***
Before I posted on the forum, and after editing /etc/fstab, i used the command mount -a, which ran sucessfully, and thats how i got my files to show up in /media. There was also a program that would return FAIL when the computer restarted. That was probably due to the /fstab running.

I logged in as root b/c it mounts fine there before, but it didnt this time. but a selinux balloon popped up denying a program called fuse, which i think has to do w/ mounting the drives and fstab.
so i disabled that.

I also deleted all changes that i made to /etc/fstab

so my small controbution to that one guy 4 months from now w/ the same problem and had trouble like me finding the solution via the great googles...

Code:
su-
mount -a
seems simple enough, but it was more of an afterthought to me.
Good Luck.
ok, scratch that, disabling selinux is what fixed the problem.
 
  


Reply


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
fstab and ntfs floris Linux - General 1 06-09-2007 08:32 PM
ntfs-3g with FUSE (NTFS WRITE) - what do I put in fstab 1kyle SUSE / openSUSE 3 02-07-2007 06:08 AM
FSTAB Trouble with NTFS MoonlitSky Linux - General 1 04-06-2006 05:24 PM
fstab help, ntfs. aje Slackware 13 12-19-2004 07:56 PM
Mounting Ntfs In Fstab jon_k Linux - Software 9 08-30-2003 11:55 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora

All times are GMT -5. The time now is 04:13 PM.

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