LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   How do i copy files to a floppy disk?? (https://www.linuxquestions.org/questions/linux-newbie-8/how-do-i-copy-files-to-a-floppy-disk-62575/)

dsantamassino 05-29-2003 07:16 PM

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.

Azmeen 05-29-2003 07:44 PM

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.

Rick422 05-29-2003 07:58 PM

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.

Rick422 05-29-2003 07:59 PM

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.

dsantamassino 05-29-2003 08:08 PM

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.

Rick422 05-29-2003 08:15 PM

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?

dsantamassino 05-29-2003 08:21 PM

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.

Rick422 05-29-2003 08:30 PM

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.

dsantamassino 05-29-2003 08:50 PM

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.

Rick422 05-29-2003 08:56 PM

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.

Rick422 05-29-2003 09:06 PM

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.

Rick422 05-29-2003 09:15 PM

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.

dsantamassino 05-29-2003 09:21 PM

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.

Rick422 05-29-2003 09:26 PM

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.

Rick422 05-29-2003 09:31 PM

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.


All times are GMT -5. The time now is 02:08 AM.