LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Fedora (https://www.linuxquestions.org/questions/fedora-35/)
-   -   Fstab and ntfs (https://www.linuxquestions.org/questions/fedora-35/fstab-and-ntfs-660786/)

cougar618 08-06-2008 01:44 AM

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


David the H. 08-06-2008 04:49 AM

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.

ronlau9 08-06-2008 07:07 AM

You put you,re thread under Fedora , with Fedora version do you use ?
Under Fedora 9 it is auto mounted

cougar618 08-06-2008 07:59 PM

Quote:

Originally Posted by ronlau9 (Post 3238566)
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

cougar618 08-06-2008 08:15 PM

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.

cougar618 08-12-2008 01:23 PM

Quote:

Originally Posted by cougar618 (Post 3239284)
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.


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