From owner-freebsd-questions@FreeBSD.ORG Sat Jul 23 02:37:13 2005 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 7EC4C16A41F for ; Sat, 23 Jul 2005 02:37:13 +0000 (GMT) (envelope-from ima_camper@yahoo.com) Received: from web30007.mail.mud.yahoo.com (web30007.mail.mud.yahoo.com [68.142.200.70]) by mx1.FreeBSD.org (Postfix) with SMTP id B1EDC4408E for ; Sat, 23 Jul 2005 02:37:12 +0000 (GMT) (envelope-from ima_camper@yahoo.com) Received: (qmail 22330 invoked by uid 60001); 23 Jul 2005 02:37:12 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Message-ID:Received:Date:From:Subject:To:Cc:MIME-Version:Content-Type:Content-Transfer-Encoding; b=aVQRbYGiqXnEelIvYyVecDAiW3tMUmb6eFF7sGip6BN/dl8ttEYdU14UHTlI24HVPBf+XqmQWwQTVc/tm8yJiNCuoNXLh9v8i0srjAKl/No72+XDGd3CdFgfRo8SzLRvO1vb5dE60vOT52CtXqVdSoVyAtLnXCuAnVkkvoGD8JI= ; Message-ID: <20050723023712.22328.qmail@web30007.mail.mud.yahoo.com> Received: from [67.51.142.23] by web30007.mail.mud.yahoo.com via HTTP; Fri, 22 Jul 2005 19:37:11 PDT Date: Fri, 22 Jul 2005 19:37:11 -0700 (PDT) From: Ima Camper To: Chuck Swiger MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Cc: freebsd-questions@freebsd.org Subject: Re: Can't Mount Root 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: Sat, 23 Jul 2005 02:37:13 -0000 --- Ima Camper wrote: > > > --- Chuck Swiger wrote: > > > Ima Camper wrote: > > [ ... ] > > > da0 is my boot disk and contains /. However > when > > I > > > configured the disk using sysinstall during > > > installation, I set it up as "dangerously > > dedicated". > > > Now I wonder if my problem is that I should have > > used > > > "bsdlabel -B /dev/da0" instead of "da0s1a" when > > > attempting to install boot blocks? > > > > I suspect your device name ought to be /dev/da0a. > > If you are at the boot prompt, what happens if you > > enter a "?"...? > > Entering a "?" or anything else so far results in > this: > > mountroot> ufs:/dev/da0a > panic: Root mount failed, startup aborted. > cpuid = 0 > boot() called on cpu#0 > Uptime: 1h59m17s > > > Anyway, if you tell it the right place, and your > > fstab is OK, you ought to boot > > into the system as normal, from which point you > can > > re-run bsdlabel with the > > right device name. > > > > Otherwise, boot off of an install CD, and run the > > command from a shell. You > > can also begin a custom install and exit after > wrws; > > g just a new boot block > > via sysinstall, too. > > Thanks for the ideas. I will try more when I get > home. All I have available now is a serial console > (that sometimes is at 115200 baud and sometimes at > 9600 baud) so I can't try anything other than > various > iterations of root devices. OK, now I'm home and can boot from the 5.4-RELEASE disk 1 ISO and get to a fixit prompt. I can mount /dev/da0 on /mnt and see all my data. Does anyone have any idea what the right command might be to restore my / drive so it can be mounted? I'm leaving on a vacation tomorrow and would really like to get this system up so I can post pictures and such to my web page while I'm gone. I'd appreciate any assistance as I really don't want to have to rebuild the system tonight. I'm sure there's some simple command that will restore access. Thanks, Drew ____________________________________________________ Start your day with Yahoo! - make it your home page http://www.yahoo.com/r/hs