auto boot into single mode

Victor Balada Diaz victor at bsdes.net
Mon Apr 20 10:14:25 UTC 2009


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. 


More information about the freebsd-current mailing list