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 671D31381F3 for ; Mon, 30 Sep 2013 10:27:22 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 9369FE0BE4; Mon, 30 Sep 2013 10:27:17 +0000 (UTC) Received: from mahal.bihira.com (mahal.bihira.com [67.159.5.243]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 8EF44E0BA9 for ; Mon, 30 Sep 2013 10:27:16 +0000 (UTC) Received: from 118.70-40-235.netnet.net ([70.40.235.118]:46421 helo=[192.168.1.144]) by mahal.bihira.com with esmtpsa (TLSv1:DHE-RSA-AES256-SHA:256) (Exim 4.80.1) (envelope-from ) id 1VQah6-0004fJ-RX for gentoo-user@lists.gentoo.org; Mon, 30 Sep 2013 10:27:13 +0000 Message-ID: <52495201.30407@sporkbox.us> Date: Mon, 30 Sep 2013 05:27:13 -0500 From: Daniel Campbell User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130921 Thunderbird/17.0.9 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> <5248B859.4040207@sporkbox.us> <524944E4.8050907@gmail.com> In-Reply-To: <524944E4.8050907@gmail.com> X-Enigmail-Version: 1.5.2 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-OutGoing-Spam-Status: No, score=-2.9 X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - mahal.bihira.com X-AntiAbuse: Original Domain - lists.gentoo.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - sporkbox.us X-Get-Message-Sender-Via: mahal.bihira.com: authenticated_id: lists@sporkbox.us X-Source: X-Source-Args: X-Source-Dir: X-Archives-Salt: af1ec482-2072-412e-86cf-b23b28fc2abd X-Archives-Hash: 65b33002606fcd007ba26d12c9242e36 On 09/30/2013 04:31 AM, Alan McKinnon wrote: > On 30/09/2013 01:31, Daniel Campbell wrote: > > >> Curious; how is merging two filesystems done? I don't have a separate >> /usr and am completely unaffected by this change, but it's somewhat >> interesting to me. /usr stores some pretty important data on it, and I >> imagine you'd need to mount it somewhere else in order to move the >> files from it to /'s /usr dir. Is a Live environment recommended >> instead? How would you mitigate the leftover partition, assuming it's >> not adjacent to /'s partition? > > > Because /usr is continually in use, boot using a livecd of your choice. > In that environment, use fdisk (or whichever *disk you like) to make any > changes to partitions you know you will need. > > Mount your gentoo / somewhere convenient > Mount your gentoo /usr somewhere convenient > > copy the latter over to the former > edit fstab > reboot > > It really is just a case of moving a large number of files around, but > because those very files are always in use you have to do it in livecd > environment. > > There's no exact checklist one can follow to guarantee a 100% result > blindly. Instead, as this is Gentoo, we assume users built their system > knowing what they were doing and can appropriately deal with their > config themselves. RAID and LVM for example may need attention, but the > user is usually equipped to deal with that and knows what t do. > > >> >> I don't run an initramfs, thankfully, but I keep a pretty simple >> system in terms of filesystems: /, /boot, and /home. >> > My suspicions were mostly correct, then. If the merge is that simple, I see no reason not to do it if one doesn't want to roll an initramfs. However, I imagine moving partitions around in gparted or something similar would be quite a wait if / and /usr weren't adjacent on the drive. Thanks for the simple-but-thorough explanation. :)