Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - General
User Name
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.


  Search this Thread
Old 03-20-2002, 06:15 AM   #1
LQ Newbie
Registered: Mar 2002
Posts: 5

Rep: Reputation: 0
Question can i copy windows contents into linux

i want to copy text file from windows into linux through a floppy
can i do it . and how can i access a floppy in linux system...
i am a new user of linux so please bear with me
Old 03-20-2002, 06:24 AM   #2
Registered: Feb 2002
Location: Atlanta, GA
Distribution: Debian
Posts: 78

Rep: Reputation: 15
You should be fine copying text files from windows to linux. I do it between partitions all the time. As far as the floppy drive, you can do a

mount /dev/fd0 /mnt/floppy
from a bash prompt as root and that will mount all the info on the floppy into the /mnt/floppy directory (which must already be created). You can also add this to your /etc/fstab but since I'm not sitting in front of a Linux PC I won't even try to get the syntax right on that...

Hope this helps a little
Old 03-20-2002, 08:21 AM   #3
Registered: Mar 2002
Location: Edinburgh, Scotland
Distribution: Suse 7.2, Gentoo 1.4, Solaris 9
Posts: 661

Rep: Reputation: 30
dont forget to 'umount /mnt/floppy' before removing the disk from the drive!
Old 03-20-2002, 08:50 AM   #4
Registered: Oct 2001
Location: Dublin, Ireland
Distribution: Mandrake 9.0 mostly!
Posts: 303

Rep: Reputation: 30
You can do it without the floppy aswell,
"cp /mnt/windows/file_u_want_in_win /where_u_want_to_put_it_in_linux"
& that's it
Old 03-20-2002, 08:52 AM   #5
Registered: Mar 2002
Distribution: Mandrake 8.1
Posts: 386

Rep: Reputation: 30
It's much easier just to use the following commands and not worry about mounting/unmounting the floppy:

mdir a: (list the contents)
mcopy a:/file1 /linuxdir (copy a file from floppy)
mcopy /linuxdir/file1 a: (copy a file to floppy)
mformat a: (format the floppy)
mdel a:/file1 (delete a file on floppy)
Old 03-20-2002, 03:23 PM   #6
Registered: Feb 2002
Location: Grenoble
Distribution: Debian
Posts: 9,655

Rep: Reputation: 210Reputation: 210Reputation: 210
Remeber that Unix systems (Linux) and DOS/WIndows syatems have different line endings.


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 On
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Cd has different contents in Linux then in Windows sephiro499 Linux - Newbie 10 10-29-2004 08:39 AM
Need to copy OS + hard drive contents between two machines with different hardware. tayo Linux - Newbie 12 07-24-2004 10:19 AM
How can I copy a directory and it's contents with CLI? CyberLord_7 Linux - General 2 03-30-2004 11:35 AM
Access contents of Linux drive from Windows???? welchdoc Linux - Newbie 3 11-15-2003 08:19 PM
Copy contents of one partition to another. cparker15 Linux - Software 1 06-26-2003 01:17 PM > Forums > Linux Forums > Linux - General

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

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration