LinuxQuestions.org
Visit Jeremy's Blog.
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 04-11-2004, 06:16 PM   #1
swhitney
LQ Newbie
 
Registered: Apr 2004
Distribution: phlak
Posts: 2

Rep: Reputation: 0
access window's files with linux


I have a linux distro (PHLAK) and I am wondering how I would access my files of my harddrive (which is Windows XP, NTFS format). I'm new to linux so i do not know much. I surfed around the web for some answers, but they all talk about dual boot machines. I am just loading off a CD so I'm pretty sure it is a little different. Anyways, if someone could help me out with this problem it'd be great. I'm just mainly trying to access my mp3s and videos.
 
Old 04-11-2004, 06:30 PM   #2
SciYro
Senior Member
 
Registered: Oct 2003
Location: hopefully not here
Distribution: Gentoo
Posts: 2,038

Rep: Reputation: 51
maybe samba (I'm not sure tho...)

anyways linux kernel can read from ntfs partitions, in linux 2.6.X write support is supposed to work (experimental, but in 2.4.X write support could kill the whole ntfs partition, soo its a improvement )

anyways since your using a cdrom theres really nothing you can do unless the distro makers included ntfs read support when making the cdrom, or at least included a program that could...

still, i think you'll have to get a new linux distro if you want to read ntfs partitions from a cdrom, if you put the distro on the computers hard drive then you can (almost easily, once you get the hang of it) install the necessary software and stuff to read your windows drives
 
Old 04-11-2004, 07:53 PM   #3
swhitney
LQ Newbie
 
Registered: Apr 2004
Distribution: phlak
Posts: 2

Original Poster
Rep: Reputation: 0
my friend said he read his computer's contents somehow. and im pretty sure phlak does read ntfs. i dont need to write anything, just read.

could i possible do some "mount thing" and still have it work?

Last edited by swhitney; 04-11-2004 at 07:58 PM.
 
Old 04-11-2004, 08:41 PM   #4
theabyyss
Member
 
Registered: Aug 2001
Location: CT
Distribution: Debian Sarge (2.6.9-albooksleep) on a PPC
Posts: 64

Rep: Reputation: 15
some kernels have experimental ntfs read support built in. if not, see if you can find a module for it. if it's in the same computer, mount will do the trick with the proper kernel/module support.
 
Old 04-11-2004, 09:13 PM   #5
qwijibow
LQ Guru
 
Registered: Apr 2003
Location: nottingham england
Distribution: Gentoo
Posts: 2,672

Rep: Reputation: 47
actually..... 2.6 kernels HAVE read/write support for ntfs..
the ntfs for linux is nolonger experimental.

try the following....(as root)

mkdir /mnt/windowsXP
mount -t ntfs /dev/(windows disk and partiton number) /mnt/windowsXP

it will either work,
or it will fail, the disk and partiton you entered is not of ntfs format / doesnt exist
or it will fail with the error ' your kernel dont support ntfs'

the first fail is human error,

if the kernel dont support ntfs, then run 'uname -r' if you are running a 2.4 kernel, then you need to find a read only driver. (or upgrade to 2.6) if you are running a 2.6 kernel, you need to re-compile with ntfs support. (or download the ntfs source from the ntfs project home page, install your kernel source, and compile an ntfs module)

its alot easter than it sounds.

but seeing as you dont apear to even understand the mount command, i recomend you read 'man mount'

okay ?
 
Old 04-11-2004, 09:17 PM   #6
souljah
Member
 
Registered: Feb 2004
Location: New York City
Distribution: Debian
Posts: 97

Rep: Reputation: 15
fdisk -l to find the drive information (/dev/???) for your windows partition then follow the directions supplied by qwijibow
 
Old 04-11-2004, 09:20 PM   #7
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
man fstab and man mount to find out how to add lines for mounting other drives and partitions and to find out all the options for mounting other drives and partitions.

entries in /etc/fstab will have the mount options, drive/partition to mount, and the mount directory for mount to use. you can also in the mount options have the auto option in /etc/fstab to automatically mount the drive and partition on boot up.
 
Old 04-11-2004, 11:13 PM   #8
Pauli
Member
 
Registered: Feb 2004
Location: Montreal
Distribution: Gentoo/Debian
Posts: 365

Rep: Reputation: 30
There is no NTFS writing capability, there is however, NTFS editing ability as long as the file size stays the same, which is next to impossible. So don't try. I have heard of something about a captive ntfs but I dunno what that is, but the bottom line is, NTFS write is not safe, don't use it.
 
Old 04-12-2004, 07:36 AM   #9
qwijibow
LQ Guru
 
Registered: Apr 2003
Location: nottingham england
Distribution: Gentoo
Posts: 2,672

Rep: Reputation: 47
Quote:
There is no NTFS writing capability, there is however, NTFS editing ability as long as the file size stays the same, which is next to impossible. So don't try. I have heard of something about a captive ntfs but I dunno what that is, but the bottom line is, NTFS write is not safe, don't use it.
like ive already said.....
under the 2.4 linux kernel, ntfs writing was experimental, and almost always damaged the file sysem. (Read the help file on ntfs in a later 2.4 kernel source code)

HOWEVER..... under kenrel 2.6, nfts support is stable. the readme in the kernel source says that ntfs writing is new, so be careful, however it passed all tests, and they have not yet to recieve a single report of the ntfs writing module damaging the file system.
ive used it many many times, and i agree with them, NTFS writing works under kernel 2.6.X
 
  


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
Can Linux read Window's .exe files? dudeguy9001 Linux - Software 7 12-24-2004 05:31 PM
Can't access some files in linux ru4life Linux - Newbie 3 07-20-2004 12:59 PM
How can I access my Windows files from Linux? KidMW14 Linux - Newbie 9 03-28-2004 10:33 PM
how can I access files on window$ from linux hugosoto Linux - Networking 2 10-21-2002 08:03 PM
access linux files from windows? okok Linux - Newbie 4 02-05-2002 07:20 PM


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