LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
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-17-2009, 01:37 AM   #1
hnpat
LQ Newbie
 
Registered: Sep 2009
Posts: 16

Rep: Reputation: 0
How to access windows files & folders from Enterprise Linux Server


Hi,

I am new to Linux.I have installed dual boot, XP(NTFS) and Enterprise Linux Server on same desktop.Now how can I access windows files & folders from Enterprise Linux Server?

Please guide me for the same.

Regard's
Haresh

Last edited by hnpat; 09-17-2009 at 03:12 AM.
 
Old 09-17-2009, 01:41 AM   #2
vishesh
Member
 
Registered: Feb 2008
Distribution: Fedora,RHEL,Ubuntu
Posts: 661

Rep: Reputation: 66
If you installed RHEL 5 or higher , than
just click on places menu on desktop, you can get your windows partition

thnks
 
Old 09-17-2009, 02:10 AM   #3
lutusp
Member
 
Registered: Sep 2009
Distribution: Fedora
Posts: 835

Rep: Reputation: 102Reputation: 102
Quote:
Originally Posted by hnpat View Post
Hi,

I am new to Linux.I have installed dual boot, XP(NTFS) and Enterprise Linux Server on desktop.Now how can I access windows files & folders from Enterprise Linux Server?

Please guide me for the same.

Regard's
Haresh
Do you mean between a Windows machine and a Linux machine?

1. Enable sharing on the Windows machine -- you need to be sharing something for this to work.

2. On linux, run a file browser (which one depends on your desktop choice -- Gnome or KDE).

3. Depending on the file browser in use, look for something like a "network" icon and click it. Chances are any available local Samba shares will be listed, including the Windows machine(s) you have configured.

The specifics depend on which desktop environment you are using.

But if this ends up not revealing anything, open a command shell and type:

Code:
$ smbclient --list (hostname or IP)
This is a first step in establishing that you have successfully set up the Server Message Block (SMB) protocol between the machines.

Or if you mean accessing an NTFS drive located on the Linux machine, do this (as root):

Code:
# fdisk -l | grep -i ntfs
The above command will give the device name (like /dev/sdb1 for example) for the NTFS drive and partition. With that information, you can mount and read it.

# mkdir /mnt/windows

# mount -t ntfs (device from above test) /mnt/windows

Now open a file browser and navigate to the /mnt/windows directory to examine the Windows drive.

This is just a crude way to explore an NTFS partition. There are better ways to mount the Windows drive that will become apparent to you as you gain more experience.
 
Old 09-17-2009, 02:32 AM   #4
29t88
Member
 
Registered: Jan 2009
Distribution: CentOS 5.3
Posts: 62

Rep: Reputation: 17
Quote:
Originally Posted by lutusp View Post
Do you mean between a Windows machine and a Linux machine?

1. Enable sharing on the Windows machine -- you need to be sharing something for this to work.

2. On linux, run a file browser (which one depends on your desktop choice -- Gnome or KDE).

3. Depending on the file browser in use, look for something like a "network" icon and click it. Chances are any available local Samba shares will be listed, including the Windows machine(s) you have configured.

The specifics depend on which desktop environment you are using.

But if this ends up not revealing anything, open a command shell and type:

Code:
$ smbclient --list (hostname or IP)
This is a first step in establishing that you have successfully set up the Server Message Block (SMB) protocol between the machines.

Or if you mean accessing an NTFS drive located on the Linux machine, do this (as root):

Code:
# fdisk -l | grep -i ntfs
The above command will give the device name (like /dev/sdb1 for example) for the NTFS drive and partition. With that information, you can mount and read it.

# mkdir /mnt/windows

# mount -t ntfs (device from above test) /mnt/windows

Now open a file browser and navigate to the /mnt/windows directory to examine the Windows drive.

This is just a crude way to explore an NTFS partition. There are better ways to mount the Windows drive that will become apparent to you as you gain more experience.
He means hes dual booting Windows With Linux,
Not Access Over A Network, If you know the name of the partiton
try in terminal prompt
Run this command
mkdir /mnt/test
Then run this command:
mount /partitionname /mnt/test
Best reguards, hope this helps
 
Old 09-23-2009, 05:56 AM   #5
bharathi12
LQ Newbie
 
Registered: Sep 2009
Location: chennai
Posts: 3

Rep: Reputation: 1
access windows files from Red Hat Enterprise Linux

Mount NTFS file system with read write access

Mounting NTFS file system with read write access permissions is a bit more complicated. This involves installation of addition software such as fuse and ntfs-3g. In both cases you probably need to use your package management tool such as yum, apt-get, synaptic etc.. and install it from your standard distribution repository. Check for packages ntfs-3g and fuse. We take the other path which consists of manual compilation and installation fuse and ntfs-3g from source code.


Fuse Install

Download source code from: http://fuse.sourceforge.net/

#wget http://easynews.dl.sourceforge.net/s...e-2.7.1.tar.gz

Compile and install fuse source code:
Extract source file:

#tar xzf fuse-2.7.1.tar.gz

Compile and install

#cd fuse-2.7.1
#./configure --exec-prefix=/; make; make install

Compile and install fuse source code

ntfs-3g install

Download source code from: http://www.ntfs-3g.org/index.html#download

#wget http://www.ntfs-3g.org/ntfs-3g-1.1120.tgz

Extract source file:

#tar xzf ntfs-3g-1.1120.tgz

Compile and install ntfs-3g source code

NOTE: Make sure that you have pkg-config package installed, otherwise you get this error message:

checking for pkg-config... no
checking for FUSE_MODULE... configure: error: FUSE >= 2.6.0 was not found. Either it's not fully
installed (e.g. fuse, fuse-utils, libfuse, libfuse2, libfuse-dev, etc packages) or files from an old
version are still present. See FUSE at http://fuse.sf.net/

#cd ntfs-3g-1.1120
#./configure; make; make install

Compile and install ntfs-3g source code

Mount ntfs partition with read write access

#mount -t ntfs-3g /dev/sdb1 /mnt/ntfs/

NOTE: ntfs-3g recommends to have at least kernel version 2.6.18 and higher.

#mkdir /mnt/ntfs
# mount -t ntfs-3g /dev/sdb1 /mnt/ntfs/
 
  


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
[SOLVED] how to share files in linux server & access them from windows xp machine m.anand80 Linux - Newbie 5 08-20-2009 05:12 AM
unable to access windows folders from linux ashley_31 Linux - Networking 1 05-08-2006 06:24 AM
Samba can create new files and folders but access denied in any new folders k.king Linux - Networking 2 01-15-2006 06:14 AM
how to access windows folders from linux on a partitioned drive nickiv Linux - General 2 03-24-2005 03:37 AM
want to access win98 files and folders from network through linux 7.2 Enigma abhijitpethkar Linux - Newbie 1 04-12-2004 05:50 AM

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

All times are GMT -5. The time now is 07:39 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration