SOLVED -Re: Help! I killed my rc.conf and cant boot correctly!

2003-06-30 Thread Keith Spencer
Thanks 
--- Roman Neuhauser [EMAIL PROTECTED] wrote: 
# [EMAIL PROTECTED] / 2003-06-28 16:04:58
 +1000:
   --- Adam [EMAIL PROTECTED] wrote:  On Fri,
  2003-06-27 at 23:57, Keith Spencer wrote:
Want to hear a tale of stupidity and woe.  I
 screwed up fbsd 4.7
system rc.conf and can only seem to boot into
 a basic session.
Cant edit or save to /etc files.  What to do
 and you guessed
it...noboot disk was made although I have
 another 4.7 fbsd machine
nearby.  Tell me it's not fatal guys!
   
   I don't see why you wouldn't be able to boot
 into single-user mode,
   edit the rc.conf, then reboot. What exactly is
 the problem editing
   the files in /etc from SU mode?
  
  When the machine boots it drops straight into (I
 guess) single user
  mode. The /usr/sbin /usr/bin cant be cd-ed to and
 the /etc dir says it
  is read only file system! So I can't save to it. 
 I have a Schlacter
  tute fireall setup on it. With whatever security
 it entails.  Any
  clue? Can I interupt the boot and do something?
  This is a mission critical machine darn it...Oh
 dear!
 
 mount -u /
 mount -a -t ufs
 swapon -a
 /usr/bin/vi /etc/rc.conf
 
 -- 
 If you cc me or remove the list(s) completely I'll
 most likely ignore
 your message.see
http://www.eyrie.org./~eagle/faqs/questions.html 

http://mobile.yahoo.com.au - Yahoo! Mobile
- Check  compose your email via SMS on your Telstra or Vodafone mobile.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Help! I killed my rc.conf and cant boot correctly!

2003-06-29 Thread Roman Neuhauser
# [EMAIL PROTECTED] / 2003-06-28 16:04:58 +1000:
  --- Adam [EMAIL PROTECTED] wrote:  On Fri,
 2003-06-27 at 23:57, Keith Spencer wrote:
   Want to hear a tale of stupidity and woe.  I screwed up fbsd 4.7
   system rc.conf and can only seem to boot into a basic session.
   Cant edit or save to /etc files.  What to do and you guessed
   it...noboot disk was made although I have another 4.7 fbsd machine
   nearby.  Tell me it's not fatal guys!
  
  I don't see why you wouldn't be able to boot into single-user mode,
  edit the rc.conf, then reboot. What exactly is the problem editing
  the files in /etc from SU mode?
 
 When the machine boots it drops straight into (I guess) single user
 mode. The /usr/sbin /usr/bin cant be cd-ed to and the /etc dir says it
 is read only file system! So I can't save to it.  I have a Schlacter
 tute fireall setup on it. With whatever security it entails.  Any
 clue? Can I interupt the boot and do something?
 This is a mission critical machine darn it...Oh dear!

mount -u /
mount -a -t ufs
swapon -a
/usr/bin/vi /etc/rc.conf

-- 
If you cc me or remove the list(s) completely I'll most likely ignore
your message.see http://www.eyrie.org./~eagle/faqs/questions.html
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Help! I killed my rc.conf and cant boot correctly!

2003-06-28 Thread Keith Spencer
Thanks Adam,
When the machine boots it drops straight into (I
guess) single user mode. The /usr/sbin /usr/bin cant
be cd-ed to and the /etc dir says it is read only file
system! So I can't save to it.
I have a Schlacter tute fireall setup on it. With
whatever security it entails.
Any clue? Can I interupt the boot and do something?
This is a mission critical machine darn it...Oh dear!
Keith

 --- Adam [EMAIL PROTECTED] wrote:  On Fri,
2003-06-27 at 23:57, Keith Spencer wrote:
  Want to hear a tale of stupidity and woe.
  I screwed up fbsd 4.7 system rc.conf and can only
 seem
  to boot into a basic session. Cant edit or save to
  /etc files.
  What to do and you guessed it...noboot disk was
 made
  although I have another 4.7 fbsd machine nearby.
  Tell me it's not fatal guys!
 
 I don't see why you wouldn't be able to boot into
 single-user mode, edit
 the rc.conf, then reboot. What exactly is the
 problem editing the files
 in /etc from SU mode?
 
 -- 
 Adam [EMAIL PROTECTED]
 
 ___
 [EMAIL PROTECTED] mailing list

http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to
[EMAIL PROTECTED] 

http://mobile.yahoo.com.au - Yahoo! Mobile
- Check  compose your email via SMS on your Telstra or Vodafone mobile.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Help! I killed my rc.conf and cant boot correctly!

2003-06-28 Thread Rob
Once you're in single-user mode, try 

  mount -a

This should give you a writeable root as well as your other filesystems.

- Original Message - 
From: Keith Spencer [EMAIL PROTECTED]
To: Adam [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Sent: Saturday, June 28, 2003 3:34 PM
Subject: Re: Help! I killed my rc.conf and cant boot correctly!


 Thanks Adam,
 When the machine boots it drops straight into (I
 guess) single user mode. The /usr/sbin /usr/bin cant
 be cd-ed to and the /etc dir says it is read only file
 system! So I can't save to it.
 I have a Schlacter tute fireall setup on it. With
 whatever security it entails.
 Any clue? Can I interupt the boot and do something?
 This is a mission critical machine darn it...Oh dear!
 Keith
 
  --- Adam [EMAIL PROTECTED] wrote:  On Fri,
 2003-06-27 at 23:57, Keith Spencer wrote:
   Want to hear a tale of stupidity and woe.
   I screwed up fbsd 4.7 system rc.conf and can only
  seem
   to boot into a basic session. Cant edit or save to
   /etc files.
   What to do and you guessed it...noboot disk was
  made
   although I have another 4.7 fbsd machine nearby.
   Tell me it's not fatal guys!
  
  I don't see why you wouldn't be able to boot into
  single-user mode, edit
  the rc.conf, then reboot. What exactly is the
  problem editing the files
  in /etc from SU mode?
  
  -- 
  Adam [EMAIL PROTECTED]
  
  ___
  [EMAIL PROTECTED] mailing list
 
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
  To unsubscribe, send any mail to
 [EMAIL PROTECTED] 
 
 http://mobile.yahoo.com.au - Yahoo! Mobile
 - Check  compose your email via SMS on your Telstra or Vodafone mobile.
 ___
 [EMAIL PROTECTED] mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]
 
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Help! I killed my rc.conf and cant boot correctly!

2003-06-28 Thread Kevin Kinsey, DaleCo, S.P.
From: Keith Spencer [EMAIL PROTECTED]
To: Adam [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Sent: Saturday, June 28, 2003 1:04 AM
Subject: Re: Help! I killed my rc.conf and cant boot correctly!


 Thanks Adam,
 When the machine boots it drops straight into (I
 guess) single user mode. The /usr/sbin /usr/bin cant
 be cd-ed to and the /etc dir says it is read only file
 system! So I can't save to it.
 I have a Schlacter tute fireall setup on it. With
 whatever security it entails.
 Any clue? Can I interupt the boot and do something?
 This is a mission critical machine darn it...Oh dear!
 Keith

You need to mount the filesystems properly, and it
needs be done manually.

IIRC:
$/sbin/mount -t ufs /dev/ad1sf /usr  
 //...change device to match your setup

HTH, KDK

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Solved RE: Help! I killed my rc.conf and cant boot correctly!

2003-06-28 Thread Keith Spencer
Yet again the FBSD community kick goals!
Thanks heaps
Keith


 --- Roland Wells [EMAIL PROTECTED] wrote: 
adam,
 try:
 fsck -y (check the filesystem)
 mount -uw / (mount root filesystem read/write)
 
 if you saved a backup of the rc.conf, all you have
 to do is:
 
 mv /etc/rc.conf_backup_file /etc/rc.conf
 reboot
 
 hope that helps
 
 roland
 
 
 
 Thanks Adam,
 When the machine boots it drops straight into (I
 guess) single user mode. The /usr/sbin /usr/bin cant
 be cd-ed to and the /etc dir says it is read only
 file
 system! So I can't save to it.
 I have a Schlacter tute fireall setup on it. With
 whatever security it entails.
 Any clue? Can I interupt the boot and do something?
 This is a mission critical machine darn it...Oh
 dear!
 Keith
 
  --- Adam [EMAIL PROTECTED] wrote:  On Fri,
 2003-06-27 at 23:57, Keith Spencer wrote:
   Want to hear a tale of stupidity and woe.
   I screwed up fbsd 4.7 system rc.conf and can
 only
  seem
   to boot into a basic session. Cant edit or save
 to
   /etc files.
   What to do and you guessed it...noboot disk was
  made
   although I have another 4.7 fbsd machine nearby.
   Tell me it's not fatal guys!
  
  I don't see why you wouldn't be able to boot into
  single-user mode, edit
  the rc.conf, then reboot. What exactly is the
  problem editing the files
  in /etc from SU mode?
  
  -- 
  Adam [EMAIL PROTECTED]
  
  

http://mobile.yahoo.com.au - Yahoo! Mobile
- Check  compose your email via SMS on your Telstra or Vodafone mobile.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Help! I killed my rc.conf and cant boot correctly!

2003-06-27 Thread Keith Spencer
Hi all,
Want to hear a tale of stupidity and woe.
I screwed up fbsd 4.7 system rc.conf and can only seem
to boot into a basic session. Cant edit or save to
/etc files.
What to do and you guessed it...noboot disk was made
although I have another 4.7 fbsd machine nearby.
Tell me it's not fatal guys!
Thanks
Keith

http://mobile.yahoo.com.au - Yahoo! Mobile
- Check  compose your email via SMS on your Telstra or Vodafone mobile.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Help! I killed my rc.conf and cant boot correctly!

2003-06-27 Thread Adam
On Fri, 2003-06-27 at 23:57, Keith Spencer wrote:
 Want to hear a tale of stupidity and woe.
 I screwed up fbsd 4.7 system rc.conf and can only seem
 to boot into a basic session. Cant edit or save to
 /etc files.
 What to do and you guessed it...noboot disk was made
 although I have another 4.7 fbsd machine nearby.
 Tell me it's not fatal guys!

I don't see why you wouldn't be able to boot into single-user mode, edit
the rc.conf, then reboot. What exactly is the problem editing the files
in /etc from SU mode?

-- 
Adam [EMAIL PROTECTED]

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]