From owner-freebsd-questions@FreeBSD.ORG Tue Mar 6 16:44:06 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id BA5EA16A403 for ; Tue, 6 Mar 2007 16:44:06 +0000 (UTC) (envelope-from joshua.kordani@gmail.com) Received: from an-out-0708.google.com (an-out-0708.google.com [209.85.132.251]) by mx1.freebsd.org (Postfix) with ESMTP id 783E713C4B4 for ; Tue, 6 Mar 2007 16:44:06 +0000 (UTC) (envelope-from joshua.kordani@gmail.com) Received: by an-out-0708.google.com with SMTP id c24so1694808ana for ; Tue, 06 Mar 2007 08:44:05 -0800 (PST) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:mime-version:content-type; b=AaTdrUc0sTQIvwFrgGeGgi+yARfoyfzv4JshTOK2qw3yXQkmQM4TEhlihxyNcetzevn6cnY4SPcA9cRv8TwYkdKOYo6FERzAU9QBVt3elFasd8kDK9Zr2JAgUJ/EC9KpabC/wZF94GJP5BqvHwR4N0xIS9MeUn/7+1JWGZf4PIo= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:mime-version:content-type; b=lmZqnUPRQAv+IoYw+LzcQgFus5rjhCtDBWzvtXn9H3smvtnFfGwVRl8/d8gzrnLb8wt+R0ey8zlzoT7DtWOf1665wGOo5UoHKKq3dkNt96Cj8DqJ+mpFO8PFenBnXDqiwA7IpZfvFZ2VOO+7KzHpMbc4zffzoCKcGJw7dTq8uKU= Received: by 10.100.174.16 with SMTP id w16mr5441835ane.1173197962769; Tue, 06 Mar 2007 08:19:22 -0800 (PST) Received: by 10.100.3.17 with HTTP; Tue, 6 Mar 2007 08:19:22 -0800 (PST) Message-ID: <69af686f0703060819r557fea9cj22cd8c560f17e9a4@mail.gmail.com> Date: Tue, 6 Mar 2007 11:19:22 -0500 From: "Joshua Kordani" To: freebsd-questions@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: using sysinstall upgrade as a repair solution 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, 06 Mar 2007 16:44:06 -0000 Hello all! I was running 5.1 release till pretty much last week when I believe the machine experienced an unplanned powercycle. since then i get an error about libedit.so.4 being missing, and being required by sh, please input path to sh or hit enter. ok, so i know about /rescue/sh, and the fixit option on sysinstall, but i don't know if libraries are anywhere to be found on the live cd fixit toolkit (i doubt it, i looked in all the places that made sense to me). So i figure I might as well reinstall the OS, as that is why i made separate partitions for user data and system files (so i think, this is my first unix based system built by me) to apparently facilitate os reinstallation. So here is my understanding of how a reinsall is supposed to go, with the aim of preserving my user stuff. I set the system up with a 150 meg partition (more than reccomended in the handbook at the time, and still to my knowledge) on which I put a, a b swap part, 256 meg d /tmp, 256 meg e /var, and 200odd gig f /usr. the system was oringinally intended to be an anonymous ftp repository for me and my friends, but due to school req's i had to change it to the sftp backengine(?) of sshd, and it was in /usr/share/public that i put pretty much everything. when my friends added tons of crap I eventually added another 160 gig drive, put a swap part on that too for kicks, and moved the /home dir to it too. as of last week i only have 10 gigs remaining on that drive, and oddly enough i am at 106% capcity for the 250 gig drive according to df, go figure. So now I figure id open up sysinstall off a cd and use the upgrade feature first, for either 5.1 or 6.2. I set / to mount to a, /tmp to d, /var to e. and i leave f alone, since i dont want that modified at all. well, eventually the tool tells me that the filesystem is full and quits. Then I try doing a custom install and choose only the required base files, or a minimal install, and the same thing happens. Then I figured that in the worst case i could choose to mount /usr on the 2nd harddrive on the partition where there are 10 gigs free in the fdisk-like utility step that the upgrade feature brings one too, and then i get kernel panics. So i figure im not doing something right, or im not understanding something, but it was my intent to separate the / from /usr(or wherever id put stuff) in order to make the upgrading(or repairing) of the os easier. If this topic has already been discussed on the list then please tell me so I can go look in this lists archives wherever they may be stored. I am also not adverse to reading and note that I've looked through the handbooks for 5.1 and 6.2 as well as their install.txts. 5.5 disks are burning now, and im going to give those a try and see what happens. Thanks! Josh