Need help to run growfs and fsck at startup

Hi,

Is there a way to run growfs root filesystem / on boot? I'm using FreeBSD 8 right now.

May be it can be started at the same time as fsck? In this case what file should I edit?

Thanks.
 
Boot to single user mode and do it there.

What version of FreeBSD?
 
Actually I used the dd command to restore *.img on a large partition and it automatically goes to single user mode when booting because the filesystem has been altered. I get prompted with this message:
Code:
When prompted Enter full pathname of shell or RETURN for /bin/sh:

How to automate growfs and fsck? I started using *BSD this month.

... version 8.0-RELEASE-p2

Thanks.
 
Back
Top