From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 351761382C5 for ; Fri, 18 Jun 2021 11:58:36 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 19233E0849; Fri, 18 Jun 2021 11:58:30 +0000 (UTC) Received: from mail.tzend.de (mail.tzend.de [IPv6:2a03:4000:27:4d1::2]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 271A9E0833 for ; Fri, 18 Jun 2021 11:58:28 +0000 (UTC) Received: by mail.tzend.de (Postfix, from userid 112) id 7907F9A04EB; Fri, 18 Jun 2021 13:58:27 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tastytea.de; s=mail; t=1624017507; bh=Dx5+SEiW9a6xPk1egxfKo04ytl4Wat55zCyXxRRUAaU=; h=Date:From:To:Subject:In-Reply-To:References; b=Yg4sg+kOsL1slXTd+Mjc2yvwJv9bcOIkrO2xbAptOvfkyOhM9X8cI891z46enfg4a qzQS3tn9D/cR7gQ1X8k9pxT8BeTuzNH/1A3LH1L+13NsqzRIAKz8wREbj7exXVq9ic TTAvDHZgkwV2WPiW0MP70xC/RVpyQSSJY/KARJZk= X-Spam-Checker-Version: SpamAssassin 3.4.5 (2021-03-20) on pla.tzend.de X-Spam-Level: X-Spam-Status: No, score=-1.1 required=5.0 tests=ALL_TRUSTED,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU autolearn=ham autolearn_force=no version=3.4.5 Received: from ventiloplattform.tastytea.de (p200300c0872fd200b8fa0af51c00cc6e.dip0.t-ipconnect.de [IPv6:2003:c0:872f:d200:b8fa:af5:1c00:cc6e]) by mail.tzend.de (Postfix) with ESMTPSA id 6AD469A04B6 for ; Fri, 18 Jun 2021 13:58:26 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tastytea.de; s=mail; t=1624017506; bh=Dx5+SEiW9a6xPk1egxfKo04ytl4Wat55zCyXxRRUAaU=; h=Date:From:To:Subject:In-Reply-To:References; b=jC0/ANR7ND2aEGgwW55V6DnlbOyZ2E1V6xO0ibPAUZstaJt3uG8cdvidhT48c016F /B6v0EUlP5l8La7t9fqdtURtin5uCJ6bYz6f9z0VwUz6NSIUDzTg7/9erZFBuLtiSm W2Ib8zeipSG+WT8zIH9fmrxbDd3Yg1okBu1CB4fI= Date: Fri, 18 Jun 2021 13:57:43 +0200 From: tastytea To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] New install - root is mounted read-only Message-ID: <20210618135743.2096fb42@ventiloplattform.tastytea.de> In-Reply-To: <60CC6D94.9050603@youngman.org.uk> References: <60CC6D94.9050603@youngman.org.uk> Jabber-ID: tastytea@tastytea.de 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 X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply MIME-Version: 1.0 Content-Type: multipart/signed; boundary="Sig_/X_.L9O9gFPwyH7kuMI1m9QH"; protocol="application/pgp-signature"; micalg=pgp-sha512 X-Archives-Salt: e8a49dbc-dbd1-47f1-ae14-8f8172957379 X-Archives-Hash: 5907acc2117cd3c3428be360a05a0906 --Sig_/X_.L9O9gFPwyH7kuMI1m9QH Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On 2021-06-18 10:55+0100 Wols Lists wrote: > I've started tackling my new build again, and when it boots root is > read-only. Hopefully I've just missed something stupid, but how to I > get it to transition read-write? >=20 > System is grub, systemd, and root is an lv ... >=20 > Do I need to do anything special with the initrd? Manually remounting > fixes it fine as far as I can tell. Do you use a custom initrd? The kernel usually mounts / ro at first and the initrd remounts it with `mount -o remount,rw /` later. You can also mount / rw from the beginning by specifying =E2=80=9Crw=E2=80= =9D instead of =E2=80=9Cro=E2=80=9D on the kernel commandline=C2=B9. The current kernel co= mmandline is visible in /proc/cmdline. Kind regards, tastytea =C2=B9 --=20 Get my PGP key with `gpg --locate-keys tastytea@tastytea.de` or at . --Sig_/X_.L9O9gFPwyH7kuMI1m9QH Content-Type: application/pgp-signature Content-Description: Digitale Signatur von OpenPGP -----BEGIN PGP SIGNATURE----- iHUEAREKAB0WIQQ1VSZoZMptf/RapufPw5SX8bJuBwUCYMyKNwAKCRDPw5SX8bJu B7vzAP91dkY0TgKPDbhbOxi2c6r1KQU1pWOXO0viiV18eeCLMAD/e9/cCWCmr76Y TB98/AI1u1hY3H4y3CYh4RuMf8qSpqY= =fQP8 -----END PGP SIGNATURE----- --Sig_/X_.L9O9gFPwyH7kuMI1m9QH--