From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id 9401B1381F3 for ; Sat, 28 Sep 2013 22:55:52 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 2BF6AE0DC4; Sat, 28 Sep 2013 22:55:39 +0000 (UTC) Received: from mail-wg0-f41.google.com (mail-wg0-f41.google.com [74.125.82.41]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 06AE4E0D0B for ; Sat, 28 Sep 2013 22:55:37 +0000 (UTC) Received: by mail-wg0-f41.google.com with SMTP id l18so2095983wgh.0 for ; Sat, 28 Sep 2013 15:55:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:content-type:content-transfer-encoding; bh=Sy+CSluUdgfUT5x3DqNJO0IEduGxHGFuMcT2kEH7XzU=; b=Ks+lbtGQFHvLWvimgaFvLw/5g5YeCb/5QhrabYV/aAj5ch3WvYb9P5bxnokZS7Vkli nfaXxWyTTXftGTHHh2Vw3nN94ErqW5u53nxxoutS0dcTy+o8OnTwpq9uYrW9jlU2EWJH /uTo6twMTcKpN9nj3cD8QYeGao6VbFmFsmApcK/thIgUd02+KruFGu02BpCjkuSeqAt+ lf/ZSvuYrXlErUcy4Uof8ZIsdz+ZgvK45zYCF4LnXnescLt6nFk3r9qBxOJqycKsLz2i 7C/I0y8hFJGTohZXLoBzAElssuqZI7EFvBtzaSILLF/4TFG8qQQmNgatZOCnUvho1Q7Y 8Lug== X-Received: by 10.194.240.129 with SMTP id wa1mr11232665wjc.31.1380408936643; Sat, 28 Sep 2013 15:55:36 -0700 (PDT) Received: from [172.20.0.41] (196-210-126-33.dynamic.isadsl.co.za. [196.210.126.33]) by mx.google.com with ESMTPSA id dq11sm10384109wid.3.1969.12.31.16.00.00 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Sat, 28 Sep 2013 15:55:36 -0700 (PDT) Message-ID: <52475D5B.70802@gmail.com> Date: Sun, 29 Sep 2013 00:51:07 +0200 From: Alan McKinnon User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.0 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 To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] separate / and /usr to require initramfs 2013-11-01 References: <20130927222109.GD23408@server> <5246079E.7090406@gmail.com> <20130927223916.GE23408@server> <52460D42.2080109@gmail.com> <52461056.9020604@gmail.com> <5246BE35.3010408@libertytrek.org> <5246E1F5.9050302@gmail.com> <52471BBA.1030600@googlemail.com> <20130928205042.6ee6db4b@digimed.co.uk> In-Reply-To: <20130928205042.6ee6db4b@digimed.co.uk> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Archives-Salt: c9076902-d96b-48ef-8298-209a4c1441b2 X-Archives-Hash: 93ff2b01f52584697105d16aea885541 On 28/09/2013 21:50, Neil Bothwick wrote: > On Sat, 28 Sep 2013 20:11:06 +0200, Volker Armin Hemmann wrote: > >> To merge two filesystems, you just merge two filesystems. You don't >>> rebuild anything. You might have some downtime though >> >> one reboot. You cp everything into /newuser. On shutdown you unmount >> /usr, mv newuser usr, sync, unmount, reboot. >> if you want to do it 'old fashioned', you cp everything to /newuser, >> reboot with systemrescuecd, mount / on /mnt/gentoo, my newuser to usr >> and reboot. Oh, and change fstab. > > It's not that simple if /usr is on LVM, / is not large enough to > hold /usr and resizing the partition is really tricky. In that case, the > simplest option is to start using an initramfs. Once that is working, you > can get rid of the separate root partition and move that filesystem into > the VG too. First time I did it, I faced that scenario too: / wasn't big enough and I didn't have enough free space anywhere to put a temporary copy. So I juggled everything around in chunks playing the disk-partition equivalent of 15-pieces. Took about a day. What I *should* have done is bought my first external USB drive then, not three years later. -- Alan McKinnon alan.mckinnon@gmail.com