Re: / mounted read-only after error in /etc/rc.conf

2009-01-20 Thread Ivailo Tanusheff
Try using:
umount -o rw /

Regards,

Ivailo Tanusheff
Deputy Head of IT Department
ProCredit Bank (Bulgaria) AD




Pieter Donche pieter.don...@ua.ac.be 
Sent by: owner-freebsd-questi...@freebsd.org
19.01.2009 16:47
Please respond to
Pieter Donche pieter.don...@ua.ac.be


To
mail.list freebsd-questions freebsd-questions@freebsd.org
cc

Subject
/ mounted read-only after error in /etc/rc.conf






I made a typing error when chanign /etc/rc.conf
(linux_enable=YES)
when rebooting the system, the boot stops
/etc/rc.conf: 22: Syntax error: Unterminated quote string
Enter full pathname of shell or RETURN for /bin/sh:
#
this leaves me with
/dev/ds0s1a on / (ufs, local, read-only)

since / is read-only I can not edit /etc/rc.conf to correct the error.

How to solve this?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to 
freebsd-questions-unsubscr...@freebsd.org

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


/ mounted read-only after error in /etc/rc.conf

2009-01-19 Thread Pieter Donche

I made a typing error when chanign /etc/rc.conf
(linux_enable=YES)
when rebooting the system, the boot stops
/etc/rc.conf: 22: Syntax error: Unterminated quote string
Enter full pathname of shell or RETURN for /bin/sh:
#
this leaves me with
/dev/ds0s1a on / (ufs, local, read-only)

since / is read-only I can not edit /etc/rc.conf to correct the error.

How to solve this?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: / mounted read-only after error in /etc/rc.conf

2009-01-19 Thread Steve Bertrand
Pieter Donche wrote:
 I made a typing error when chanign /etc/rc.conf
 (linux_enable=YES)
 when rebooting the system, the boot stops
 /etc/rc.conf: 22: Syntax error: Unterminated quote string
 Enter full pathname of shell or RETURN for /bin/sh:
 #
 this leaves me with
 /dev/ds0s1a on / (ufs, local, read-only)
 
 since / is read-only I can not edit /etc/rc.conf to correct the error.
 
 How to solve this?

Try:

# mount -u /

Which will try to re-mount the / partition as read/write.

Steve
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


/ mounted read-only after error in /etc/rc.conf

2009-01-19 Thread Robert Huff

Pieter Donche writes:

  I made a typing error when chanign /etc/rc.conf
  (linux_enable=YES)
  when rebooting the system, the boot stops
  /etc/rc.conf: 22: Syntax error: Unterminated quote string
  Enter full pathname of shell or RETURN for /bin/sh:
  #
  this leaves me with
  /dev/ds0s1a on / (ufs, local, read-only)
  
  since / is read-only I can not edit /etc/rc.conf to correct the error.
  
  How to solve this?

1) boot to single user mode
2) (if necessary) mount /usr by hand to get access to favorite
editor
3) edit rc.conf
4) re-boot


Robert Huff

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org