Date: Mon, 12 Oct 1998 15:55:30 -0700 (PDT) From: David Wolfskill <dhw@whistle.com> To: da-babe@centuryinter.net, dwhite@resnet.uoregon.edu Cc: freebsd-questions@FreeBSD.ORG Subject: Re: can ftp install be resumed? Message-ID: <199810122255.PAA16430@pau-amma.whistle.com> In-Reply-To: <Pine.BSF.4.03.9810121321080.25080-100000@resnet.uoregon.edu>
next in thread | previous in thread | raw e-mail | index | archive | help
>Date: Mon, 12 Oct 1998 13:21:37 -0700 (PDT) >From: Doug White <dwhite@resnet.uoregon.edu> >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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199810122255.PAA16430>