From owner-freebsd-questions@FreeBSD.ORG Sun Nov 7 15:24:21 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 79106106564A for ; Sun, 7 Nov 2010 15:24:21 +0000 (UTC) (envelope-from jclear@speakeasy.net) Received: from mail2.sea5.speakeasy.net (mail2.sea5.speakeasy.net [69.17.117.41]) by mx1.freebsd.org (Postfix) with ESMTP id 58E4B8FC15 for ; Sun, 7 Nov 2010 15:24:21 +0000 (UTC) Received: (qmail 25611 invoked from network); 7 Nov 2010 15:24:20 -0000 Received: from dsl092-238-005.phl1.dsl.speakeasy.net (HELO [10.19.62.7]) (jclear@[66.92.238.5]) (envelope-sender ) by mail2.sea5.speakeasy.net (qmail-ldap-1.03) with AES128-SHA encrypted SMTP for ; 7 Nov 2010 15:24:20 -0000 From: Jed Clear Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Date: Sun, 7 Nov 2010 10:24:19 -0500 Message-Id: To: freebsd-questions@freebsd.org Mime-Version: 1.0 (Apple Message framework v1081) X-Mailer: Apple Mail (2.1081) Subject: re: restart virtualbox X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 07 Nov 2010 15:24:21 -0000 yanxinyoou: > i intall virturl box like this: >=20 > # cd /usr/ports/emulators/virtualbox > # make install clean=20 >=20 > # cd /boot /modules /*however i forgot do this commander =20= > # ls vbox* /*i also forgot > vboxdrv.ko vboxnetadp.ko vboxnetflt.ko >=20 > # echo 'vboxdrv_load=3D"yes"' >> /boot/loader.conf > # echo 'ng_ether_load=3D"yes"' >> /boot/loader.conf > # echo 'ng_ether_load=3D"yes"' >> /boot/loader.conf >=20 > # cat /boot/loader.conf > vboxdrv_load=3D"yes" > vboxnetflt_load=3D"yes" > ng_ether_load=3D"yes" The man page implies that "YES" should be upper case. > after i restart bsd auto restart ! >=20 > i think it caused by i made a mistake on loader.conf >=20 > but i don't know how to do now=20 >=20 > 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.=