LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
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 05-29-2003, 07:16 PM   #1
dsantamassino
Member
 
Registered: May 2003
Location: Dallas, PA
Distribution: Windows XP and Redhat Linux 8
Posts: 283

Rep: Reputation: 30
How do i copy files to a floppy disk??


to: fanypiper. I need your help by copying my files and errors in the terminal with Redhat Linux 9. This is what i tryed.
./configure > /home/user/configure.output. In my case it would be.
./configure > /home/dsanta/configure.output. I got no such file or dircetory. I wanted to copy everything to floppy disk so when i get errors. I don't have to write what i did and what errors i got by hand. Can you please help me?? Is that command correct?? Thank You. Please reply back.
 
Old 05-29-2003, 07:44 PM   #2
Azmeen
Senior Member
 
Registered: May 2003
Location: Malaysia
Distribution: Slackware, LFS, CentOS
Posts: 1,307

Rep: Reputation: 46
mount /mnt/floppy (or whatever your floppy drive is linked to)

./configure > /mnt/floppy/configure.output

Check your fstab to see where your floppy is actually mapped to, my /mnt/floppy is just an example.
 
Old 05-29-2003, 07:58 PM   #3
Rick422
Member
 
Registered: Apr 2003
Location: Arizona
Distribution: Red Hat Linux 9
Posts: 158

Rep: Reputation: 30
I am using Red Hat 9 at the moment and an alternate method of mount the floppy disk is to right-click a blank portion of the screen and then select floppy. I use Gnome and it works under that, I have not tied it under KDE.

So once the disk is mounted the files still need to be copied. I usually like to open a terminal window and do that with command line commands. To see what is on the floppy I type the following two commands:

cd /mnt/floppy
ls

To change directories to your home directory and see what is in it type these two commands:

cd
ls

The name of my home directory is rick so, to copy a file named TestFile1.txt from the home directory to the floppy I type this:

cp /home/rick/TestFile1.txt /mnt/floppy

I believe there is a point an click way of doing the same thing but I forget what program to use to do it that way.
 
Old 05-29-2003, 07:59 PM   #4
Rick422
Member
 
Registered: Apr 2003
Location: Arizona
Distribution: Red Hat Linux 9
Posts: 158

Rep: Reputation: 30
Sorry I misundertood what you were asking ignore what I just said. I was not very careful in reading what you wanted to do. I was in a hurry.
 
Old 05-29-2003, 08:08 PM   #5
dsantamassino
Member
 
Registered: May 2003
Location: Dallas, PA
Distribution: Windows XP and Redhat Linux 8
Posts: 283

Original Poster
Rep: Reputation: 30
Rick422, Are you with me?? I need your help. First i have a question for you. Why is it everything i want to do i can't do it and i don't understand it?? Can you take me through this step by step to copy files and errors to a floppy disk?? Thanks Rick.
 
Old 05-29-2003, 08:15 PM   #6
Rick422
Member
 
Registered: Apr 2003
Location: Arizona
Distribution: Red Hat Linux 9
Posts: 158

Rep: Reputation: 30
I am still logged in and can answer some questions from time to time. I am eating dinner at the moment so I can only type in short answers at the moment. I am not sure if I understand what you are trying to do. Are you trying to copy error messages from the screen to into a file on the floppy disk or what?
 
Old 05-29-2003, 08:21 PM   #7
dsantamassino
Member
 
Registered: May 2003
Location: Dallas, PA
Distribution: Windows XP and Redhat Linux 8
Posts: 283

Original Poster
Rep: Reputation: 30
yes. Do you remember how i was getting these error messages with the drivers?? Well i thought i would be easier for me to copy everything i typed in the terminal to a floppy disk instead of writing everything out by hand. So if i get an error installing the drivers. I don't have to write it out by hand. I could just put the floppy in and copy and paste everything on that floppy. How would i do that?? Thanks Rick. Enjoy your dinner.
 
Old 05-29-2003, 08:30 PM   #8
Rick422
Member
 
Registered: Apr 2003
Location: Arizona
Distribution: Red Hat Linux 9
Posts: 158

Rep: Reputation: 30
1) Press on the picture of the red hat in the lower left had corner of Gnome (if you are using Gnome instead of KDE). Then select Accessories and then Text Editor.

2) Go back to the terminal window that you were using which has the error messages.

3) Highlight the text you want to copy with your left mouse button.

4) Go back to your open text editor and click once on the page. Next if you have a three button mouse press the middle button to paste the text. If you have a wheel type mouse press the wheel to paste. If you only have a two button mouse press both buttons at once or something. That method will work on most Linux computers an Unix computers.

There is at least one other way to do this althought I forget the details. Let me know if that works.
 
Old 05-29-2003, 08:50 PM   #9
dsantamassino
Member
 
Registered: May 2003
Location: Dallas, PA
Distribution: Windows XP and Redhat Linux 8
Posts: 283

Original Poster
Rep: Reputation: 30
yes that worked. The only problem i have now. I copy and paste it in text editor and then i went save as. How do i save it to a floppy disk?? I don't know which one is my floppy drive. I don't know the commands and the drives under Linux. It's the A drive under Windows XP. Please reply back. Thanks Rick.
 
Old 05-29-2003, 08:56 PM   #10
Rick422
Member
 
Registered: Apr 2003
Location: Arizona
Distribution: Red Hat Linux 9
Posts: 158

Rep: Reputation: 30
Ok, you will still need to save it to the floppy disk. Select File then select Save As. Next see if you can navigate to the /mnt/floppy directory. If you save it in that directory you will actually be saving it on the floppy. Then give the file a name and save it.

This should work with either Gnome or KDE, is just happen to be using Gnome at the moment. You actually do not need to be running either if you use a different text editor. Pasting by pressing the middle wheel works with most Linux text editors and word processors even when doing things from the command line without running X-Windows. I sometimes past things into the Mozilla browser and post it.
 
Old 05-29-2003, 09:06 PM   #11
Rick422
Member
 
Registered: Apr 2003
Location: Arizona
Distribution: Red Hat Linux 9
Posts: 158

Rep: Reputation: 30
Also, if you are planning to look at those files with Windows Notepad or Windows Wordpad, it would be best to put a period and the extension txt after the name such as something like this:

myerrorsfile1.txt

Using an extension such as that is not absolutely necessary of course. Notpad can still open it without the extension. I do remember you and you modem troubles. You probably remember that I am the lazy person who only uses external serial modems because of how much easier they are to install. I will give you credit for being persistant anyway! I have finished dinner, I frequently eat dinner at my computer.
 
Old 05-29-2003, 09:15 PM   #12
Rick422
Member
 
Registered: Apr 2003
Location: Arizona
Distribution: Red Hat Linux 9
Posts: 158

Rep: Reputation: 30
PS, when I said navigate to /mnt/floppy I assume you are still inside the gedit text editor just after having clicked File and then Save As. In the box on the left you will see a list of directories (Windows calls them folders). Clicking on the . . / will take you up to the next higher directory. Do that a couple of times until reaching the top most directory. Next click on /mnt and after that click on floppy. You can now go ahead and save it to the floppy disk.

If you found a slightly different way to chage to that directory that is ok. There are several ways to do that.
 
Old 05-29-2003, 09:21 PM   #13
dsantamassino
Member
 
Registered: May 2003
Location: Dallas, PA
Distribution: Windows XP and Redhat Linux 8
Posts: 283

Original Poster
Rep: Reputation: 30
It could not copy it to the floppy disk for some reason. So i came up with another option. Does Linux recognize my Windows partition?? The reason why i ask this question. I want to know can i copy from Linux to my Windows partition?? That's just a thought. My Windows XP is on my C drive. Please reply back. Thanks.
 
Old 05-29-2003, 09:26 PM   #14
Rick422
Member
 
Registered: Apr 2003
Location: Arizona
Distribution: Red Hat Linux 9
Posts: 158

Rep: Reputation: 30
Here is one other thought. Your floppy disk must have been mounted before saving the file. If you are using Gnome you can right-click a blank portion of the screen and select Disks and make sure that there is a check mark in front of the word floppy, if not select it and which should mount it. If you do that again the floppy will be unmounted. Each time you do that the floppy will either be mounted or unmounted.

If you can not figure out how to save it directly to the floppy, save it somewhere and then look back to my earliest post in this discussion to see how to find the file and move it to the floppy disk.

I just now noticed your latest question about saving to the Windows partiton. Yes that can be done. Are you currently logged in as root or under your ordinary user name? If not logged in as root type su and enter the password for root. You will then have the necessary priveleges to copy the files to a Windows partiton.

Is you Windows partiton or partitons currently mounted? Type either df or mount and see if one of them is listed. Hopefully one is already mounted and ready to go.
 
Old 05-29-2003, 09:31 PM   #15
Rick422
Member
 
Registered: Apr 2003
Location: Arizona
Distribution: Red Hat Linux 9
Posts: 158

Rep: Reputation: 30
Excuse me, I see a few typing errors in what I wrote above. If you are not logged in as root that is ok. Just type su and the password to temporarily get super user priveleges. If you are logged in as root, of course you already have super user priveleges. Either way is ok.

If a Windows partiton is already mounted files can be copied with the cp command just as I mentioned in my first post in this discussion. You can use ls or ls -l to look at the files. Typing pwd will tell you where you currently are.
 
  


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't copy files to floppy in GNOME drewblay Linux - Software 4 06-19-2005 05:51 AM
floppy disk - image copy towlie Slackware 5 04-21-2004 05:33 PM
how to copy file in linux to floppy disk aiyong Linux - Newbie 3 10-17-2003 05:26 PM
How do I copy a floppy disk? kdmstng66 Linux - Newbie 3 04-22-2003 01:58 PM
How do I copy a floppy disk? kdmstng66 Linux - Newbie 1 04-22-2003 12:04 PM


All times are GMT -5. The time now is 01:47 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration