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 2B96C1381F3 for ; Fri, 16 Aug 2013 15:05:12 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 24978E0DA0; Fri, 16 Aug 2013 15:05:01 +0000 (UTC) Received: from homiemail-a94.g.dreamhost.com (caibbdcaaaaf.dreamhost.com [208.113.200.5]) by pigeon.gentoo.org (Postfix) with ESMTP id 13809E0C57 for ; Fri, 16 Aug 2013 15:04:59 +0000 (UTC) Received: from homiemail-a94.g.dreamhost.com (localhost [127.0.0.1]) by homiemail-a94.g.dreamhost.com (Postfix) with ESMTP id 5421238A06F for ; Fri, 16 Aug 2013 08:04:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=libertytrek.org; h= message-id:date:from:mime-version:to:subject:references :in-reply-to:content-type:content-transfer-encoding; s= libertytrek.org; bh=CcLodb2ufry8Xhu12KyotRPWhsc=; b=Kkg4nZRBuvjJ Ml9nS3nNZh3jJg1J+IIYpMzswIF/IBVF+EaTH3bLoWlfiai7+egadNWJEF+7MkAi ppOruh6w7qDLzTe0idlIhg6UIr8wXOUULGJuhteX82CviKeFIxKOjLy9m6eO+zan 16oip7SWPRn6X5shSoA86cIZQlq3QpY= Received: from [127.0.0.1] (unknown [159.63.145.2]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) (Authenticated sender: tanstaafl@libertytrek.org) by homiemail-a94.g.dreamhost.com (Postfix) with ESMTPSA id 31BBF38A059 for ; Fri, 16 Aug 2013 08:04:59 -0700 (PDT) Message-ID: <520E3F83.7030005@libertytrek.org> Date: Fri, 16 Aug 2013 11:04:35 -0400 From: Tanstaafl User-Agent: Mozilla/5.0 (Windows NT 5.1; rv:17.0) Gecko/20130620 Thunderbird/17.0.7 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: How hard is it to move separate /usr to / partition? - WAS Re: [gentoo-user] Optional /usr merge in Gentoo References: <520A5446.1050001@mail.ru> <520DA782.4050803@sporkbox.us> <520E1C9E.70202@libertytrek.org> <520E38AC.4030500@libertytrek.org> In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: quoted-printable X-Archives-Salt: 3a9295af-3b7e-47a2-9173-b0f50fec2ddd X-Archives-Hash: 8ce44ba93361264c5ff29c46147fdaf9 Thanks for the reply Canek On 2013-08-16 10:48 AM, Canek Pel=C3=A1ez Vald=C3=A9s = wrote: > If you have physical access to the system, I do. > and a large enough /, Well... / is 19GB, with 18GB available. /usr is 20GB, with 13GB used, with 7.9GB available. I guess I'd be ok with going from 18GB available on / to just 5GB=20 available... > it's really easy. You boot from a livecd, mount /usr in another > directory, Not exactly sure how to do this since /user in on lvm... > copy all the files from it to /usr (be sure to preserve > links, permissions, attributes, etc.), So, once I have it mounted cp -rp ... ? > change /etc/fstab, and off you go. Currently: > # NOTE: If your BOOT partition is ReiserFS, add the notail option to op= ts. > /dev/sda1 /boot ext2 noauto,noatime = 1 2 > /dev/sda2 none swap sw = 0 0 > /dev/sda3 / ext3 noatime = 0 1 > /dev/sda4 /backups ext3 noatime = 0 2 > /dev/vg2/home /home reiserfs noatime = 0 0 > /dev/vg2/usr /usr reiserfs noatime = 0 0 > /dev/vg2/var /var reiserfs noatime = 0 0 > /dev/cdroms/cdrom0 /mnt/cdrom iso9660 noauto,ro = 0 0 > /dev/fd0 /mnt/floppy auto noauto = 0 0 > > # NOTE: The next line is critical for boot! > none /proc proc defaults = 0 0 So, just remove the line referencing /usr? > And really, maybe you could try an initramfs? It will be much more > easy than any juggle of filesystems. I always compile my kernels manually, by choice - so, no desire to use=20 genkernel or dracut. How would I then create one? I am *not* a programmer, just a reasonably=20 competent general sys admin. Is there a 'generic' one that I can use? Or is there a separate tool=20 that will create one based on my system profile (or whatever)? Thanks again