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.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 682CF15802E for ; Mon, 24 Jun 2024 08:39:09 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 7C6832BC057; Mon, 24 Jun 2024 08:39:02 +0000 (UTC) Received: from eastern.birch.relay.mailchannels.net (eastern.birch.relay.mailchannels.net [23.83.209.55]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 7DBEF2BC019 for ; Mon, 24 Jun 2024 08:39:01 +0000 (UTC) X-Sender-Id: thundermail|x-authsender|confabulate@kintzios.com Received: from relay.mailchannels.net (localhost [127.0.0.1]) by relay.mailchannels.net (Postfix) with ESMTP id 678BC903365 for ; Mon, 24 Jun 2024 08:38:58 +0000 (UTC) ARC-Seal: i=1; s=arc-2022; d=mailchannels.net; t=1719218330; a=rsa-sha256; cv=none; b=TdMZ+tqJHTgKqvxsLYHYeD5iPmUUcAN5UzYC/GJHLYIo6+9wYqQ0JzeYy3Ij9trgBJc8GZ Y8AZ3gP97CdPLEpXBK00dHL46kg9khG44qVdmlXt1nwjL0NBWxOybPhOdWpi3DavytekLo eG2f+tPfiWk0Ay/5J8o02xCxnms0A0T6s2jaEZKtu9sTwoqfx60cgTA7YceseUHo+PxlAK smZPQllaAozIasrkB04gt6gWZALnBirMjsrt+fvmo8zFB9WFlJLpTPrv9AlWSc3mqR+agR yzCzqswqWko764Npvq0ZojeyNcOi+QEuKsCjTwVoFpTDdyd6de8829fgmRnM9Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=mailchannels.net; s=arc-2022; t=1719218330; h=from:from:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type:in-reply-to:in-reply-to: references:references; bh=CRuvU2kpW5ZwjmvxeEJU/C7Ms7g8q58sYdPSr8K0bKI=; b=KENxfF1PzDxMjf5JxbdQh6RnJqAvgtNRBD+rK3sJJXh36lAkgvXT4jwzF46Je7SEe0R3hK B5VrBIndmjG8Mg9Jbfk1ZTzQh4mkY/SRGt8O2IM+UL6DqATxu7buwcYDhUYyCR6GMkL7fa PjwUndw9+jDVAwPRxQJ7NlgS6JMpINgWZh9LmIebkPIaygLgSgSKiWxnws+A9j9EEMjDmD rUz2Y44vnXP8QjmR8wGLNTDtVx1fiG1CFnoV999jeArnEXSiT6vyRgNWmGUCJFVV+jQt7a dYJFL5/WOGMsmaekb1sgw1h70OWdRED2DmKt92nWJN15oyAYQK4IqKil/2BEJA== ARC-Authentication-Results: i=1; rspamd-79677bdb95-lggz5; auth=pass smtp.auth=thundermail smtp.mailfrom=confabulate@kintzios.com X-Sender-Id: thundermail|x-authsender|confabulate@kintzios.com X-MC-Relay: Neutral X-MailChannels-SenderId: thundermail|x-authsender|confabulate@kintzios.com X-MailChannels-Auth-Id: thundermail X-Hysterical-Abortive: 0fce6a3d5fdf2cb0_1719218334704_3562281974 X-MC-Loop-Signature: 1719218334704:3741353145 X-MC-Ingress-Time: 1719218334704 Received: from mailclean11.thundermail.uk (mailclean11.thundermail.uk [149.255.60.66]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384) by 100.96.69.200 (trex/6.9.2); Mon, 24 Jun 2024 08:38:54 +0000 Received: from cloud238.thundercloud.uk (cloud238.thundercloud.uk [149.255.62.116]) by mailclean11.thundermail.uk (Postfix) with ESMTPS id 41C851E000C for ; Mon, 24 Jun 2024 09:38:48 +0100 (BST) Authentication-Results: cloud238.thundercloud.uk; spf=pass (sender IP is 217.169.3.230) smtp.mailfrom=confabulate@kintzios.com smtp.helo=rogueboard.localnet Received-SPF: pass (cloud238.thundercloud.uk: connection is authenticated) From: Michael To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] Can't get the GUI to stay up for more than a minute or so before crashing Date: Mon, 24 Jun 2024 09:38:36 +0100 Message-ID: <22332971.EfDdHjke4D@rogueboard> In-Reply-To: <7d0efea3-8791-5f98-1313-8a59e5f7f7c4@gmail.com> References: <8396760.T7Z3S40VBb@rogueboard> <7d0efea3-8791-5f98-1313-8a59e5f7f7c4@gmail.com> 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="nextPart7680542.EvYhyI6sBW"; micalg="pgp-sha256"; protocol="application/pgp-signature" X-PPP-Message-ID: <171921832702.1120551.10167192434923028756@cloud238.thundercloud.uk> X-PPP-Vhost: kintzios.com X-Rspamd-Server: mailclean11 X-Spamd-Result: default: False [-1.61 / 999.00]; SIGNED_PGP(-2.00)[]; MID_RHS_NOT_FQDN(0.50)[]; MIME_GOOD(-0.20)[multipart/signed,text/plain]; ONCE_RECEIVED(0.10)[]; MX_GOOD(-0.01)[]; R_SPF_ALLOW(0.00)[+mx]; FUZZY_BLOCKED(0.00)[rspamd.com]; RCVD_VIA_SMTP_AUTH(0.00)[]; ASN(0.00)[asn:34931, ipnet:149.255.60.0/22, country:GB]; MISSING_XM_UA(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; MIME_TRACE(0.00)[0:+,1:+,2:~]; RCVD_COUNT_ONE(0.00)[1]; R_DKIM_NA(0.00)[]; RCVD_TLS_ALL(0.00)[]; NEURAL_HAM(-0.00)[-0.996]; REPLYTO_ADDR_EQ_FROM(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; FROM_HAS_DN(0.00)[]; ARC_NA(0.00)[]; DMARC_POLICY_ALLOW(0.00)[kintzios.com,none]; TO_MATCH_ENVRCPT_ALL(0.00)[]; TO_DN_NONE(0.00)[]; PREVIOUSLY_DELIVERED(0.00)[gentoo-user@lists.gentoo.org]; HAS_REPLYTO(0.00)[confabulate@kintzios.com] X-Rspamd-Action: no action X-Rspamd-Queue-Id: 41C851E000C X-Archives-Salt: 16fe1458-23b2-4db2-bba0-9ab39618dcd5 X-Archives-Hash: 8baac4e213320fe968fd51f5a389baab --nextPart7680542.EvYhyI6sBW Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="UTF-8"; protected-headers="v1" From: Michael To: gentoo-user@lists.gentoo.org Reply-To: confabulate@kintzios.com Date: Mon, 24 Jun 2024 09:38:36 +0100 Message-ID: <22332971.EfDdHjke4D@rogueboard> In-Reply-To: <7d0efea3-8791-5f98-1313-8a59e5f7f7c4@gmail.com> MIME-Version: 1.0 On Monday, 24 June 2024 02:55:33 BST Dale wrote: > Michael wrote: > > On Sunday, 23 June 2024 23:37:15 BST Dale wrote: > >> Michael wrote: > >>> On Sunday, 23 June 2024 13:19:18 BST Dale wrote: > >> I kinda like /boot on its own partition. If /boot gets corrupted > >> somehow, I can get the kernel and config again from /usr/src/linux. > >> Building the init thingy again is trivial. So is reinstalling grub. If > >> I were to lose root somehow, I'd have to reinstall but I got the kernel > >> and its config file. It ain't much but it's something. As it is, /boot > >> is on the same partition as root. If root goes bad, all is lost, except > >> for any backup copies I might have. If I redo the install, I'd have a > >> EFI partition and a separate /boot partition as well. The EFI would be > >> like 8MBs or so and the /boot partition would be ext2 and 8GBs or so. > >> Plenty of room for expansion. > > > > I see. I don't think you need to redo the install. All you need to do > > is: > > > > 1. Back up the ESP contents, just in case. > > 2. Shrink the ESP partition, down to a reasonable size. 500M or 1G would > > be more than enough. > > 3. Create a new partition, say ~7G in the space your just freed up, of > > type > > 8300. > > 4. Check if the content of the ESP fs is intact (it should be, but we're > > talking about FAT here) and if not reformat as FAT32 and copy over the > > files from the ESP backup. > > 5. Format the new /boot partition and copy over the files from your > > current / boot tdirectory to the new /boot partition you created. > > 6. Adjust your fstab and reboot. > > > > NOTE: The GPT partition numbering order will be messed up, but this does > > not alter their functionality. If it annoys you, then use gdisk to > > re-order them. > Oh, I'd mess that up quick. o_O Unlikely. :-) Press s to ... sort. Check 'man gdisk' for the 3 menus of gdisk and their commands. Anyway, the numbering of partitions as stored in the GPT tables is of less importance if you use UUIDs in your fstab. > >> I'm going to compare some data between the Gentoo live DVD and my > >> install. If I don't see something obvious, I'm going to fix my > >> partition boo boo with a fresh start. While at it. What is the best > >> way to wipe the partition data from a m.2 stick? They not spinning rust > >> so don't want to try to dd or use shred on the whole thing. Doesn't > >> gdisk have a wipe partition option? Curious what you think is the best > >> way to do that. Don't want to shorten the life of my m.2 stick. > > > > In this case do not reinstall. Most of it, if not all, would be > > unnecessarily deleting and rewriting the same data. > > > > gdisk can destroy all the GPT data structures on a disk. Press x, then z. > > However, I suggest you don't this. Use Gparted to shrink your ESP and add > > a new partition for /boot as I explained above. The focus on sorting out > > your graphic card. [snip ...] > Now to ponder what comes next. > > Dale > > :-) :-) Well, before you consider what comes next, you should consider what comes first. If you must reinstall, then you may want to erase securely all data on the NVMe disk instead of just deleting the GPT tables. You can use nvme-cli for secure deletion of your data; e.g. for /dev/nvme0n1: nvme format /dev/nvme0 --namespace-id=1 --ses=1 --pi=1 Wait until it completes and do not interrupt it. (man nvme-format for more information). --nextPart7680542.EvYhyI6sBW Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part. Content-Transfer-Encoding: 7Bit -----BEGIN PGP SIGNATURE----- iQIzBAABCAAdFiEEXqhvaVh2ERicA8Ceseqq9sKVZxkFAmZ5MIwACgkQseqq9sKV Zxmt1BAAsZXq3D2t25NXjhtSAUJtWeHD4EGJO0rXdUx8oulZk4jpd+D/yvAjLP3v 1yoTInHeLfEMCvorGKlje4If3b5RcESPwHzOkguwRAtvlnFOiS0BF5xvEQLtybbT lvsCXS+h90RyoLLTpUaSA6Y/hDjpyT/Lp0Jyk+vteU3fjOe43sBu02U1w4PzSLsN AWP/k3bdhbRCVATWZzefYg2h+mRday/BNosP3nd9RrAx1DuIaVmRnDRtJgD2750x +ERTUT8WBQtHE1mxn9e4kyQYri2sNXdPoWGxoon4+TDpd2hqe1E3WkpPUtTigjAr 3gia7oDI/c+mYmN0/mpfslWIKgBr9B5DjAsc43zcEBw0e070VhrKI6WZYncejFa/ XwLAeIAX4Q/0BqkYyhsKp1nihTRssj1pYCwo7UaidnEy9kebQtlu6fuX4ekzakz2 UjbqyuL7inzUf8WQbo4sYwRxMdVKOdVOmucy7fqaYtV8yyCWbf/2Q6+Llz1NpStB 2ZTEvCuRnJkYUVacA9rvOreVZi8yX+3a/UPGk5dXx3uenWLi5k+36YRnxHEYk9tf H5X90RUkF1KuIlqM5pQaUNO6EXWlTY0K9+D08KHkpnGBHSAXRhxcENUqi6L3HtZo UUrN9uzfQVX42BsRzWgzKnHGuxKlhhXkk2tRX5yF4E6xzbYUVB0= =Yczo -----END PGP SIGNATURE----- --nextPart7680542.EvYhyI6sBW--