Re: Startup problems

From: Alexander Kirillov (nevis2us_at_infoline.su)
Date: 05/30/04


Date: Sun, 30 May 2004 14:15:15 +0400

You have to mount your root fs as rw.
It's ro by default in single user.
man mount
mount -u -w /
> I am new to Freebsd and have changed the rc.conf file but used a ; to
> comment out a line.
> The only problem is I should have used #,
> Now when I restart all I get is an error when it tries to read the rc.conf
> file.
> The error is
> /etc/rc.con: 20:Syntax error ";" unexpected
> Enter full path name of shell RETURN for /bin/sh
>
> When I select enter I cannot rename or edit the rc.conf file.
>
> What do I need to do to edit the file and get the system going again.
>
> Thanks
> Trevor



Relevant Pages

  • [Trouble Ticket #190335] AutoReply: freebsd-questions Digest, Vol 246, Issue 26
    ... please edit your Subject line so it is more specific ... you need to open a root xterm or even a root shell, ... boot manager is installed for this mirror and I would like to remove it ... was that NFS mount managwed ...
    (freebsd-questions)
  • Re: wrong root password
    ... >> This is probably in the manual, but boot single user (add single to the ... >> prevent people from becomming root on your machine if you care (i.e. ... >> it's not a private machine). ... # mount -o remount,rw / ...
    (alt.os.linux.suse)
  • Lost root user!
    ... We used to edit /etc/passwd by hand with pico editor and one of our emplyees ... root user exists in /etc/shadow but not in /etc/passwd. ... I tried to boot from all flavors of Linux for sparc to mount the root ... ufs drivers only mount the partition as read-only. ...
    (SunManagers)
  • Re: Mounting/reading help for Newbie
    ... baskitcaise wrote: ... >> I tired to mount my WinXP drive to read some docs, ... I went into Partitioner as root to try to edit the settings, ...
    (alt.os.linux.suse)
  • Re: Interactive Unix password recovery
    ... the correct filesystem type in it and to mount the drive and edit the ... password/shadow file. ... If you cannot mount the file system, do raw a raw block edit (should ...
    (comp.unix.solaris)