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 1R1Ryb-0007rJ-Gm for garchives@archives.gentoo.org; Wed, 07 Sep 2011 23:56:17 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id A719221C1C4; Wed, 7 Sep 2011 23:56:08 +0000 (UTC) Received: from mail.digimed.co.uk (82-69-83-178.dsl.in-addr.zen.co.uk [82.69.83.178]) by pigeon.gentoo.org (Postfix) with ESMTP id 69DD421C0B8 for ; Wed, 7 Sep 2011 23:55:05 +0000 (UTC) Received: from zaphod.digimed.co.uk (zaphod.digimed.co.uk [192.168.1.1]) by mail.digimed.co.uk (Postfix) with ESMTPSA id C7389804FD for ; Thu, 8 Sep 2011 00:55:04 +0100 (BST) Date: Thu, 8 Sep 2011 00:55:00 +0100 From: Neil Bothwick To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] /dev/sda* missing at boot Message-ID: <20110908005500.58ef10fa@zaphod.digimed.co.uk> 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> Organization: Digital Media Production X-Mailer: Claws Mail 3.7.10cvs16 (GTK+ 2.24.5; x86_64-pc-linux-gnu) X-GPG-Fingerprint: 7260 0F33 97EC 2F1E 7667 FE37 BA6E 1A97 4375 1903 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 Content-Type: multipart/signed; micalg=PGP-SHA1; boundary="Sig_/lecHm_wVlR2ltb/b6Jrh3A9"; protocol="application/pgp-signature" X-Archives-Salt: X-Archives-Hash: b2617edb4559e4b476dbac2e3ea636e9 --Sig_/lecHm_wVlR2ltb/b6Jrh3A9 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable On Wed, 7 Sep 2011 19:04:17 -0400, Canek Pel=E1ez Vald=E9s wrote: > > Putting it on a logical volume is one advantage, allowing /usr to be > > resized should the need arise. =20 >=20 > Why not allow / to be resized entirely? You probably will take the > machine off-line anyway. Because you can't boot from an LV, so you'd than need a separate /boot and an initramfs. Without LVM, you are unlikely to be able to resize / or /usr as it is not usually the last partition on the drive. > >> Mounting it read-only > >> seems the only sensible one, and then I think is better to go all the > >> way and mount / read-only. =20 > > > > Putting /etc on a read-only filesystem seems a really bad idea. =20 >=20 > mount -o remount,rw / > emerge --sync && emerge -uDNv world > dispatch-conf > mount -o remount,ro / >=20 > Or, if you only want to modify some configuration file (which in a > sane environment doesn't happen that often): >=20 > mount -o remount,rw / > adduser fulano ... > mount -o remount,ro / This is longer than the init script needed in an initramfs. I wonder what problems you'd have when booting as the kernel tries to update the likes of /etc/mtab on a read-only fs. > Again, I don't see the reason for a separated /usr. That doesn't mean there aren't several valid reasons to do so. > But *again*, if > that's what you want, you will be able to do it. You will just need an > initramfs. I neither have nor need one at the moment, which means this update will break my system. --=20 Neil Bothwick Last words of a Windows user: =3D Where do I have to click now? - There? --Sig_/lecHm_wVlR2ltb/b6Jrh3A9 Content-Type: application/pgp-signature; name=signature.asc Content-Disposition: attachment; filename=signature.asc -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.18 (GNU/Linux) iEYEARECAAYFAk5oBFgACgkQum4al0N1GQN+dQCglYclQX3wZ31J67LjeFUXz68I cZsAoKGPzbWhtNVaUK6Q/itZaGitd4Yr =uTW3 -----END PGP SIGNATURE----- --Sig_/lecHm_wVlR2ltb/b6Jrh3A9--