Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 7 Feb 1998 09:39:16 -0600 (CST)
From:      John Kenagy <jktheowl@bga.com>
To:        Tim Sackman <sackmant@wws.net>
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: Installing from MS-DOS Partition
Message-ID:  <Pine.BSF.3.95q.980207085247.268C-100000@barnowl.roost.net>
In-Reply-To: <1.5.4.32.19980207055442.00660880@wws.net>

next in thread | previous in thread | raw e-mail | index | archive | help


On Fri, 6 Feb 1998, Tim Sackman wrote:

> Hi gang,
> 
> Since I have a T1 connection at work, and only a 28.8K connection from home,
> and I want to install FreeBSD on my home machine, I DL'd the FreeBSD
> distribution onto my work hd, (all 269+ Meg of it) and copied it to my home
> hd (by the simple expedient of taking my work machine home and using
> Windoze95's DCC) expecting to be able to do the install from the MS-DOS
> partition at a later time without having to connect to the net.
> 
> I managed to get a working FreeBSD system up and running, but when I attempt
> to install any of the 'packages' from the MS-DOS file system, the install
> program can't find them, presumably because of the way the long file names
> get truncated in DOS.

Yes, pesky shortened file names are the problem. I assume you have the 
directory structure right since you managed the OS install! 
 
> Am I doing something wrong here?  Is there a simple way to get the installer
> to recognize the files in the DOS partition with the correct names?  Or is
> there a distribution specifically for MS-DOS partition installation?

No, no, and no. The installer is configured to get the os from DOS
(as one option) then everything else from over the wire. The ports
collection is really spiffy. You can download the source, compile it,
and install it with "make install". Read up on this in the DOCS and
FAQ.
 
> I suppose one method would be to figure out the relationship between the
> long and short file names, mount the MS-DOS partition, copy the files to
> another file system and then rename them.  This seems like an awful lot of
> work for something that must not be terribly uncommon.  I can't be the first
> person who has run into this, so surely someone has come up with a solution.

Sort of. You mount the dos partition. Copy the package you want to a
directory under /usr (i.e. /usr/packages/whatever) and you can point
the installer at that. I used to do that and I did change the file name
so I could use pkg_manage,pkg_add and pkg_delete (see man pages) with
no worry about it.

You can also install "directly" with gzip -d and tar but this does
not register the package as installed.
 
> Yeah, I know, those *darned* DOS people trying to learn UNIX are a real
> PITA.  What can I say?  I'm trying to improve myself, OK?<G>

Yeah, you'll have more questions.:-) We're all learning.
 
> Any help would be appreciated.
> 
> Thanks,
> Tim.

No problem.

John




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.3.95q.980207085247.268C-100000>