LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices


Reply
  Search this Thread
Old 03-01-2005, 06:58 PM   #1
wardialer
Member
 
Registered: Sep 2004
Distribution: SUSE Linux Pro 9.3
Posts: 375

Rep: Reputation: 30
Seeing my Windows Files....WHY?????


Why am I seeing my Windows files in the mnt/windows/ directory?????

How can I remove them??

If i remove them will this cause a conflict in Linux or Windows???? I am seeing my Windows Program Files and everything in the /mnt/windows/

How can I remove these? And will it cause a problem if I do remove them?
 
Old 03-01-2005, 07:12 PM   #2
darkRoom
Member
 
Registered: Mar 2004
Location: Valencia, espaņa
Distribution: Slack, Gentoo, Custom
Posts: 162

Rep: Reputation: 30
hi
Is this a joke ?

I should think you have your windows partition mounted in /mnt/windows. Verfiy with

cat /etc/fstab

Theres no comflict, in fact most people see it as useful to retrive files from windows without having to reboot.

Last edited by darkRoom; 03-01-2005 at 07:28 PM.
 
Old 03-01-2005, 07:14 PM   #3
EliotK
Member
 
Registered: Mar 2005
Location: UK
Distribution: Fedora Core 3
Posts: 76

Rep: Reputation: 15
No it's normal, but windows is crap, why does everyone dual boot windows.
 
Old 03-01-2005, 07:18 PM   #4
wardialer
Member
 
Registered: Sep 2004
Distribution: SUSE Linux Pro 9.3
Posts: 375

Original Poster
Rep: Reputation: 30
Ha ha ha ha ha ha ha..............

I am dual-booting, but I use Windows like .0000000001% of the time.....

But is it normal to have these files in there or not? And how could I remove them?

I verified with the cat fstab command and the results were No Such File or directory.....

Last edited by wardialer; 03-01-2005 at 07:21 PM.
 
Old 03-01-2005, 07:20 PM   #5
halo14
Senior Member
 
Registered: Apr 2004
Location: Surprise, AZ
Distribution: Debian | CentOS | Arch
Posts: 1,103

Rep: Reputation: 45
wtf? are serious?? dude.. you're distro automatically added you Windows partition to your fstab... edit it(as root) and remove/comment the line that says something like:

/mnt/windows /dev/hdax ntfs defaults 0 0

or something similar (the /mnt/windows is the line you're looking for)

this is a normal operation.. i don't know why you're concerned with this?? You can't write anything to the windows partition.. only read..
 
Old 03-01-2005, 07:22 PM   #6
chris318
Member
 
Registered: Feb 2005
Distribution: Slack
Posts: 122

Rep: Reputation: 19
You are seeing them becuase linux is mounting your windows partition in /mnt/windows. To remove them just umount the partition ...

umount /mnt/windows

To prevent linux from automatically mounting you windows partition at boot just add a "noauto" in column 4 of you /etc/fstab file. Then in the future, if for some reason you want to mount you windows parition:

mount /mnt/windows
do some stuff... whatever you like
umount /mnt/windows

If you never want to mount the partition agian, just delete the line containing /mnt/windows in it from your /etc/fstab file.

You are just umounting it. You will still be able to boot into windows.
 
Old 03-01-2005, 07:23 PM   #7
wardialer
Member
 
Registered: Sep 2004
Distribution: SUSE Linux Pro 9.3
Posts: 375

Original Poster
Rep: Reputation: 30
Ok I got it.... WARNING....SLOW TYPER...

Last edited by wardialer; 03-01-2005 at 07:24 PM.
 
Old 03-01-2005, 07:25 PM   #8
EliotK
Member
 
Registered: Mar 2005
Location: UK
Distribution: Fedora Core 3
Posts: 76

Rep: Reputation: 15
man windows sucks ass, the only excuse i got for using it is for my all-in-one printer and webcam.....

*And I still dont use it
 
Old 03-01-2005, 07:28 PM   #9
wardialer
Member
 
Registered: Sep 2004
Distribution: SUSE Linux Pro 9.3
Posts: 375

Original Poster
Rep: Reputation: 30
Ok, what should I remove for here the /etc/fstab???
Should I remove the following line???? /dev/hda1 /mnt/windows ntfs iocharset=iso8859-1,ro,umask=0 0 0
none /proc proc defaults 0 0
My question is, from what point and what end should I remove the line??? Until it says unamask=0 0 0???? Or, what???

Code:
/dev/hda8 / ext3 defaults 1 1
none /dev/pts devpts mode=0620 0 0
/dev/hda5 /home ext3 defaults 1 2
none /mnt/cdrom supermount dev=/dev/hdc,fs=auto,ro,--,iocharset=iso8859-1,codepage=850,umask=0 0 0
none /mnt/cdrom2 supermount dev=/dev/scd0,fs=auto,ro,--,iocharset=iso8859-1,codepage=850,umask=0 0 0
none /mnt/floppy supermount dev=/dev/fd0,fs=auto,--,iocharset=iso8859-1,sync,codepage=850,umask=0 0 0
/dev/hda1 /mnt/windows ntfs iocharset=iso8859-1,ro,umask=0 0 0
none /proc proc defaults 0 0
/dev/hda6 /root ext3 defaults 1 2
/dev/hda7 /swap ext3 defaults 1 2
/dev/hda9 swap swap defaults 0 0

Last edited by wardialer; 03-01-2005 at 07:32 PM.
 
Old 03-01-2005, 07:34 PM   #10
wardialer
Member
 
Registered: Sep 2004
Distribution: SUSE Linux Pro 9.3
Posts: 375

Original Poster
Rep: Reputation: 30
Should I remove this: /dev/hda1 /mnt/windows ntfs iocharset=iso8859-1,ro,umask=0 0 0
or the whole thing???

/dev/hda1 /mnt/windows ntfs iocharset=iso8859-1,ro,umask=0 0 0
none /proc proc defaults 0 0


Which PART OF THE LINE do I have to remove???

Last edited by wardialer; 03-01-2005 at 07:37 PM.
 
Old 03-01-2005, 08:01 PM   #11
swashbuckler
LQ Newbie
 
Registered: Feb 2005
Location: Sydney, Aus
Distribution: Debian Sarge, Ubuntu
Posts: 13

Rep: Reputation: 0
Pretty sure you need only remove the
Code:
/dev/hda1 /mnt/windows ntfs iocharset=iso8859-1,ro,umask=0 0 0
However you can just put a # in front of it and it will ignore the line when loading up. Use this in case you change your mind at a later date.
 
  


Reply



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
getting to Windows files speedemonV12 Linux - Newbie 8 07-23-2005 06:06 AM
I can not open windows files in /mn/windows hraposo Mandriva 1 08-12-2004 10:45 PM
c header files in linux in place of header files in windows? harun_acs Programming 1 03-17-2004 02:24 AM
Backed up Windows Files on Linux; Can't Recover them to Windows MadFunk Linux - Software 6 08-16-2003 08:16 PM
PS Files from Windows XP aroben Linux - Networking 5 11-14-2002 06:34 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 11:38 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