Can only boot into single-user mode
Talbot Neil
talbotn at ihug.com.au
Wed Jun 26 01:30:05 BST 2002
This is a multi-part message in MIME format.
------=_NextPart_000_004F_01C21CFC.70002830
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
Lee,
Try=20
mount -u / ; mount
That should allow you to remount all your filesystems as read/write
and then you can edit the etc/rc.conf .
hope this helps,
Talbot=20
----- Original Message -----=20
From: Lee=20
To: freebsd-users at uk.freebsd.org=20
Sent: Wednesday, June 26, 2002 9:16 AM
Subject: Can only boot into single-user mode
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
------=_NextPart_000_004F_01C21CFC.70002830
Content-Type: text/html;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=3DContent-Type content=3D"text/html; =
charset=3Diso-8859-1">
<META content=3D"MSHTML 5.50.4916.2300" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT face=3DArial size=3D2>Lee,</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2>Try </FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DCourier>mount -u / ; mount</FONT></DIV>
<DIV><FONT face=3DArial></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2>That should allow you to remount all =
your=20
filesystems as read/write</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>and then you can edit the =
etc/rc.conf =20
.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2>hope this helps,</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2>Talbot </FONT></DIV>
<BLOCKQUOTE dir=3Dltr=20
style=3D"PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; =
BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
<DIV style=3D"FONT: 10pt arial">----- Original Message ----- </DIV>
<DIV=20
style=3D"BACKGROUND: #e4e4e4; FONT: 10pt arial; font-color: =
black"><B>From:</B>=20
<A title=3Dlee at unassemble.co.uk =
href=3D"mailto:lee at unassemble.co.uk">Lee</A>=20
</DIV>
<DIV style=3D"FONT: 10pt arial"><B>To:</B> <A =
title=3Dfreebsd-users at uk.freebsd.org=20
=
href=3D"mailto:freebsd-users at uk.freebsd.org">freebsd-users at uk.freebsd.org=
</A>=20
</DIV>
<DIV style=3D"FONT: 10pt arial"><B>Sent:</B> Wednesday, June 26, 2002 =
9:16=20
AM</DIV>
<DIV style=3D"FONT: 10pt arial"><B>Subject:</B> Can only boot into =
single-user=20
mode</DIV>
<DIV><BR></DIV>
<DIV><FONT face=3DArial size=3D2>
<DIV><FONT face=3DArial size=3D2>Hello,</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2>Please help urgently.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2>I was just editing the rc.conf file =
to add some=20
new ethernet card aliases but I missed out the file ' " ', now the =
system will=20
only allow me to boot into single-user mode.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2>I know how to fix the problem, but as =
the /=20
filesystem is mounted read-only I cannot edit the rc.conf =
file.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2>I have tried using the Install CD's =
fixit option=20
but none of the options work.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2>Can anyone tell me.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>a) How to by pass the rc.conf file =
and just the=20
rc.conf.defaults</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>b) How to unmount the filesystem, so =
that I can=20
remount it with right access.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2>thanks for any help any one can=20
offer.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2>I would also like to make a couple of =
comments /=20
questions:</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2>Is it appropriate to have the / file =
system=20
mounted read-only, as this prevents as editing of the system files =
which are=20
most likely to cause boot problems?</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2>Also, IMHO, the Emergency Holographic =
shell is=20
next to useless with this particular problem as none of the basic =
commands I=20
tried work (e.g. mount, umount, ls, etc).</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2>Regards</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial=20
size=3D2>Lee</FONT></DIV></FONT></DIV></BLOCKQUOTE></BODY></HTML>
------=_NextPart_000_004F_01C21CFC.70002830--
More information about the Ukfreebsd
mailing list