From: cfs@cowpas.waffle.atl.ga.us (Charles Stephens)
Subject: Re: Linux/DOS How do I transfer files?
Organization: COW Pastures
Date: Tue, 26 Jan 1993 19:48:59 GMT
X-Newsreader: Tin 1.1 PL4

ak853@cleveland.Freenet.Edu (Eric Blade) writes:
: 
:   I have the Linux rootdisk/bootdisk installation.  I even managed to
: get a 60Meg DOS with a 40 meg Linux partition running.  Now, how do I
: get the files that I have on my MSDOS disks to my Linux partition?  I
: realse that MTOOLS is out there, but how do I get MTOOLS over to the DOS
: partition?, er, the Linux partition?

	Well this is in the FAQ, but I will answer it for the sake of any
other person who as not yet read the FAQ (READ IT!  It will help in the
installation process).

	If you are using a pretty up to date kernel (I trust .98.5 and
higher (current as of this date is 0.99.4)), then you can mount, informing
LINUX of new filesystem, the MS-DOS partition.  Use the following:

	mount -t msdos /dev/hda2 msdos

	You should change '/dev/hda2' to the correct partition (The first
partition on the C drive is hda1, the second is hda2, etc.) and you must
have an empty directory named msdos (use 'mkdir msdos').

	That is one way.  Here's another.  It requires the use of rawrite.

	You can use rawrite to write a file to a floppy (ie mtools.taz).
Then you can boot under LINUX and type tar zvvfx < /dev/fd0, and it will
start reading from the first sector until the end of the file.  You may
get a message 'Broken Pipe', but ignore that.

:   Is there an image disk available for MTOOLS?  Or a communications
: image?  My FTP access is very shaky, concerning large files (I have to
: uuencode them and then ASCII transfer them to my DOS machine because I
: am stuck in 7-bit mode with the host computer.  Kermit only runs at
: about 30 cps and I'm connected at 9600 baud. :) ), so the SLS release,
: being around 10 megs for the a1-a4 disks is practically out of the
: question.  Can someone just e-mail me an image of mtools? I already have
: a bunch of Linux programs and source code and stuff on my DOS partition,
: I just need to figure some way to get it to the Linux partition.

	If you mount the partition like I told you, that should allow you
to get started, no need to email mtools.

:   Please respon via email.  My chances to get into the usenet groups are
: very few and far between these days...

	Now you tell me.  A copy is going out via email right now.

:   Oh.. would it be possible to null-modem connect my other computer (one
: of them), uuencode something, then login to /dev/ttys1, and ascii upload
: the uuencoded file to the 'cat' program?  If that's a workable idea, can
: someone send me a uuencoded image of uudecode binary for Linux? (again
: via email)

	Why not find zmodem for linux.

:   Also, what is the status of the TCP/IP kernal for Linux?  How would I
: go about adding TCP/IP services to a v0.98 kernal?  I think if I were
: able to use TCP/IP (via slip) with Linux, it would probably be better
: than the current connection I have with DOS... (just a terminal program,
: no TCP/IP proto whatsoever...)

	READ THE FAQ!

:   Oh, yeah, one more question, sorry, I keep thinking of these things...
: :)
:   I have a modem on COM4 (0x2e8, int 3)... how would I get Linux to
: recognize it?   When I boot Linux, it s ays there are only 2 com ports
: available, and initilizes them as ttys0 and ttys1.  (what happens if I
: move my mouse, does it try and login on ttys0? *grin*)  I've
: experimented a bit with using setserial to switch ttys0 to 0x2e8/3, but
: I have no way of measuring my success currently. :)

	Get the .99 version of the kernel.

-- 
Charles Stephens
cfs@cowpas.waffle.atl.ga.us
"And they say USENET is worthless..."  --Unknown