From owner-freebsd-questions Tue Jun 25 23: 1: 5 2002 Delivered-To: freebsd-questions@freebsd.org Received: from matrix.zssm.zp.ua (matrix.zssm.zp.ua [212.8.32.10]) by hub.freebsd.org (Postfix) with ESMTP id DF92A37B403 for ; Tue, 25 Jun 2002 23:00:56 -0700 (PDT) Received: from server.hermes-comp.zp.ua (germes-comp.zssm.zp.ua [212.8.32.132] (may be forged)) by matrix.zssm.zp.ua (8.11.3/8.11.3) with ESMTP id g5Q5ulo81652; Wed, 26 Jun 2002 08:56:53 +0300 (EEST) (envelope-from stalker@hermes-comp.zp.ua) Received: from localhost (localhost [127.0.0.1]) by server.hermes-comp.zp.ua (Postfix) with ESMTP id B607438302; Wed, 26 Jun 2002 09:04:04 +0300 (EEST) Date: Wed, 26 Jun 2002 09:04:04 +0300 (EEST) From: Alexander V Zubchenko To: Lee Cc: Subject: Re: Can only boot into single-user mode - Please Help Urgent In-Reply-To: <003501c21c9e$310ad840$6400a8c0@Administrator> Message-ID: <20020626090133.Y9544-100000@server.hermes-comp.zp.ua> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Greetings! On Wed, 26 Jun 2002, Lee wrote: > Hello, > > Please help urgently. > > I was just editing the rc.conf file to add some new ethernet card aliases but I missed out the file ' " ', now the system will only allow me to boot into single-user mode. > > I know how to fix the problem, but as the / filesystem is mounted read-only I cannot edit the rc.conf file. > > I have tried using the Install CD's fixit option but none of the options work. > > Can anyone tell me. > a) How to by pass the rc.conf file and just the rc.conf.defaults > b) How to unmount the filesystem, so that I can remount it with right access. You don't need to do this, as was mentioned above. But i find this command more comfortable: mount -u -w / -u for change options on currently mounted partition and -w for set it to read/write. And of course, don't forget to run fsck -p before. > > thanks for any help any one can offer. > > I would also like to make a couple of comments / questions: > > Is it appropriate to have the / file system mounted read-only, as this prevents as editing of the system files which are most likely to cause boot problems? > > Also, IMHO, the Emergency Holographic shell is next to useless with this particular problem as none of the basic commands I tried work (e.g. mount, umount, ls, etc). > > Regards > > Lee > Alexander V Zubchenko, E-Mail: stalker@hermes-comp.zp.ua System Administrator, WWW: http://www.hermes-comp.zp.ua/ Hermes-comp, Ukraine, Zaporizhzhya, Geroev Stalingrada 50 phone/fax: +380 612 64-19-72 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message