Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 29 Jun 2006 07:08:24 -0400
From:      John Baldwin <jhb@freebsd.org>
To:        freebsd-current@freebsd.org
Cc:        Winston <wyt168@gmail.com>, freebsd-questions@freebsd.org
Subject:   Re: Booting problem
Message-ID:  <200606290708.25109.jhb@freebsd.org>
In-Reply-To: <3dcda0520606271107y2ebad874g2e481efaf3a70061@mail.gmail.com>
References:  <3dcda0520606271107y2ebad874g2e481efaf3a70061@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tuesday 27 June 2006 14:07, Winston wrote:
> 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?

Use /boot/loader rather than /boot/kernel/kernel at the boot2 prompt.

-- 
John Baldwin



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200606290708.25109.jhb>