From owner-freebsd-questions Tue Jun 25 16:27: 9 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mail.gbronline.com (mail.gbronline.com [12.145.226.4]) by hub.freebsd.org (Postfix) with ESMTP id 24D7437B401 for ; Tue, 25 Jun 2002 16:26:59 -0700 (PDT) Received: from daleco [12.145.236.48] by mail.gbronline.com (SMTPD32-7.10) id ABEA3510032; Tue, 25 Jun 2002 18:25:30 -0500 Message-ID: <02b001c21c9f$be06f520$30ec910c@fbccarthage.com> From: "Kevin Kinsey, DaleCo, S.P." To: "Lee" Cc: References: <003501c21c9e$310ad840$6400a8c0@Administrator> Subject: Re: Can only boot into single-user mode - Please Help Urgent Date: Tue, 25 Jun 2002 18:26:32 -0500 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2600.0000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 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 1. boot single user 2. run fsck-p. Since your shell rc files haven't been read (so path is not set) you may have to type /sbin/fsck -p This will also be the case with mount, etc. You can run them but you'll have to know where they are. Seems like mount in is /sbin, so (assuming ATA drives and standard disklabel...) /sbin/mount -t ufs /dev/ad0s1a / /sbin/mount -t ufs /dev/ad0s1e /usr /sbin/mount -t ufs /dev/ad0s1f /var You shouldn't need to 'unmount' just do the mount and / should go from read only to r/w. From: Lee To: freebsd-questions@FreeBSD.ORG Sent: Tuesday, June 25, 2002 6:15 PM Subject: Can only boot into single-user mode - Please Help Urgent 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. 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 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message