LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   How to,help. (https://www.linuxquestions.org/questions/linux-newbie-8/how-to-help-7343/)

Chester 10-07-2001 01:11 PM

How to,help.
 
When I think I'm taking a step ahead , actually going
back 10 steps.
First I have read the Howto's. I have been trying to
recompile kernel in order to add support for modem.
I installed 2.4.5 kernel although tried 2.2.19. Found
the 2.2.19 very buggy and for some reason unable to
import files from floppy. I posted previously for help
importing files from floppy. Those instructions didn't
work for me. I tried every conceivable way to import
files.
This is the only way I have been able to get files from
floppy and this only works under 2.4.5 kernel.
cp /dev/fd0 PCI_56K_V2_K2.2.17.tar.gz /root

This creates a file "fd0" and also a file that I desire.
I have mounted ,created mount point and read all
Howto's. Worked for 4 hours last night to import file's.
OK now. I have the files but when I try to recompile
kernel it defaults to the 2.2.19 kernel which I do have
the source to in /usr/src. I tried to remove source for
that kernel but it also removes "linux" which appears
to be needed to recompile. Unable to "make" without
that file.
I recompiled using the 2.2.19 but want to use 2.4.5.
Hope somebody can make sense of this as I can't.
Thanks for help.
Chester

linuxcool 10-08-2001 05:53 PM

The information I gave you before should have worked. It has worked for me.

When you execute the command
' cp /dev/fd0 PCI_56K_V2_K2.2.17.tar.gz /root ',
do you end up with a usable file? I tried a simple test with this command
' cp /dev/fd0 /tmp '
and I ended up with a file called ' fd0 ' in the /tmp directory. The file turned out to be about 1.44MB in size. I believe that I ended up with an image of my floppy disk and I think that is what you are getting. You are getting two image files of your floppy. One in the current working directory and one in /root. Check the size of them. If they are about 1.44MB in size, then you probably have just images of your floppy disk.

Try this. Copy your file in windows to the floppy that has been formatted as msdos. Next, check to see that the file has been copied. Check its properties to make sure that it's really on the disk. Next, mount your floppy in linux
' mount -t vfat /dev/fd0 /your_mount_point_here ' and do an

' ls -l /your_mount_point_here ' to see if linux can see the file. Then try to copy it.

' cp /your_mount_point_here/filename_here /root '

It should copy it to root. It might be necessary to unmount the floppy to complete the copying.


All times are GMT -5. The time now is 11:16 PM.