Simpler Navigation for Servers and Operating Systems
Completed: a much simpler Servers and Operating Systems section of the Community. We combined many of the older boards, so you won't have to click through so many levels to get at the information you need. Check the consolidated boards here as many sub-forums are now single boards.
General
cancel
Showing results for 
Search instead for 
Did you mean: 

How to access the Windows files in Linux

CA1490051
Frequent Advisor

How to access the Windows files in Linux

Hi all,

I dont know this is the right place to ask this question. But, it will be of great help if i get a solution for this.

I have installedLinux 9.1 on my PC with XP windows OS.

Now i want to access the files present in the windows partition. How can i do this ?

Also what is the editor i have to use to open PDF files in Linux .

thanks in advance
Vikram
10 REPLIES

Re: How to access the Windows files in Linux

question moved to more appropriate forum
My house is the bank's, my money the wife's, But my opinions belong to me, not HP!
TY 007
Honored Contributor

Re: How to access the Windows files in Linux

Hello Vikram,

>> installedLinux 9.1 on my PC with XP windows OS
>> want to access the files present in the windows partition

Share out the Folder in Windows OS, provide unlimited access first, control later.

In Linux OS, try to use GUI Samba Client in Gnome/KDE, connect using Windows IP Address.

Thanks
TY 007
Honored Contributor

Re: How to access the Windows files in Linux

Hello Vikram,

>> editor i have to use to open PDF files in Linux

# rpm -qa | grep -i xpdf

Normally "xpdf" is installed:
Xpdf is an X Window System based viewer for PDF files. Xpdf is a small and efficient program which uses standard X fonts.

In XTerminal, issue command:
# /usr/bin/xpdf

Thanks
Steven E. Protter
Exalted Contributor

Re: How to access the Windows files in Linux

Shalom,

What is Linux 9.1? Suse 9.1?

To access windows files you use the samba tool suite.

smbmount to mount the shared windows partition.

openoffice tools permit limited pdf editing, they ship with the linux distro if I've guessed correctly.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Mike Stroyan
Honored Contributor

Re: How to access the Windows files in Linux

Other replies assume that you are accessing files on a different system that is booted to XP. I sounds like you are actually trying to get at a partition on a local disk that has a filesystem that was created by XP. The default for XP is the NTFS file system. Most linux distributions have support for mounting NTFS file systems read-only. You can list the partitions on a system using /proc/partitions- "cat /proc/partitions". You can get more information about what each partition is using parted- "sudo parted /dev/sda print". The device name you pass to parted will correspond the devices reported by /proc/partitions.
You can mount an NTFS partition with a command like "mount -t ntfs /dev/sda1 /mnt". You may also want to use uid and gid options to make the files and directories of the mounted filesystem readable by non-root users.
If you really want write access to the NTFS file system, you could investigate the NTFS-3G driver. It is new and very unlikely to be included in the standard kernel for current distributions. See http://www.ntfs-3g.org/ for more information on how to get it into your kernel and use it.
Another option for having a filesystem writable by both XP and linux is to format a partition with a FAT32 file system for exchanging data. That will have less flexibility for file permissions. But it will be easily read and written by both operating systems.
nataraj.kn
Advisor

Re: How to access the Windows files in Linux

hai
if u want to access files shared on windows then you can use samba client. go through
Computer
network
then select windows or any system through network

By default samba client service running on linux.
~sesh
Esteemed Contributor

Re: How to access the Windows files in Linux

The suggestions that have been pasted need to be used depending on whether you are dual booting or accessing files over the network.

I have installed Linux 9.1 on my PC with XP windows OS. I think you have done a dual-boot.

In this situation, it is easy to mount & access the files on the Windows partition if the file system is FAT/FAT32. If it is NTFS, then you will need the ntfs-3g component. Whether it is available for your version of Linux, check in the package manager or install from the web site directly.

The /etc/fstab file contains all the mount points that will be loaded when Linux starts.
For easy access, create directory(ies) under the /mnt or /media directories to mount the other partitions.

For e.g. if I have a Windows partition called "WINDOWS", I will create a directory called windows under /mnt (/mnt/windows). Then mount it manually using the mount command. If it works fine, move the entry to the /etc/fstab file.

The commands in brief:

fdisk -l (to see partition information).
mkdir /mnt/windows (create windows directory for mounting)

A sample entry in fstab:

/dev/hda1 /mnt/windows ntfs nls=utf8,umask=0222 0 0
sandeep mathur
Respected Contributor

Re: How to access the Windows files in Linux

firstly do,

fdisk -l
then

mount -t ntfs /mnt/

then in that mnt directory and that file u mentined above will give u the list of files. u can access it from there.
Srimalik
Valued Contributor

Re: How to access the Windows files in Linux

acrobat reader 8 is available for linux..download it from adobe's site..

Else you can use evince to read pdf files.

About the first question (windows files):

Directly mount the windows partition in linux if you are using dual boot.

Use samba if the files are on some other XP machine connected to linux one.

Both methods are already explained in detail in previous threads.

Thanks
Sri
abandon all hope, ye who enter here..
~sesh
Esteemed Contributor

Re: How to access the Windows files in Linux

There are many PDF viewers for Linux. Evince, XPDF, Adobe reader. You have PDF viewer specific for Gnome desktop (Evince), KDE (xpdf). These are the open-source options compared to Adobe Reader.