LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
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-16-2003, 01:25 PM   #1
Fudge T Goblin
LQ Newbie
 
Registered: Sep 2003
Posts: 5

Rep: Reputation: 0
Linux/Windows file transfer: Possible?


Until just a few days ago I was a Linux virgin, so excuse the ignorance with which I ask this question.
I installed Slackware Linux on my e: drive, and I've enjoyed KDE so much that I'm rapidly becoming a convert. My problem is this:
1. How can I get Linux to see my c: drive, which has Windows 2k on it? Is it even possible? Or is there any other way to get some files (not necessarily anything big, just some of my documents and stuff) from my Windows side over to my Linux side?
2. Now the opposite question: my printer is, shall we say, challenged, so when I need to print stuff I disk it and take it to school with me. How (if at all) can I transfer files from a Linux box to a Windows machine?

Thanks!
 
Old 09-16-2003, 01:27 PM   #2
WiZaC
Member
 
Registered: Sep 2003
Location: Denmark
Distribution: FreeBSD
Posts: 110

Rep: Reputation: 15
I dont think its possible, and why do you want it?
 
Old 09-16-2003, 01:34 PM   #3
Fudge T Goblin
LQ Newbie
 
Registered: Sep 2003
Posts: 5

Original Poster
Rep: Reputation: 0
Regarding why I want to do this:
I'd like to start using the Linux side more than the Windows side. A lot of the work I do is writing, so I'd like to be able to transfer some of my already-written docs to the Linux side. Then, when I want to print something, I'll need to be able to get it onto another machine, which will probably have Windows on it.
Things like that.
 
Old 09-16-2003, 01:34 PM   #4
fragglehorn
Member
 
Registered: Oct 2002
Location: I-Town, NY
Distribution: Debian, Slackware
Posts: 130

Rep: Reputation: 15
What you need is very possible (and frequently asked, there should be tons of threads on this).

To see your windows partition:
mount -t winfs /dev/hda1 /mnt/win

whereis winfs is either vfat or ntfs, depending on your system. /mnt/win is simply a mount point, you can use anything you'd like. I'm also assuming that your win drive is hda1.

To pass files between linux and windows, research a little into samba or add ftp functionality to your slack machine.

Best of luck!
 
Old 09-16-2003, 01:35 PM   #5
closet geek
Member
 
Registered: Apr 2003
Location: England
Posts: 146

Rep: Reputation: 15
Yeah of course it is possible!

I assume 2K is ntfs? right so open your /etc/fstab as root (log in as root in a shell and type kwrite /etc/fstab) and add this into it:

/dev/hda1 /mnt/windows ntfs ro,umask=0222 0 0

where hda1 is the name of the partition or drive your 2K install is on and /mnt/windows is where you will be the folder you are able to access your windows install if you'd prefer a folder on your desktop then change it to /home/yournamehere/Desktop

Make sure you make the directory, so if you want it on your desktop in a directory called windows do:

mkdir /home/yournamehere/windows

Right that takes care of it appearing everytime you boot but to get it to appear and be mounted the first time type:

mount /dev/hda1

that should be it, if you run in to trouble with Slack not mounting it try this:

mount -t ntfs /dev/hda1

As for your second question, well this ain't so easy, ability to write to ntfs is very experimental and not to be relied on, if you have your 2K install on a FAT partition then that shouldn't be a problem just copy stuff across but if it's ntfs then I can't help, you can of course still transfer stuff to a floppy or burn to a CDROM from linux

Oh, and one last note, I assume that you've got ntfs support compiled into your kernel...

cg
 
Old 09-16-2003, 01:42 PM   #6
Fudge T Goblin
LQ Newbie
 
Registered: Sep 2003
Posts: 5

Original Poster
Rep: Reputation: 0
>Oh, and one last note, I assume that you've got ntfs support
>compiled into your kernel...

How do I tell? And how should I fix it if I don't?
 
Old 09-17-2003, 11:12 AM   #7
aaa
LQ Guru
 
Registered: Jul 2003
Location: VA
Distribution: Slack 10.1
Posts: 2,194

Rep: Reputation: 47
Look in /proc/filesystems for a list of supported filesystems: "cat /proc/filesystems". If ntfs isn't in there, you'll have to recompile your kernel. The kernel-Howto from www.tldp.org will help, and there is a a handy guide for compiling kernels at the top of the Slackware forum: http://www.linuxquestions.org/questi...threadid=49035
 
  


Reply



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
How to do file transfer in linux pspandu Linux - General 7 09-12-2006 02:09 AM
there a way to transfer a file on linux to windows? e0r Linux - Newbie 4 02-21-2005 11:29 AM
File Transfer from XP to Linux e11 Linux - Newbie 8 11-06-2004 11:17 AM
file transfer from linux to xp michi56 Linux - Newbie 5 03-07-2004 12:26 PM
A way to script file transfer from Linux to windows? jkcunningham Linux - Networking 11 11-21-2002 07:58 PM

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

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