restart virtualbox

Jed Clear jclear at speakeasy.net
Sun Nov 7 15:24:21 UTC 2010


yanxinyoou:
> i intall virturl box   like  this:
> 
> # cd /usr/ports/emulators/virtualbox
> # make install clean 
> 
> # cd /boot /modules            /*however i forgot do this commander  
> # ls vbox*	               /*i also forgot
> vboxdrv.ko vboxnetadp.ko vboxnetflt.ko
> 
> # echo 'vboxdrv_load="yes"' >> /boot/loader.conf
> # echo 'ng_ether_load="yes"' >> /boot/loader.conf
> # echo 'ng_ether_load="yes"' >> /boot/loader.conf
> 
> # cat /boot/loader.conf
> vboxdrv_load="yes"
> vboxnetflt_load="yes"
> ng_ether_load="yes"

The man page implies that "YES" should be upper case.

> after i restart   bsd  auto  restart !
> 
> i think  it caused  by i made a mistake on loader.conf
> 
> but i don't know how to do now 
> 
> i can't get in the system to change the  /boot/loader.conf

Try Interrupting the loader and unloading the kernel modules before continuing the boot.

http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/boot-blocks.html

You'll also probably want to boot single user until you resolve the issue.

Failing that boot from a recovery CD, mount the / filesystem and edit.


More information about the freebsd-questions mailing list