Boot failure

Tim Judd tajudd at gmail.com
Fri Aug 7 20:02:24 UTC 2009


On 8/7/09, Identry <identry at gmail.com> wrote:
>> If you did not touch the kernel, there is no need to boot GENERIC! Plus
>> you
>> have said that this box is running PF, which is not in the GENERIC kernel!
>> Personally, I am interested in knowing why the system does not mount the
>> root partition on its own when you can do it by hand and it does not
>> complain.
>
> Me too.
>
>> Did you by any chance change anyting in /etc/fstab?
>
> No, this has never changed since original install.
>


Non-printable-character (NPC)

NPCs may be a culprit for a file that used to work, now doesn't.  Or a
inode oddity.

I've been following this thread but haven't chipped in because of
timing (you driving to the datacenter).

Here's what I'd consider:
  # mv /etc/fstab /etc/old-fstab

and recreate a fstab from hand.  Example:

/dev/mfid0s1a / ufs rw 1 1

If you dumpfs the other bsd partitions, you can see "last mounted on".
 That might reflect the live-cd mountpoints, but it might help.
Reconstruct the fstab.  The existing one, which may have NPC or some
other corruption is still there, inode hasn't changed.  we did create
a new file (hence, new inode) and know we don't have a NPC in it.


I doubt controller or disk problems, since a livecd can mount it.  a
fsck -y on a clean filesystem won't report anything.

HTH, good luck.


>> What entries you do have in /etc/sysctl.conf?
>
> None. It is just the default file with some comments, but no uncommented
> lines.
>
>> Please try "fsck -y" option first although I am not quite optimistic about
>> it, given that mounting by hand works so far.
>
> Okay.
>
>> If I were to upgrade, I'd go to 6.4-STABLE first and wait there while
>> thinking about the next move.
>
> Right... I'm going to try getting this machine up first, before
> fussing with upgrades.
>
>> What does your /etc/rc.conf contain?
> $ cat rc.conf
> #$Id: rc.conf,v 1.4 2008/03/31 23:44:10 root Exp root $
>
> # -- sysinstall generated deltas -- # Sat Dec  1 16:23:45 2007
> # Created: Sat Dec  1 16:23:45 2007
> # Enable network daemons for user convenience.
> # Please make all changes to this file, not to /etc/defaults/rc.conf.
> # This file now contains just the overrides from /etc/defaults/rc.conf.
> defaultrouter="66.111.0.193"
> hostname="on.identry.com"
> keyrate="fast"
> moused_enable="YES"
> monit_enable="YES"
> ntpd_enable="YES"
> ntpd_program="/usr/sbin/ntpd"
> ntpd_config="/etc/ntp.conf"
> ntpd_sync_on_start="YES"
> ntpd_flags="-p /var/run/ntpd.pid"
> saver="green"
> pf_enable="YES"
> pf_rules="/etc/pf.conf"
> pf_flags=""                     # additional flags for pfctl startup
> pflog_enable="YES"
> pflog_logfile="/var/log/pflog"
> pflog_flags=""                  # additional flags for pflogd startup
> sshd_enable="YES"
> #inetd_enable="YES"
> usbd_enable="YES"
> mysql_enable="YES"
> apache22_enable="YES"
> apache22_flags="-DSSL"
> apache22_http_accept_enable="YES"
> sendmail_enable="NONE"
> spamd_enable="YES"
> spamd_flags="-v -x -u vpopmail"
> courier_authdaemond_enable="YES"
> courier_imap_imapd_enable="YES"
> courier_imap_imapdssl_enable="YES"
> courier_imap_imapd_ssl_enable="YES"
> courier_imap_pop3d_enable="YES"
> courier_imap_pop3dssl_enable="YES"
> courier_imap_pop3d_ssl_enable="YES"
> clamav_clamd_enable="YES"
> clamav_freshclam_enable="YES"
> svscan_enable="YES"
> snmpd_enable="NO"
> pureftpd_enable="YES"
> autossh_enable="YES"
> mongrel_cluster_enable="YES"
> mongrel_cluster_config="/usr/local/etc/mongrel_cluster"
>
> # added by xorg-libraries port
> local_startup="/usr/local/etc/rc.d"
> _______________________________________________
> freebsd-questions at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questions-unsubscribe at freebsd.org"
>


More information about the freebsd-questions mailing list