Re: Fixit mode (live CD): can't find /etc/rc.conf

2009-08-13 Thread Mel Flynn
On Wednesday 12 August 2009 21:58:05 Nerius Landys wrote:
  By convention /etc should be on ad0s1a. If it's not, but /boot is there,
  you may need to fsck.

 Yeah, When I tired to mount ad0s1a, it gave me something like
 permission denied or bad superblock.  How do I fix this with fsck from
 the live CD?

fsck_ffs -p /dev/ad0s1a
-- 
Mel
___
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: Fixit mode (live CD): can't find /etc/rc.conf

2009-08-13 Thread Nerius Landys
 fsck_ffs -p /dev/ad0s1a

Thanks you so much for your genius information.  My computer boots again!
___
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


Fixit mode (live CD): can't find /etc/rc.conf

2009-08-12 Thread Nerius Landys
On my recently updated (as in world+ports are up-to-date) FreeBSD 6.4
box i tried to get Xorg running, and after building Xorg from ports
and enabling hald and dbus in rc.conf, I get:

  Fatal trap 12: page fault while in kernel mode

This happens when I boot.  Now I'm trying to not start hald and dbus
in rc.conf (I think that's what's causing the kernel problem).  So I
am using the installation CD and going into fixit mode.  The problem
is that I can't find rc.conf to edit.

In /dev:
  ad0
  ad0s1
  ad0s1a
  ad0s1b
  ad0s1c
  ad0s1d
  ad0s1e
  ad0s1f

I tried mounting all of these, and I realized that one of them is /usr
and the other one must be /.  Seemed that most of the files were
there, except for /etc.  It's missing altogether.

fixit# mount /dev/ad0s1d /mnt
fixit# cd /mnt
fixit# find . -type f -name rc.conf

I tried this with all of the devices above and cannot find it.  Like I
said I cannot find /etc at all.

BTW it would be nice if I could fix the underlying kernel page fault
issue, anyone know how?  Uninstall Xorg is one way I guess.
___
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: Fixit mode (live CD): can't find /etc/rc.conf

2009-08-12 Thread Mel Flynn
On Wednesday 12 August 2009 21:07:30 Nerius Landys wrote:
 On my recently updated (as in world+ports are up-to-date) FreeBSD 6.4
 box i tried to get Xorg running, and after building Xorg from ports
 and enabling hald and dbus in rc.conf, I get:

   Fatal trap 12: page fault while in kernel mode

 This happens when I boot.  Now I'm trying to not start hald and dbus
 in rc.conf (I think that's what's causing the kernel problem).  So I
 am using the installation CD and going into fixit mode.  The problem
 is that I can't find rc.conf to edit.

 In /dev:
   ad0
   ad0s1
   ad0s1a

By convention /etc should be on ad0s1a. If it's not, but /boot is there, you 
may need to fsck.
-- 
Mel
___
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: Fixit mode (live CD): can't find /etc/rc.conf

2009-08-12 Thread Nerius Landys
 By convention /etc should be on ad0s1a. If it's not, but /boot is there, you
 may need to fsck.

Yeah, When I tired to mount ad0s1a, it gave me something like
permission denied or bad superblock.  How do I fix this with fsck from
the live CD?
___
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