From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1SD0bK-0001Bl-1H for garchives@archives.gentoo.org; Wed, 28 Mar 2012 21:40:18 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 3A044E0E47; Wed, 28 Mar 2012 21:39:31 +0000 (UTC) Received: from mail-we0-f181.google.com (mail-we0-f181.google.com [74.125.82.181]) by pigeon.gentoo.org (Postfix) with ESMTP id 59DEFE0C78 for ; Wed, 28 Mar 2012 21:37:11 +0000 (UTC) Received: by werm13 with SMTP id m13so1045774wer.40 for ; Wed, 28 Mar 2012 14:37:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=date:from:to:subject:message-id:in-reply-to:references:organization :x-mailer:mime-version:content-type:content-transfer-encoding; bh=Bq7kmyb43N8szJpgoUoIgGXzM3p+IsruKnzD8uklSX8=; b=pJ8WJ+FAroryxXW86GvsWSONn3VI7kl0CyQH3RVBes6gIPBNYZ7H6N9DnFa+uOsQD/ tMVoqtHG5/8wmXpEW1Ex0qiwHEGAuLQIRWDBJ3YTelvEieDkYgDp7M9H650OgutKslop si7raIEY3Oi+NVgLzGDCeEQdDqF7wgSHxHyakx02cVGN+g1VLE0QV6UgGCCzl7034AZ5 RoCbmGJrnn6M6jWb6rLecg2bytF9/WHVs8pXKIynom16wzha8Tihq/tRDcQdE3SxQgr0 TKH5OzDCSZaM5wiHJyAnUZkWtiWu6jmyCvW1P4Yy3AX9Ld+bhfRYTvPYPuk4UL4ulIyj qh1w== Received: by 10.216.133.72 with SMTP id p50mr18705501wei.78.1332970630413; Wed, 28 Mar 2012 14:37:10 -0700 (PDT) Received: from khamul.example.com (196-210-183-224.dynamic.isadsl.co.za. [196.210.183.224]) by mx.google.com with ESMTPS id n20sm7197384wiw.5.2012.03.28.14.37.07 (version=SSLv3 cipher=OTHER); Wed, 28 Mar 2012 14:37:09 -0700 (PDT) Date: Wed, 28 Mar 2012 23:35:57 +0200 From: Alan McKinnon To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] InitRAMFS - boot expert sought Message-ID: <20120328233557.58ace6c0@khamul.example.com> In-Reply-To: References: <1332844604.4130.0@numa-i> <4F71BE44.3080206@kutulu.org> <4F71E865.30800@hadt.biz> <4F71F182.5010709@gmail.com> <4F7224B8.1050806@gmail.com> <4F723842.4000501@gmail.com> <20120328001421.7c65a401@khamul.example.com> Organization: Internet Solutions X-Mailer: Claws Mail 3.7.10 (GTK+ 2.24.10; x86_64-pc-linux-gnu) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Archives-Salt: 7eafff7c-d717-4b2d-91d0-90cd41df7fbc X-Archives-Hash: f89bd0f90ee8383e0fd8a3b665341524 On Wed, 28 Mar 2012 11:20:25 -0400 Allan Gottlieb wrote: > On Tue, Mar 27 2012, Alan McKinnon wrote: > > > All you need is a decent amount of free disk space as you will > > shuffle things around just like in that 15 pieces game. > > This sounds encouraging. My disk is less than half full so space is > not an issue. > > > Assuming / is the first (or second) partition on a disk: > > Question. For me, / is actually /dev/sda5 (sda4 is the extended > partition, the three in front are one dell's special, and two for > windows, the latter only used when contacting dell for diagnostics). > But I think this difference is not material. > > > Measure how much data is on the file system. > > Measure how much data is on the /usr file system. > > Right > > > Move partitions after / on the disk out of the way creating enough > > free space to contain current / and /usr. > > Question. /dev/sda7 is LVM and that is used for /usr, /local, et al. > How do I move an LVM partition? I could make plain partitions and > just copy /usr, /opt, et al., each to a separate partition. Is that > the way? > > > Enlarge / partition, enlarge the file system on it, copy contents > > of /usr there. > > / is ext3, which I believe can be extended live. Or do you recommend > using a gentoo install CD (or equivalent)? > > > Arrange the rest of your disk the way you want it (either with or > > without LVM, both are easy enough to do). > > Move the rest of your data back to it's final destination. > > Delete any last remnants of the old /usr partition. > > This part seems straight forward and not scary since I still would > have the newly created and copied /usr, /opt, et al. partitions in > case something goes wrong. > > So the result would be > > / (including /usr) on one partition (not LVM) > /local, /opt et al., each as separate LVs on my recreated LVM > partition > > I believe this is one of the configurations others have adopted, > which I consider a plus. The other favored configuration is to keep > the current partition scheme and use an initramfs via genkernel, > dracut, or Neil's "in kernel config" soln. > > I would suspect there are second order improvements such as moving > /usr/portage and /usr/src to LVM with symlinks left behind in /usr, > but I am now just concerned to see if I have the basic plan correct. > Have I? What you describe sounds ok, but I'd still hesitate to give a definite answer without a little more data. If you send over the output of df -h du -shx for each partition you have fdisk -l pvdisplay vgdisplay lvdisplay I'll be happy to go over the numbers and offer an opinion. -- Alan McKinnnon alan.mckinnon@gmail.com