Date: Mon, 3 Mar 1997 00:09:57 +0100 (MET) From: Wolfgang Helbig <helbig@MX.BA-Stuttgart.De> To: vince@mail.MCESTATE.COM (Vincent Poy) Cc: questions@freebsd.org Subject: Re: /etc/fstab file screwup. Message-ID: <199703022309.AAA00163@helbig.informatik.ba-stuttgart.de> In-Reply-To: <Pine.BSF.3.95.970302142014.1373n-100000@mail.MCESTATE.COM> from Vincent Poy at "Mar 2, 97 02:21:51 pm"
next in thread | previous in thread | raw e-mail | index | archive | help
Hi, > I accidentally while doing a backup forgot to replace the > /etc/fstab file with the original one so now the system won't boot up, is > there a way I can rebuild /etc/fstab without reinstalling from scratch? Yes. You should boot in single user mode by entering -s to the boot prompt. In single user mode the root file system will be mounted read only. The /etc/fstab lives in the root file system so you have to mount it for r/w access. You do it by # mount -o rw -u / Then you can edit /etc/fstab with the ed editor. If you feel uncomfortable with ed you can mount the /usr file system and use vi. wishing you success Wolfgang Helbig
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199703022309.AAA00163>