From owner-freebsd-hackers@FreeBSD.ORG Thu Apr 25 21:54:49 2013 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id A8F1E2FF for ; Thu, 25 Apr 2013 21:54:49 +0000 (UTC) (envelope-from jrisom@gmail.com) Received: from mail-ia0-x22b.google.com (mail-ia0-x22b.google.com [IPv6:2607:f8b0:4001:c02::22b]) by mx1.freebsd.org (Postfix) with ESMTP id 7DB411E4E for ; Thu, 25 Apr 2013 21:54:49 +0000 (UTC) Received: by mail-ia0-f171.google.com with SMTP id r13so3043460iar.2 for ; Thu, 25 Apr 2013 14:54:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=x-received:message-id:date:from:user-agent:mime-version:to:subject :references:in-reply-to:content-type:content-transfer-encoding; bh=F2MVLnBBy7fJi/ePm/I+jJb8NIzv2CPNfeT5dBuGy1w=; b=P5bEph1opKCWSNbmzD5QlELOdWRFvKdVfv75B2xGcqAVVXgYDOvWQ1nU+O1zmLxB3I oeJP0hxU5/OhIwbHIxsaI8YAEZD0YlyAAftotIMvY+Vdce67Ch0MCHzdiXOfZQwIiptm NQOMqgV30i79lqbZ6RB+BgLtR+axr2GjBaHjoGiW2IB+ct8yYQfI1NDdwrSactU2QPYG B4l4XI2VOJ/TUleBUkuQZZLxiszhDU323xy+FqhVM27jSlVemKrgbYbGUS9UJ6lG4e7/ /MLZAa+Lxk1BLUM5CEmMJYAkhRYuiEH5VvE/aaXWVaWTWZUk4T/HIy2chfpy3Rknxe8k kfyg== X-Received: by 10.50.15.166 with SMTP id y6mr154092igc.83.1366926889263; Thu, 25 Apr 2013 14:54:49 -0700 (PDT) Received: from [192.168.1.34] (c-98-212-197-211.hsd1.il.comcast.net. [98.212.197.211]) by mx.google.com with ESMTPSA id q3sm15073029igw.0.2013.04.25.14.54.47 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 25 Apr 2013 14:54:48 -0700 (PDT) Message-ID: <5179A61E.4060600@gmail.com> Date: Thu, 25 Apr 2013 16:54:38 -0500 From: Joshua Isom User-Agent: Mozilla/5.0 (Windows NT 6.2; WOW64; rv:17.0) Gecko/20130328 Thunderbird/17.0.5 MIME-Version: 1.0 To: freebsd-hackers@freebsd.org Subject: Re: Botched 7->8 upgrade, thoughts how to recover? References: <9e3c6c0c1a72dd9c7977103e891e77b1@vjofn.tucs-beachin-obx-house.com> In-Reply-To: <9e3c6c0c1a72dd9c7977103e891e77b1@vjofn.tucs-beachin-obx-house.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 25 Apr 2013 21:54:49 -0000 On 4/25/2013 3:35 PM, Tuc wrote: > Hi, > > Figured this might be a bit more than -questions worthy... > > I was following some instructions online about upgrading 7 to 8... > And... Well... Something went horribly wrong during "make installworld". > I lost my ssh session (Mistake 1 - Console dummy!) and now in multiuser > I can't log in. I logged in single user and commands are iffy about > working. "ls" is fine, but "ls -l" coredumps. I tried to redo the > installworld, but it seems to get somewhere in libc man pages and then > quits. Could be that "ln" is screwed. > > Any thoughts on how to recover? I did an rsync of the system elsewhere > beforehand, so if it works I probably could just get it all back that > way. I was HOPING to go forward to 8. Is there some way I can do the > equiv of a "make installworld&&make installkernel" off some media so I > don't overwrite config, password, group, etc. > > Thanks, Tuc Try logging in and rebuilding world. First set your path to include /rescue before /bin. You can rebuild in single user mode without a problem, probably. When you install, don't use -j. If it fails, just document where it fails and post back. If you have another FreeBSD system available, you can use a flash drive to install to and from, just set MAKEOBJDIRPREFIX to the mount location. Don't forget the final mergemaster. Also, did you remember `mergemaster -p` beforehand?