LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   /mnt/nt unmount while RH restart (https://www.linuxquestions.org/questions/linux-newbie-8/mnt-nt-unmount-while-rh-restart-68157/)

Arzene 06-26-2003 04:28 AM

/mnt/nt unmount while RH restart
 
I am a newbie for RH 9.

I have 3 partitions for /dev/hda. I mounted the 3 partitions into /mnt/nt /mnt/windows_c and /mnt/windows_d by using following commands:

mount /dev/hda1 /mnt/windows_c -t vfat
mount /dev/hda3 /mnt/nt -t ntfs

I can 'explore' /mnt/nt, /mnt/windows_c and /mnt/windows_d after running the commands above. BUT after I restarted my POWERFUL RH 9 i have to redo the above commands again to 'explore' my /dev/hda

any IDEAs to access the above partions permently (i mean they won't 'disappear' after restart)????

PLS HELP ME..........

p/s: my existing RH 9 is installed in /dev/hdb

DrOzz 06-26-2003 05:53 AM

you have to add the lines to you /etc/fstab...not the lines you have wrote at terminal but something along the lines of:

/dev/hda1 /mnt/windows_c vfat defaults 0 0

where i have wrote defaults, you can look into what different values you can type in there:
for example i don't use the word defaults for one of my fat drives
i use:
user, rw, exec, uid=500
so you can see what you actually want to put there.
and just for you know...
defaults is the equivalent to rw, suid, dev, exec, auto, nouser, and async.

Arzene 06-26-2003 08:51 PM

Thanz... I can 'see' my fat32 drive when I restart my RH9. but One of my filesystem is NTFS... then how to do this?

i worte /dev/hda3 /mnt/nt ntfs defaults 0 0 in /etc/fstab

BUT seems like nothing happened here. Any IDEA on that?

cropcircle 06-28-2003 04:56 PM

Is "http://linux-ntfs.sourceforge.net/info/redhat.html" useful to you?

LinuxBAH 06-28-2003 10:47 PM

sorta off topic but still... is fstab executed upton startx being executed or is that loaded during bootup?

DrOzz 06-28-2003 10:49 PM

bootup

cropcircle 06-29-2003 09:02 AM

Arzene : What do the following commands say :

"lsmod |grep -i ntfs"


... If nothing gets displayed, can you do this :

"modprobe ntfs"

And what happens if you do this again :

"lsmod |grep -i ntfs"


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