From owner-freebsd-questions@FreeBSD.ORG Mon Jan 21 18:12:50 2008 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 B945116A41A for ; Mon, 21 Jan 2008 18:12:50 +0000 (UTC) (envelope-from schiz0phrenic21@gmail.com) Received: from wa-out-1112.google.com (wa-out-1112.google.com [209.85.146.181]) by mx1.freebsd.org (Postfix) with ESMTP id 95AF613C43E for ; Mon, 21 Jan 2008 18:12:50 +0000 (UTC) (envelope-from schiz0phrenic21@gmail.com) Received: by wa-out-1112.google.com with SMTP id k17so3879833waf.3 for ; Mon, 21 Jan 2008 10:12:50 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; bh=7Tj56s0W3l/ohR0Sb7HQa6JWGW8jaOMud1EWDljJo4g=; b=mtDceuf/Vpm+7jDcHo3z4lMQLwU+iaZSRdPI3xstPx9dmyvdzd29ixLxmjCXw6njYOHJKHjoeDQvVZRYLRqk6IzQB5VEXQcuapHblKzzjWDUdzYl6Ru8tJ97IBJilSy+sIg5VdPtuO4OekvPCvIL6giKwyocA/0pyTxSBuGslYg= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=prbN/b7QgaaDKKuw7ADkbEEh775rLiqNu5xbihpWUOx+r4s6mzusavnny3k9ImZCd9qdPYxbq/M06WcbBHN0LqqkYo1vNVAQ9K73eSX0VW1vyfSdgsZDZ1DyKFKbaa2IIzu93oQ41eWnlzKxZIffEzCOKZxinx1q4NiNBASa5QY= Received: by 10.114.79.1 with SMTP id c1mr4032690wab.148.1200939170225; Mon, 21 Jan 2008 10:12:50 -0800 (PST) Received: by 10.114.52.14 with HTTP; Mon, 21 Jan 2008 10:12:50 -0800 (PST) Message-ID: <8d23ec860801211012j60d3eb39x19e3076f3b608338@mail.gmail.com> Date: Mon, 21 Jan 2008 13:12:50 -0500 From: Schiz0 To: "User Questions" In-Reply-To: <8d23ec860801091038i4878b8b1lbfbacbd8a4dbac73@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <8d23ec860801091038i4878b8b1lbfbacbd8a4dbac73@mail.gmail.com> Subject: Re: Boot Loader Broken? 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: Mon, 21 Jan 2008 18:12:50 -0000 On Jan 9, 2008 1:38 PM, Schiz0 wrote: > Hey, > > I recently upgraded from 6.3-PRERELEASE to 7.0-PRERELEASE. I had some > problem with the ports, but I got that taken care of. > > Now I'm having another very odd problem. > > I originally noticed something odd when I tried to shutdown from > multiuser mode into single user mode. I ran "shutdown now" as root in > multiuser. It said it was shutting down, etc. But then, it gave me the > normal multiuser login prompt. So then I tried rebooting completely, > and that's where the big error came up: > > ----------------------------------------------------- > FreeBSD/i386 bootstrap loader, Revision 1.1 > (root@Mercury, Tue Jan 8 14:22:21 EST 2008) > > \ > \: unknown command > - > /boot/kernel/kernel text=0x29e868 data=0x2db8c+0x23814 > syms=[0x4+0x34c10+0x4+0x43ef1] > Hit [Enter] to boot immediately, or any other key for a command prompt. > Booting [/boot/kernel/kernel] in 4 seconds ... > ----------------------------------------------------- > > Why it trying to run the command "\" ? Right before I did this, I > rebuilt world, including the kernel. I installed the new kernel, and > was moving down to single user to install world. > > Is my bootloader corrupt somehow? > > Thanks. > I'm still having this problem. I installed from the 7.0-RC1 Boot Only iso. It worked fine. I csuped RELENG_7 and built world, and now it's giving me the same error. There's nothign weird in /etc/fstab. I didn't change any files in /boot. I put the 7.0-RC1 CD in the drive, and diff'ed the /boot from MY system and the /boot from the CD. Nothing was different. I ran diff on the loader.conf, loader.rc, and all the .4th files. Note, I can still boot up fine. I just hit enter at that error prompt and it boots ok. Now, I'm even in a bigger hole. My power died this weekend, and I guess the / partition has some errors on it, so it is being mounted read-only. But I'm unable to get into single user mode. I tried "shutdown now" and "init 1" and they both brought me back to the multi-user login prompt. And there's no menu to reboot and select single user mode from. Can someone help me either solve the bootloader problem, or just how to get into single user mode? Thanks.