Subject: RE: Problem writing boot.fs to floppy
To: None <cgd@netbsd.org>
From: Lehle Wolf <Wolf.Lehle@med.siemens.de>
List: port-i386
Date: 06/28/1999 09:33:22
Hi cgd,


you were right, it was my fault. I was unable to handle this Navigator thing
... Now I've downloaded the boot_fs.gz and unpacked it with winzip. And I
got the file boot.fs (size: 1474560) and I was able to move it to a floppy.
Tonight I will test it on a PC.


Thanks, so far

Wolf

> -----Original Message-----
> From:	cgd@netbsd.org [SMTP:cgd@netbsd.org]
> Sent:	Monday, June 28, 1999 9:00 AM
> To:	Lehle Wolf
> Cc:	port-i386@netbsd.org
> Subject:	Re: Problem writing boot.fs to floppy
> 
> cgd@netbsd.org (Chris G. Demetriou) writes:
> > Lehle Wolf <Wolf.Lehle@med.siemens.de> writes:
> > > While trying to put the file boot.fs (size: 1,479,800) to a DOS-floppy
> > > (size: 1,457,664) using rawrite.exe the floppy controller complaint.
> > 
> > uh...
> > 
> > [ ... ]
> > ftp> get boot.fs.gz |"gzip -dc | wc"
> > local: |gzip -dc | wc remote: boot.fs.gz
> > 227 Entering Passive Mode (204,152,184,75,212,214)
> > 150 Opening BINARY mode data connection for 'boot.fs.gz' (1415104
> bytes).
> >  5240 31962 1474560 
> > 226 Transfer complete.
> > 1415104 bytes received in 01:14 (18.60 KB/s)
> > 
> > That's a different size than the boot.fs that you seem to have.
> > 
> > Did you download it to the windows box in binary mode?  (AFAIK, if you
> > use the windows DOS shell 'ftp' program, it defaults to ASCII mode...)
> 
> doing the math, i note:
> 
> 1474560 is the correct size of the file.
> 5240 is the number of 'lines' according to wc (i.e. newline chars) in
> 	the file
> 
> If the newlines are translated by ftp in ASCII mode into CR/NL, or
> NL/CR, then you'll have 5240 extra characters:
> 
> 1474560 + 5240 = 1479800
> 
> 1479800 is, of course, the size of the file you have.
> 
> I think you almost certainly downloaded it in ascii mode.  8-)
> 
> 
> cgd
> -- 
> Chris Demetriou - cgd@netbsd.org -
> http://www.netbsd.org/People/Pages/cgd.html
> Disclaimer: Not speaking for NetBSD, just expressing my own opinion.