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 685B71381F3 for ; Mon, 30 Sep 2013 10:33:20 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 18D6BE0C7A; Mon, 30 Sep 2013 10:33:08 +0000 (UTC) Received: from mail-wi0-f174.google.com (mail-wi0-f174.google.com [209.85.212.174]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id F3A49E0B82 for ; Mon, 30 Sep 2013 10:33:06 +0000 (UTC) Received: by mail-wi0-f174.google.com with SMTP id hj3so3572805wib.1 for ; Mon, 30 Sep 2013 03:33:05 -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=+3d3prQJPEpasQox4cMAZRrhNJ8a3P/y1V1VIGlrRV8=; b=lTHmuYfTVvTE9lmE2rkvtyfUzbjOYeinKbIVbZRCnhTA2f4R1NmNrWk6cyjKtsoumf w4gGmC0FrDGouzvaHVC0k8kQSVDiHwKU7awEYcNtHRxrjH/sdpix3WAaGAeBKGwdZboA 2WfoWpetQfTLYrAqF1KkhjkzDigZ5foB1uW793Lc60iLfJyNnZrAk7VHDEFJPWA0CgXK 0QN+EMTor/1ZfK2s7t9MuKGPV8UrUyrsgRiU0DswTEZY1w7XOsx+zHX3YUgq6+z+A4DQ EHkZkYEqg8a0GnoMZo9kcYltIQRyTXVPlfRy7UyDpR11Tg0JhN4OAbnyJcLiUwd2rEOx 7iMw== X-Received: by 10.180.73.113 with SMTP id k17mr13147074wiv.6.1380537185622; Mon, 30 Sep 2013 03:33:05 -0700 (PDT) Received: from [10.1.20.197] (dustpuppy.is.co.za. [196.14.169.11]) by mx.google.com with ESMTPSA id l9sm24540937wif.10.1969.12.31.16.00.00 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 30 Sep 2013 03:33:05 -0700 (PDT) Message-ID: <52495252.6080907@gmail.com> Date: Mon, 30 Sep 2013 12:28:34 +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> <5248B859.4040207@sporkbox.us> <524944E4.8050907@gmail.com> <52495201.30407@sporkbox.us> In-Reply-To: <52495201.30407@sporkbox.us> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Archives-Salt: 8e534a71-f35b-44f2-a5cc-7112f80aab0b X-Archives-Hash: 0c969f04c417b87f1c3d7f182e64d0d1 On 30/09/2013 12:27, Daniel Campbell wrote: > 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. Indeed, this is the part where it can get hairy, and it all totally depends on how the user decided to lay out their partitions. Eyeballs and brains form the solution here, not computers and scripts :-) > > Thanks for the simple-but-thorough explanation. :) > -- Alan McKinnon alan.mckinnon@gmail.com