LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 10-07-2001, 02:11 PM   #1
Chester
LQ Newbie
 
Registered: Oct 2001
Posts: 7

Rep: Reputation: 0
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
 
Old 10-08-2001, 06:53 PM   #2
linuxcool
LQ Addict
 
Registered: Jun 2001
Posts: 1,183

Rep: Reputation: 47
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.

Last edited by linuxcool; 10-08-2001 at 06:56 PM.
 
  


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




All times are GMT -5. The time now is 02:51 PM.

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