From owner-freebsd-questions@FreeBSD.ORG Wed May 17 10:29:34 2006 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 B071516A438 for ; Wed, 17 May 2006 10:29:34 +0000 (UTC) (envelope-from dthomas53@gmail.com) Received: from py-out-1112.google.com (py-out-1112.google.com [64.233.166.176]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5AEA443D4C for ; Wed, 17 May 2006 10:29:33 +0000 (GMT) (envelope-from dthomas53@gmail.com) Received: by py-out-1112.google.com with SMTP id f28so215738pyf for ; Wed, 17 May 2006 03:29:32 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:references; b=a9huMvPs6cymzb+cxub3Mg61k3T00FUnKjngf67FiCssOe3cfBYvJX8vvG5eE8ck1dmYcgzozGYRgk6XnQ9DgQhL9PGo+Z72IC4RLWIg/gy6VdbMfOZpZuC3SauIStS1dbZZv17VdhQYA0oojNPiK1PQoJMuTI+7+y6KxC7qH+Q= Received: by 10.35.99.5 with SMTP id b5mr914450pym; Wed, 17 May 2006 03:29:32 -0700 (PDT) Received: by 10.35.13.3 with HTTP; Wed, 17 May 2006 03:29:32 -0700 (PDT) Message-ID: Date: Wed, 17 May 2006 06:29:32 -0400 From: "David Stanford" To: "Kyrre Nygard" In-Reply-To: <7.0.1.0.2.20060517120703.021ea638@broadpark.no> MIME-Version: 1.0 References: <7.0.1.0.2.20060512183937.02190800@broadpark.no> <200605160412.37036.duncan.fbsd@gmail.com> <7.0.1.0.2.20060516122905.02251e08@broadpark.no> <200605160655.06955.duncan.fbsd@gmail.com> <7.0.1.0.2.20060517120703.021ea638@broadpark.no> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: quoted-printable Content-Disposition: inline X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-questions@freebsd.org, "Donald J. O'Neill" Subject: Re: makeworld FAILURE on 5.4-STABLE 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: Wed, 17 May 2006 10:29:34 -0000 On 5/17/06, Kyrre Nygard wrote: > > At 13:55 16.05.2006, Donald J. O'Neill wrote: > >On Tuesday 16 May 2006 05:30, Kyrre Nygard wrote: > > > >Is /home on a slice of its own. Mine is, for the reason that if I > > > > have to blow off the system and reinstall, I can safely do that, as > > > > long as I don't make any changes to /home, just remount it as > > > > /home. You can do this with sysinstall, very easlily. > > > > > > > >Send the output from 'df', I can tell from that. > > > > > > > >Don > > > > > > Hello! > > > > > > Actually, my /home is under /usr ... uh oh huh? > > > No can do then? > > > > > > Thanks for the tip of having /home as a seperate slice though, > > > I'll treasure it for the rest of my days! > > > > > > Peace, > > > Kyrre > > > >Not as you have it now. However, I read a possible solution that I think > >might work, to you from David Stanford. I think it will work, it just > >needs a couple of suggestions to flesh it out a bit. > > > >I'll requote it here: > >How large is your /var slice? If it's large enough to fit /home (or at > >least the files you'd like to save), maybe try booting into single-user > >mode, mount /usr and /var, wipe out /var, copy the files from /usr/home > >to /var, and just remember to document what slice /var was. Then you > >could just reinstall the base system around it using a 6.1-RELEASE CD, > >no? > > > >Just a shot in the dark... > >=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > > > >Not a bad shot in the dark, I think it will work if you do it this way: > >1) Follow what David said above, be sure to document what slice /var > >is. You're going to need that information when you reinstall with the > >6.1-RELEASE disc. > > > >2) boot up the release disc. Use the standard install method. The first > >thing you come to is "fdisk" partitioning. The only thing you're going > >to do here is make an existing partition bootable, don't change > >anything else, don't make any new partitions, don't delete any. Just > >make the one partition bootable, then go on to the next step and > >install the boot manager. > > > >3) BSDlabel is the next step. Since you didn't change any partitions on > >your disc, the existing slices should come up. You can remove and > >recreate all of them except the one you had for /var. You're going to > >mount that one as /home. At this point, you can create your other > >slices and mount points. Make sure that the slice you now have as /home > >is not going have 'newfs' run on it, all the others need to have it > >done, but not /home. Then go on with the installation. > > > >Until you go through the disk label step, you haven't changed anything. > >Once you get through that step, you're committed, and what will be, > >will be. So, if you need any clarification, ask for it. Just remember, > >if you make a mistake, it's unpleasant and you'll be kicking yourself > >in the ass, but it's not the end of the world. > > > >Don > > Hey man, > > # df > Filesystem Size Used Avail Capacity Mounted on > /dev/ad4s1a 248M 35M 193M 15% / > devfs 1.0K 1.0K 0B 100% /dev > /dev/ad4s1d 248M 80M 148M 35% /var > /dev/ad4s1e 248M 10K 228M 0% /tmp > /dev/ad4s1f 142G 118G 12G 91% /usr > > Great shot! :) > > So in my case, can I not first mount /dev/ad4s1f from FreeSBIE > maybe, delete everything except my home directory, and then run a > FreeBSD 6.1-RELEASE reinstall, skipping the parts that would > mess with my /dev/ad4s1f? Maybe I'm confused as to what you're looking to do. If you're looking to copy data from (or all of) /home to /var, it obviously won't be able to hol= d anymore than 248MB; and it seems like you have much more data than that. And avoiding the /usr slice won't help with upgrading as you will need to reinstall a new /usr slice anyway using the 6.1-RELEASE disc. Much of the system is located in /usr... If you have more than 248MB worth of data you need to save, and upgrading i= s absolutely necessary, I would suggest just ponying up the $40.00 and gettin= g an external hard drive to back up the data. Then do a fresh install. Hehe, no it would not be the end of the world. > But it would put an end to the fruits of a lot of struggle. > > See you around man, > Kyrre > > > > -David