Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 20 Apr 2009 11:55:29 +0200
From:      Victor Balada Diaz <victor@bsdes.net>
To:        =?utf-8?B?S+G7syBBbmgsIEh14buzbmg=?= <xkyanh@gmail.com>
Cc:        freebsd-current@freebsd.org
Subject:   Re: auto boot into single mode
Message-ID:  <20090420095529.GI48454@alf.bsdes.net>
In-Reply-To: <20090420164641.1842c264@icy.local>
References:  <20090420164641.1842c264@icy.local>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, Apr 20, 2009 at 04:46:41PM +0700, Kỳ Anh, Huỳnh wrote:
> My question is that whether we can setup FreeBSD so that it can automatically boot into single mode if there's something wrong in hard disk, *OR* at least it will execute fsck automatically/successfully?
> 
> (I often see that after such type of error, FreeBSD cannot fix the hard disk in normal mode. This is quite far from Linux; I rarely boot my Linux machines single mode after electric cut)
> 

Try with fsck_y_enable="YES" in rc.conf. It will run fsck -y if
it detects any errors while booting.

Regards.
-- 
La prueba más fehaciente de que existe vida inteligente en otros
planetas, es que no han intentado contactar con nosotros. 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20090420095529.GI48454>