From owner-freebsd-questions Mon Oct 12 15:57:01 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id PAA03481 for freebsd-questions-outgoing; Mon, 12 Oct 1998 15:57:01 -0700 (PDT) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from pau-amma.whistle.com (s205m64.whistle.com [207.76.205.64]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id PAA03471 for ; Mon, 12 Oct 1998 15:56:44 -0700 (PDT) (envelope-from dhw@whistle.com) Received: (from dhw@localhost) by pau-amma.whistle.com (8.8.8/8.8.7) id PAA16430; Mon, 12 Oct 1998 15:55:30 -0700 (PDT) (envelope-from dhw) Date: Mon, 12 Oct 1998 15:55:30 -0700 (PDT) From: David Wolfskill Message-Id: <199810122255.PAA16430@pau-amma.whistle.com> To: da-babe@centuryinter.net, dwhite@resnet.uoregon.edu Subject: Re: can ftp install be resumed? Cc: freebsd-questions@FreeBSD.ORG In-Reply-To: Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG >Date: Mon, 12 Oct 1998 13:21:37 -0700 (PDT) >From: Doug White >Hm, I bet /etc/fstab isn't around. >I'd suggest reinstalling and only install the bin distribution. You can >add the rest later. If the (main) problem is a lack of /etc/fstab, you *may* (if you're fairly careful & avoid panicing -- referring to you, not the kernel) be able to re-create one via the "echo" built-in of the shell (combined with redirection of stdout). This happened to me once on a Sun 3/60 (SunOS 4.1.1_U1); it took me a few minutes to figure out that this was what happened. (And in SunOS, /bin is a symlink to /usr/bin; without /etc/fstab, /usr doesn't get mounted, so /bin isn't available. :-() You'll need to re-mount / as writable, so something on the order of: * fsck /dev/rsd0s1a [or whatever your root filesystem is] * mount /dev/sd0s1a / [might need "mount -u /dev/sd0s1a /"] * cd /etc * echo *fst* [just to do a reality check] * echo "/dev/sd0s1b none swap sw 0 0" >fstab * echo "/dev/sd0s1a / ufs rw 1 1" >>fstab * echo "/dev/sd0s1f /usr ufs rw 2 2" >>fstab * echo "/dev/sd0s1e /var ufs rw 2 2" >>fstab * reboot [Note: I have not tested this at all under FreeBSD. The SunOS adventure was real, but it happened about 3 or 4 years ago. The information is provided in the hope that it might be useful, but is merely a basis for further exploration. Void where prohibited, taxed, or otherwise restricted. Contents may settle during shipment. Your mileage may vary.] david -- David Wolfskill UNIX System Administrator dhw@whistle.com voice: (650) 577-7158 pager: (650) 371-4621 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message