LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 01-20-2004, 11:55 PM   #1
Mad Mardigan
LQ Newbie
 
Registered: Jan 2004
Location: Charlotte, NC
Distribution: Fedora Core 2
Posts: 20

Rep: Reputation: 0
windows mnt not staying


http://linux-ntfs.sourceforge.net/rp...s.html#install

This is the install I used to access NTFS with Linux.

Now everytime I restart back to Linux

I get :
[root@localhost will]# ls -l /mnt/windows
total 0


So I:
[root@localhost will]# mount /dev/hda1 /mnt/windows -t ntfs -r -o umask=0222
[root@localhost will]# ls -l /mnt/windows
total 1182312
dr-xr-xr-x 1 root root 0 Nov 21 21:59 ATI
-r--r--r-- 1 root root 0 Nov 22 00:47 AUTOEXEC.BAT
dr-xr-xr-x 1 root root 0 Dec 2 23:24 BF STUFF
-r--r--r-- 1 root root 53 Nov 30 22:40 boot.inh
-r--r--r-- 1 root root 194 Nov 22 00:42 boot.ini
-r--r--r-- 1 root root 0 Nov 22 00:47 CONFIG.SYS
dr-xr-xr-x 1 root root 4096 Nov 21 21:51 Documents and Settings
dr-xr-xr-x 1 root root 4096 Jan 18 14:05 downloadprograms
dr-xr-xr-x 1 root root 0 Nov 21 22:01 DX
-r--r--r-- 1 root root 0 Nov 22 00:47 IO.SYS
dr-xr-xr-x 1 root root 0 Jan 19 22:52 Linux stuff
dr-xr-xr-x 1 root root 0 Nov 21 22:33 MM
-r--r--r-- 1 root root 0 Nov 22 00:47 MSDOS.SYS
dr-xr-xr-x 1 root root 16384 Jan 4 12:11 MUSIC!!!!!
dr-xr-xr-x 1 root root 4096 Nov 22 02:16 NOrton
-r--r--r-- 1 root root 53 Nov 30 22:40 ntdetect.col
-r--r--r-- 1 root root 45124 Aug 23 2001 NTDETECT.COM
-r--r--r-- 1 root root 53 Nov 30 22:40 ntldp
-r--r--r-- 1 root root 222368 Aug 23 2001 ntldr
-r--r--r-- 1 root root 1207959552 Jan 20 23:20 pagefile.sys
dr-xr-xr-x 1 root root 8192 Jan 18 14:06 Program Files
dr-xr-xr-x 1 root root 0 Jan 19 22:53 PW
-r--r--r-- 1 root root 264 Jan 20 19:07 RCINFO.TXT
dr-xr-xr-x 1 root root 0 Nov 21 22:12 RECYCLER
-r--r--r-- 1 root root 0 Nov 30 22:45 SFCFILES.TXT
-r--r--r-- 1 root root 158 Jan 14 22:13 systemscandata.txt
dr-xr-xr-x 1 root root 0 Nov 22 00:50 System Volume Information
dr-xr-xr-x 1 root root 45056 Jan 18 14:06 WINDOWS
dr-xr-xr-x 1 root root 0 Dec 23 18:48 WUTemp

So the thing is, how can I permently mount windows, everytime I reboot I have to redo those commands?
 
Old 01-21-2004, 12:00 AM   #2
Onemessedupjedi
Member
 
Registered: Sep 2003
Location: Oregon
Distribution: Slackware 9.1
Posts: 194

Rep: Reputation: 30
you need to edit your fstab in /etc/fstab
for now you can add the line:
/dev/hda1 /mnt/windows ntfs ro 0 0
There is a better line, but this works
edit: Works when you are root I should say, read the man pages on fstab and figure out the needed option to allow users to use it.

Last edited by Onemessedupjedi; 01-21-2004 at 12:03 AM.
 
Old 01-21-2004, 12:29 AM   #3
megaspaz
Senior Member
 
Registered: Nov 2002
Location: Silly Con Valley
Distribution: Red Hat 7.3, Red Hat 9.0
Posts: 2,054

Rep: Reputation: 46
/dev/hda1 /mnt/windows ntfs auto,owner,umask=0222,ro 0 0
 
  


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
write /mnt/windows doorman007 Linux - General 5 06-09-2004 03:31 AM
windows mount not staying after reboot - fstab looks OK ScottUT Linux - Newbie 5 01-21-2004 08:01 PM
mount -t //192.168.0.1/mnt /mnt/windows -o password='' generates error broadsoft Linux - Networking 3 08-07-2003 05:51 AM
smbmount //pc/d /mnt/windows arax_luminarium Linux - Software 6 07-23-2003 08:36 PM
Mnt windows partition thackerd Linux - Newbie 2 01-16-2003 09:54 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 08:53 AM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration