Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 26 Jun 2002 00:15:24 +0100
From:      "Lee" <lee@unassemble.co.uk>
To:        <freebsd-questions@FreeBSD.ORG>
Subject:   Can only boot into single-user mode - Please Help Urgent 
Message-ID:  <003501c21c9e$310ad840$6400a8c0@Administrator>

next in thread | raw e-mail | index | archive | help

[-- Attachment #1 --]
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

[-- Attachment #2 --]
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2716.2200" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2>Hello,</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>Please help urgently.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>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.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>I know how to fix the problem, but as the / 
filesystem is mounted read-only I cannot edit the rc.conf file.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>I have tried using the Install CD's fixit option 
but none of the options work.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>Can anyone tell me.</FONT></DIV>
<DIV><FONT face=Arial size=2>a) How to by pass the rc.conf file and just the 
rc.conf.defaults</FONT></DIV>
<DIV><FONT face=Arial size=2>b) How to unmount the filesystem, so that I can 
remount it with right access.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>thanks for any help any one can offer.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>I would also like to make a couple of comments / 
questions:</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>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?</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>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).</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>Regards</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>Lee</FONT></DIV></BODY></HTML>

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?003501c21c9e$310ad840$6400a8c0>