LinuxQuestions.org
Review your favorite Linux distribution.
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 09-23-2003, 10:29 PM   #1
aymbpc
LQ Newbie
 
Registered: Aug 2003
Posts: 19

Rep: Reputation: 0
mounting windows problem


Hi
I intended to view my windows xp files from linux.I used an rpm and did it.When i did it i could see my windows files.
However the next time when i logged on as root i could only see the windows folder under /mnt.
But i could not see the files inside that folder.
Why is this so
Ajay
 
Old 09-23-2003, 10:45 PM   #2
jailbait
LQ Guru
 
Registered: Feb 2003
Location: Virginia, USA
Distribution: Debian 12
Posts: 8,334

Rep: Reputation: 547Reputation: 547Reputation: 547Reputation: 547Reputation: 547Reputation: 547
" i could only see the windows folder under /mnt."

You need to mount the Windows partition on the mountpoint directory. If you want that to happen automatically every time you boot then put an entry in /etc/fstab for the Windows partition.
 
Old 09-23-2003, 11:46 PM   #3
aymbpc
LQ Newbie
 
Registered: Aug 2003
Posts: 19

Original Poster
Rep: Reputation: 0
Hi
Could you please tell me what entries i need to put in /etc/fstab.
Thank you
ajay
 
Old 09-23-2003, 11:51 PM   #4
jailbait
LQ Guru
 
Registered: Feb 2003
Location: Virginia, USA
Distribution: Debian 12
Posts: 8,334

Rep: Reputation: 547Reputation: 547Reputation: 547Reputation: 547Reputation: 547Reputation: 547
Here is a good explanation by DrOzz:


http://www.linuxquestions.org/questi...xp+mount+fstab
 
Old 09-26-2003, 12:58 AM   #5
aymbpc
LQ Newbie
 
Registered: Aug 2003
Posts: 19

Original Poster
Rep: Reputation: 0
Hi
I did as told of mounting windows partition so as to view from linux.I can view my windows files and everything.However there is one thing i need to do.
I have a user abc who has folder test which he wishes to copy to windows folder.How can this user do this.
Thanks
Ajay
 
Old 09-26-2003, 06:53 AM   #6
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,593

Rep: Reputation: 5880Reputation: 5880Reputation: 5880Reputation: 5880Reputation: 5880Reputation: 5880Reputation: 5880Reputation: 5880Reputation: 5880Reputation: 5880Reputation: 5880
If the windows partition is NTFS then writing is not recommended.

If the windows partition is vfat then you need to add the following option to its entry in fstab:

umask=000
 
Old 09-26-2003, 10:54 AM   #7
aymbpc
LQ Newbie
 
Registered: Aug 2003
Posts: 19

Original Poster
Rep: Reputation: 0
Hi
How can i find out if the windows version is vfat or NTFS.I have an XP operating system.
I feel it is ntfs.But I am not sure.
Ajay
 
Old 09-26-2003, 10:57 AM   #8
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,593

Rep: Reputation: 5880Reputation: 5880Reputation: 5880Reputation: 5880Reputation: 5880Reputation: 5880Reputation: 5880Reputation: 5880Reputation: 5880Reputation: 5880Reputation: 5880
In windows use diskmanager, the GUI will display filesystem type. In linux log in as root and use the fdisk command

fdisk -l (thats a small L)
 
Old 09-26-2003, 11:19 AM   #9
win32sux
LQ Guru
 
Registered: Jul 2003
Location: Los Angeles
Distribution: Ubuntu
Posts: 9,870

Rep: Reputation: 380Reputation: 380Reputation: 380Reputation: 380
if it's ntfs and you don't have support for it you'll need this (don't use ntfs on linux for anything critical, it sorta works, but it really sucks):

http://linux-ntfs.sourceforge.net/


here's a couple man pages that might help you:

http://www.die.net/doc/linux/man/man8/fdisk.8.html

http://www.die.net/doc/linux/man/man8/mount.8.html

http://www.die.net/doc/linux/man/man5/fstab.5.html


good luck!
 
Old 09-26-2003, 03:02 PM   #10
jailbait
LQ Guru
 
Registered: Feb 2003
Location: Virginia, USA
Distribution: Debian 12
Posts: 8,334

Rep: Reputation: 547Reputation: 547Reputation: 547Reputation: 547Reputation: 547Reputation: 547
"I feel it is ntfs."

If it is then you can create a small vfat partition somewhere. Both Windows and Linux can read/write to the vfat partition.
 
  


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
Stil mounting problem in linux to windows partitions prince_linux Red Hat 3 11-03-2005 06:28 AM
Problem with mounting windows partition vinayachandra Linux - Newbie 4 01-12-2005 02:43 PM
problem mounting windows partition r.stiltskin Debian 5 10-21-2004 02:59 AM
mounting windows patitions in redhat 9 problem bubbahpw Linux - Newbie 3 09-01-2004 07:59 AM
mounting windows drive a problem dondon Linux - Newbie 3 01-03-2004 08:20 AM

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

All times are GMT -5. The time now is 10:12 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
Open Source Consulting | Domain Registration