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 06-23-2004, 12:39 AM   #1
pguru
LQ Newbie
 
Registered: Jun 2004
Posts: 29

Rep: Reputation: 15
windows files in linux


i've heard that you can view your windows files (mp3s and avis) in linux. i have two hard drives, and linux is on the slave drive, and i have mandrake running KDE is there anyway I can get to my other hard drive and view the files. I ran Knoppix and was able to see my other files, but not in Mandrake.
 
Old 06-23-2004, 12:49 AM   #2
peok
Member
 
Registered: Aug 2003
Location: CA, USA
Distribution: (Almost) LFS 6.1.1
Posts: 91

Rep: Reputation: 15
is your filesystem on windows fat32 or ntfs? if ya don't know check in windows on the drive under properties or something. if its fat32 (likely if knoppix saw it) and windows is on master drive, make a directory for your windows drive like /mnt/windows (or whatever you want to call it) by doing this:
Code:
mkdir /mnt/windows
(the /mnt directory is normally where you mount things, I don't know why). then mount your drive by going
Code:
mount /dev/hda1 /mnt/windows
the hda drive is the first drive on the primary ide interface (master drive) and the #1 means the first partition. you can access the files on /mnt/windows

FYI: This is all done in the terminal, there is probably a way to do it with a graphical program, but I wouldn't know how. Also, this will only work until your restart. Perhaps somebody can show us how to add it to the startup scripts because I don't know how.

Oh yeah, if you have ntfs, it's alot harder. There really isn't full linux support, only read-only support. and you have to get a driver or something (http://linux-ntfs.sourceforge.net/). If you have ntfs search the forums for how to do it.

Last edited by peok; 06-23-2004 at 12:55 AM.
 
Old 06-23-2004, 12:50 AM   #3
JimBass
Senior Member
 
Registered: Oct 2003
Location: New York City
Distribution: Debian Sid 2.6.32
Posts: 2,100

Rep: Reputation: 49
It depends on the kernel that you are running. If it is a very new release (like the newest knoppix) you have the ability to read files in an NTFS filesystem. If Mandrake is running on a 2.4.x kernel, it won't be able to read off of a NTFS windows drive. The 2.4.x kernel series can read fat, vfat, fat32 and all the windows 98 generations of files, but the NTFS only became readable a few months ago.

If you give us some specifics (exact Mandrake version, kernel version, and the windows version and file format) we can give you more direct help.

Peace,
JimBass
 
Old 06-23-2004, 01:00 AM   #4
pguru
LQ Newbie
 
Registered: Jun 2004
Posts: 29

Original Poster
Rep: Reputation: 15
my mandrake is 10.0 3.3.2-6mdk, kernel 2.6.3-7mdk, windows XP, NTFS
 
Old 06-23-2004, 01:09 AM   #5
JimBass
Senior Member
 
Registered: Oct 2003
Location: New York City
Distribution: Debian Sid 2.6.32
Posts: 2,100

Rep: Reputation: 49
Try doing what Peok suggested above. You basically create a location to mount windows to (with the mkdir /mnt/windows/ cmd, then you mount with the command mount /dev/hda1 /mnt/windows). If that doesn't work, then your kernel wasn't built with the ability to read NTFS files. If that is the case, you'd have to recompile your kernel, and the only time I tried doing that I screwed my system up very bad, so I suggest you take someone else's advice on how to accomplish that step.

Peace,
JimBass
 
Old 06-23-2004, 01:11 AM   #6
pguru
LQ Newbie
 
Registered: Jun 2004
Posts: 29

Original Poster
Rep: Reputation: 15
thanks it worked

Last edited by pguru; 06-23-2004 at 01:12 AM.
 
Old 06-23-2004, 01:15 AM   #7
benjithegreat98
Senior Member
 
Registered: Dec 2003
Location: Shelbyville, TN, USA
Distribution: Fedora Core, CentOS
Posts: 1,019

Rep: Reputation: 45
Mandrake can read NTFS. There is no need to recompile.

2.4.x can read NTFS (The later ones definately.... Not sure about early 2.4.x). Get your facts straight before posting incorrectly. NTFS reading has capable for a few years.
 
Old 06-23-2004, 10:55 AM   #8
Irving
Member
 
Registered: May 2004
Distribution: Gentoo - KDE 3.2.2
Posts: 57

Rep: Reputation: 15
If you want your windows drive to be mounted every time you start up, add the info to your fstab file.

edit /etc/fstab

Follow the examples aready there... In the first column put the /dev location (e.g. /dev/hda1), then tab over to the next column and put the mount location (e.g. /mnt/windows). The following column is for the file type (ntfs, fat, or Auto if you're not sure), and the 4th holds special options; I would just suggest adding noatime. There should be 2 more columns at the end, put 0 in each.
 
  


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
Want to look at windows files from linux Delarama Mandriva 2 10-04-2004 04:16 AM
How Do I Get To My Windows Files From Linux? AFI_Flame Slackware 12 06-01-2004 05:16 PM
Backed up Windows Files on Linux; Can't Recover them to Windows MadFunk Linux - Software 6 08-16-2003 09:16 PM
windows files to linux???? andym Linux - Newbie 18 06-09-2003 10:16 PM
windows files on linux mangueJOE Linux - Networking 3 07-08-2002 04:57 PM


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