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 1R1VEX-0007Jk-JT for garchives@archives.gentoo.org; Thu, 08 Sep 2011 03:24:57 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 640DD21C099; Thu, 8 Sep 2011 03:24:48 +0000 (UTC) Received: from mail-ww0-f53.google.com (mail-ww0-f53.google.com [74.125.82.53]) by pigeon.gentoo.org (Postfix) with ESMTP id 31C8021C076 for ; Thu, 8 Sep 2011 03:23:45 +0000 (UTC) Received: by wwf25 with SMTP id 25so324195wwf.10 for ; Wed, 07 Sep 2011 20:23:45 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; bh=BAVYvs1oWTnXBNxzJKeaPoD4g43jC6Zr+/nClygby80=; b=ieZy/PSyDor759EBas4jHv68llLg3pgXN6jTnnK1qgSSHw0A7zk6rs2pcwe2TfF10n X9S6PwjHo/YFzNiWyPe5jAcz9vmyxfXjXWX4AbUSKPLitxehudxh4pUavJCg2RivoiEd jvecBppfZUCbTNqiVo65E4fhRM4EWsWYAFhzM= 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 Received: by 10.216.185.4 with SMTP id t4mr160546wem.83.1315452225307; Wed, 07 Sep 2011 20:23:45 -0700 (PDT) Received: by 10.216.39.140 with HTTP; Wed, 7 Sep 2011 20:23:45 -0700 (PDT) In-Reply-To: References: <201108191109.34984.michaelkintzios@gmail.com> <20110907050952.GA2588@linux1> <4E66FFFA.2020600@gmail.com> <201109071923.39954.Dan.Johansson@dmj.nu> <20110907235457.691be720@zaphod.digimed.co.uk> Date: Wed, 7 Sep 2011 23:23:45 -0400 Message-ID: Subject: Re: [gentoo-user] /dev/sda* missing at boot From: =?UTF-8?B?Q2FuZWsgUGVsw6FleiBWYWxkw6lz?= To: gentoo-user@lists.gentoo.org Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Archives-Salt: X-Archives-Hash: b1b6cd3c9ed2cf6dc392cd91cb9811c3 On Wed, Sep 7, 2011 at 7:39 PM, Michael Mol wrote: > On Wed, Sep 7, 2011 at 7:04 PM, Canek Pel=C3=A1ez Vald=C3=A9s wrote: >> On Wed, Sep 7, 2011 at 6:54 PM, Neil Bothwick wrote= : >>> On Wed, 7 Sep 2011 13:52:22 -0400, Canek Pel=C3=A1ez Vald=C3=A9s wrote: >>> >>>> After reading that, and other similar threads, I still don't >>>> understand the benefits of a separated /usr. >>> >>> Putting it on a logical volume is one advantage, allowing /usr to be >>> resized should the need arise. >> >> Why not allow / to be resized entirely? You probably will take the >> machine off-line anyway. > > A few months ago, I had to recover a live Debian machine which had > massive filesystem corruption in /usr; the hard drive it was on had > begun going bad, and it was taking out /usr slowly. > > I wound up being able to recover by doing a full reinstall of all > packages on the live system after mounting /usr into a freshly-mkfs'd > new lvm volume. If I'd taken the system offline, it would have been > much more difficult. You can always remount / in another LVM module. Really, what's so especial about /usr? > (As it was, I was shocked it worked) > >> >>>> Mounting it read-only >>>> seems the only sensible one, and then I think is better to go all the >>>> way and mount / read-only. >>> >>> Putting /etc on a read-only filesystem seems a really bad idea. >> >> mount -o remount,rw / >> emerge --sync && emerge -uDNv world >> dispatch-conf >> mount -o remount,ro / >> >> Or, if you only want to modify some configuration file (which in a >> sane environment doesn't happen that often): >> >> mount -o remount,rw / >> adduser fulano ... >> mount -o remount,ro / > > So, no hobbyists? Operating a 'sane' environment at home isn't how > I've taught myself Linux. In a production environment, sure; having > everything possible be read-only is nice, from a security standpoint. Then why you want another partition for /usr? >> >> Again, I don't see the reason for a separated /usr. But *again*, if >> that's what you want, you will be able to do it. You will just need an >> initramfs. > > Yeah, great. Used to be, I could configure needed components to be > built-ins in the kernel. Yeah, first time I installed Linux, it required 512 Mb (if I installed X), and 16 Mb of memmory. Change happens. I welcome it happily, because that's how we progress and get even better stuff. Regards. --=20 Canek Pel=C3=A1ez Vald=C3=A9s Posgrado en Ciencia e Ingenier=C3=ADa de la Computaci=C3=B3n Universidad Nacional Aut=C3=B3noma de M=C3=A9xico