From owner-freebsd-questions@FreeBSD.ORG Tue Jun 27 18:50:01 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5B36C16A408 for ; Tue, 27 Jun 2006 18:50:01 +0000 (UTC) (envelope-from wyt168@gmail.com) Received: from ug-out-1314.google.com (ug-out-1314.google.com [66.249.92.172]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7DF8443DFF for ; Tue, 27 Jun 2006 18:50:00 +0000 (GMT) (envelope-from wyt168@gmail.com) Received: by ug-out-1314.google.com with SMTP id m3so1700930uge for ; Tue, 27 Jun 2006 11:49:59 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=HwkuPnQhZA4INv/d11zNo45f9su2G5kwHseQB0ZjZaqessmBV0yo/YBdxwfsXJ7kxoQ7PcNzNpkLZz+ZJK2Vh4X9rmsU+F6TOpEi2qQbI3ju0Y6414UjT5UesTkTEzE7FikqUBqRLV4SAsUyS6Z++KwkV9E0uMdWxjJLlWTxNtY= Received: by 10.78.157.15 with SMTP id f15mr2628899hue; Tue, 27 Jun 2006 11:49:59 -0700 (PDT) Received: by 10.78.67.4 with HTTP; Tue, 27 Jun 2006 11:49:59 -0700 (PDT) Message-ID: <3dcda0520606271149x778e7f58i573911c1143ad8f0@mail.gmail.com> Date: Tue, 27 Jun 2006 11:49:59 -0700 From: Winston To: freebsd-questions@freebsd.org, freebsd-current@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline Cc: Subject: Boot problem 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: Tue, 27 Jun 2006 18:50:01 -0000 I tried to boot via a serial console, so I modified/added the following config files: --------------------------- /boot/loader.conf: boot_multicons="YES" boot_serial="YES" console="comconsole" ------------------------------- /boot.config # wyt: added -Dh ------------------------------- Changed /etc/ttys: ttyd0 "/usr/libexec/getty std.9600" dialup off secure to ttyd0 "/usr/libexec/getty std.9600" xterm on secure However, I got the following messages while booting: /boot.config: # FreeBSD/i386 boot Default: 0:ad(0,a)boot boot: I think I prob. made a mistake by putting a line of comment "#wyt: added" at the beginning of /boot.conf and the boot loader doesn't like it. But if I specify /boot/kernel/kernel after the line boot: I got a bunch of reg dumps and finally: BTX halted The kernel was booting fine before I make the changes. I now have the chicken and egg problem: I need to get rid of the line of comment in boot.conf for it to boot, but I can't access it without booting into it. Any hint? WT