From owner-freebsd-questions Sat Feb 7 07:34:15 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id HAA18780 for questions-outgoing; Sat, 7 Feb 1998 07:34:15 -0800 (PST) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from mail1.realtime.net (mail1.realtime.net [205.238.128.217]) by hub.freebsd.org (8.8.8/8.8.8) with SMTP id HAA18765 for ; Sat, 7 Feb 1998 07:34:05 -0800 (PST) (envelope-from jktheowl@bga.com) Received: (qmail 35898 invoked from network); 7 Feb 1998 15:33:58 -0000 Received: from zoom.realtime.net (HELO zoom.bga.com) (root@205.238.128.40) by mail1.realtime.net with SMTP; 7 Feb 1998 15:33:58 -0000 Received: from barnowl.roost.net (apm7-211.realtime.net [204.96.0.211]) by zoom.bga.com (8.6.12/8.6.12) with SMTP id JAA10819; Sat, 7 Feb 1998 09:33:55 -0600 Date: Sat, 7 Feb 1998 09:39:16 -0600 (CST) From: John Kenagy X-Sender: jktheowl@barnowl.roost.net To: Tim Sackman cc: freebsd-questions@FreeBSD.ORG Subject: Re: Installing from MS-DOS Partition In-Reply-To: <1.5.4.32.19980207055442.00660880@wws.net> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG X-To-Unsubscribe: mail to majordomo@FreeBSD.org "unsubscribe questions" 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? Yeah, you'll have more questions.:-) We're all learning. > Any help would be appreciated. > > Thanks, > Tim. No problem. John