-   Linux - Newbie (
-   -   Linux/Windows file transfer: Possible? (

Fudge T Goblin 09-16-2003 01:25 PM

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?


WiZaC 09-16-2003 01:27 PM

I dont think its possible, and why do you want it?

Fudge T Goblin 09-16-2003 01:34 PM

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.

fragglehorn 09-16-2003 01:34 PM

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!

closet geek 09-16-2003 01:35 PM

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...


Fudge T Goblin 09-16-2003 01:42 PM

>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?

aaa 09-17-2003 11:12 AM

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 will help, and there is a a handy guide for compiling kernels at the top of the Slackware forum:

All times are GMT -5. The time now is 07:45 PM.