Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 26 Jun 2002 09:04:04 +0300 (EEST)
From:      Alexander V Zubchenko <stalker@hermes-comp.zp.ua>
To:        Lee <lee@unassemble.co.uk>
Cc:        <freebsd-questions@FreeBSD.ORG>
Subject:   Re: Can only boot into single-user mode - Please Help Urgent 
Message-ID:  <20020626090133.Y9544-100000@server.hermes-comp.zp.ua>
In-Reply-To: <003501c21c9e$310ad840$6400a8c0@Administrator>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020626090133.Y9544-100000>