Re: auto boot into single mode

From: Victor Balada Diaz <victor_at_bsdes.net>
Date: Mon, 20 Apr 2009 11:55:29 +0200
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. 
Received on Mon Apr 20 2009 - 08:14:25 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:46 UTC