From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (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 finch.gentoo.org (Postfix) with ESMTPS id 101CD1584F2 for ; Sat, 15 Mar 2025 09:28:44 +0000 (UTC) Received: from lists.gentoo.org (bobolink.gentoo.org [140.211.166.189]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) (Authenticated sender: relay-lists.gentoo.org@gentoo.org) by smtp.gentoo.org (Postfix) with ESMTPSA id EC0153431E4 for ; Sat, 15 Mar 2025 09:28:43 +0000 (UTC) Received: from bobolink.gentoo.org (localhost [127.0.0.1]) by bobolink.gentoo.org (Postfix) with ESMTP id DC9A6110473; Sat, 15 Mar 2025 09:27:37 +0000 (UTC) Received: from rusty.tulip.relay.mailchannels.net (rusty.tulip.relay.mailchannels.net [23.83.218.252]) (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 bobolink.gentoo.org (Postfix) with ESMTPS id 87EAF1103C7 for ; Sat, 15 Mar 2025 09:27:35 +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 DE56A78201B for ; Sat, 15 Mar 2025 09:18:52 +0000 (UTC) Received: from mailclean11.thundermail.uk (100-111-57-51.trex-nlb.outbound.svc.cluster.local [100.111.57.51]) (Authenticated sender: thundermail) by relay.mailchannels.net (Postfix) with ESMTPA id CB29078200A for ; Sat, 15 Mar 2025 09:18:51 +0000 (UTC) ARC-Seal: i=1; s=arc-2022; d=mailchannels.net; t=1742030332; a=rsa-sha256; cv=none; b=2nH5bD6HHEIFfYCavQ1wSHzPCDdBod2fSfSRyiGjgAsWrPf9d4kO/jJOVIAzeWkDpgE6DN bhXslib4IW6sE1YYKYleTiOjxVUHjKgs/DdqS1zvvdm7b0KZdPnW2kXJwBOcZow7Jv1yjG mR/OjkWr2d2Ejlqg6YUsH37gbiOsQPOInpvBr95iOz6VOtPyG+Wb0F/h3VHreirVHMOLgu g29EpXfeCpDVCPStqLZVOvq2g9GeLcRFcpmgVDEMLi9mMbwNZA4vcI/NF4eJ3q0j95Xa+N zz7utjZAIdh05OzASbjkaXCnqwlZqT9HY0HQvK0ZAHz3t7DzkNY3fYzjzH0Bfg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=mailchannels.net; s=arc-2022; t=1742030332; 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=pXfe4TC/Breh/OAvq2jbe5E9qeUUlM2bQePXAKQikaw=; b=WF+srVM4Ge7oxehbXawVqn36nYmsfCEzLus/0fDcAXLMRbeAHBCgkhmS0e4MsjXHds9KoK 6TEaB5UbUlsngtpvEoMmqYrKd24VnDsyFNH/VGcYG6suqZkiWh63/ewui0wUlLaMtXLCIL InA4ia+ZG5/03ZnM4UtXwfL1tf3K0YczEXTd0x/TgSsE5T8vWfJ0AIt4mtrsl8B7pd2uF+ IkPFPwMxKMS7C2d256eEF3q+8jJbPbhib95mZ5HSV03Xav34zasjWAmuACJ4nmOjIiEXFY 0KQBBE0FF1jedeGxctrKKk+4WQd3OHGa3ayl6kQcTJ2Ygc3HN4rlcKGxb5jhyw== ARC-Authentication-Results: i=1; rspamd-588454d544-hfpzb; 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-Blushing-Exultant: 330f40a7225add4d_1742030332513_2170908261 X-MC-Loop-Signature: 1742030332513:2242321597 X-MC-Ingress-Time: 1742030332513 Received: from mailclean11.thundermail.uk (mailclean11.thundermail.uk [149.255.60.66]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384) by 100.111.57.51 (trex/7.0.2); Sat, 15 Mar 2025 09:18:52 +0000 Received: from cloud238.thundercloud.uk (cloud238.thundercloud.uk [149.255.62.116]) by mailclean11.thundermail.uk (Postfix) with ESMTPS id F07F41E0006 for ; Sat, 15 Mar 2025 09:18:49 +0000 (GMT) Received: from rogueboard.localnet (230.3.169.217.in-addr.arpa [217.169.3.230]) (Authenticated sender: confabulate@kintzios.com) by cloud238.thundercloud.uk (Postfix) with ESMTPSA id 5BFCC10416E for ; Sat, 15 Mar 2025 09:18:49 +0000 (GMT) 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] Grub fails. I missed something. Date: Sat, 15 Mar 2025 09:18:49 +0000 Message-ID: <8503384.T7Z3S40VBb@rogueboard> In-Reply-To: References: 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="nextPart10627812.nUPlyArG6x"; micalg="pgp-sha256"; protocol="application/pgp-signature" X-PPP-Message-ID: <174203032956.2764342.7614946704148738688@cloud238.thundercloud.uk> X-PPP-Vhost: kintzios.com X-Rspamd-Action: no action X-Rspamd-Server: mailclean11 X-Spamd-Result: default: False [-1.51 / 999.00]; SIGNED_PGP(-2.00)[]; MID_RHS_NOT_FQDN(0.50)[]; ONCE_RECEIVED(0.20)[]; MIME_GOOD(-0.20)[multipart/signed,text/plain]; MX_GOOD(-0.01)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; RCVD_TLS_ALL(0.00)[]; DMARC_POLICY_ALLOW(0.00)[kintzios.com,none]; FROM_HAS_DN(0.00)[]; FUZZY_RATELIMITED(0.00)[rspamd.com]; REPLYTO_DOM_NEQ_TO_DOM(0.00)[]; ARC_NA(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; MISSING_XM_UA(0.00)[]; ASN(0.00)[asn:34931, ipnet:149.255.60.0/22, country:GB]; MIME_TRACE(0.00)[0:+,1:+,2:~]; TO_DN_NONE(0.00)[]; REPLYTO_ADDR_EQ_FROM(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; RCVD_COUNT_ONE(0.00)[1]; PREVIOUSLY_DELIVERED(0.00)[gentoo-user@lists.gentoo.org]; R_DKIM_NA(0.00)[]; NEURAL_HAM(-0.00)[-0.656]; RCVD_VIA_SMTP_AUTH(0.00)[]; R_SPF_ALLOW(0.00)[+mx]; HAS_REPLYTO(0.00)[confabulate@kintzios.com] X-Rspamd-Queue-Id: F07F41E0006 X-Archives-Salt: 7ef7d28c-9019-48e7-91f3-75b3e982a41c X-Archives-Hash: 257ddc39334cf1b216affad12829494a --nextPart10627812.nUPlyArG6x 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 Subject: Re: [gentoo-user] Grub fails. I missed something. Date: Sat, 15 Mar 2025 09:18:49 +0000 Message-ID: <8503384.T7Z3S40VBb@rogueboard> In-Reply-To: References: MIME-Version: 1.0 On Saturday, 15 March 2025 07:29:32 Greenwich Mean Time Dale wrote: > Howdy, > > I have a Samsung SSD 500GB drive that I ended up not using in my new > build, went with the m.2 stick thingy. I decided that I would put it in > the NAS box and replace the spinning rust drive. I booted a sysrescue > image. I created and mounted both drives, creating directories as > needed. I then one at a time used cp -av to copy /bin, /boot and so on > skipping /dev, /proc and such that is created on the fly so to speak. I > did create /sys and /proc tho. I even copied the home directory, not > that there is much in there that I need. Once I got it all copied, I > chrooted into the new drive. The Handbook states you should -rbind the /dev of the host before you chroot. Did you do this? > I installed grub on it using grub-install > /dev/sdb, since it is the second drive at this point. Did you check if 'ls -l /dev/disk/by-id' within the chroot was mapping the correct disk to /dev/sdb? I'll assume your NAS is a legacy BIOS not an EFI MoBo and grub-install /dev/ sdb did not throw up any errors. > I went back and > looked at the install docs to be sure I didn't need to run anything > else. Since I already had a config file and all, it should just work. > > When I try to boot with the SSD drive, I get this on the screen, pardon > my having to type it in. This comes up right after the BIOS screen. > > > loading operating system . . . > GRUB > > > That's it. It can't be the BIOS because if I connect the old drive as > first drive, it boots just fine. I've missed a command somewhere. I'm > sure it isn't the OS itself since it is a clone basically. I am almost > certain I missed a grub command somewhere but can't figure out what it > is. Searching for the error got other hits but not what I'm seeing. You did not mention if you ran 'grub-mkconfig -o /boot/grub/grub.cfg' within the chroot. This would read UUID and PARTUID of the new disk and its / partition and add these to your grub.cfg file. Unless you used dd to clone the partitions from the old to the new, the new disk partitions and fs IDs will be different to the old disk. > Has someone seen this before and recall how to fix it? Remember what > command it is that I missed? I think if you follow the Handbook to chroot into your new drive and update your grub.cfg it /should/ work. While you're at it don't forget to edit your fstab, if you are specifying filesystems in it using UUIDs. > I'm not sure this SSD drive is going to make that old NAS mobo go any > faster. LOL It is kinda old. I have found SSDs even when installed on old SATA 2.0 MoBos give a performance boost - but it depends how slow the spinning disk was. Replacing a 10,000RPM disk with an SSD would not provide any celebratory performance difference. PS. Check the MoBo BIOS is set to use AHCI for the SATA port you're connecting this SSD on, or TRIM/discard won't work. --nextPart10627812.nUPlyArG6x Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part. Content-Transfer-Encoding: 7Bit -----BEGIN PGP SIGNATURE----- iQIzBAABCAAdFiEEXqhvaVh2ERicA8Ceseqq9sKVZxkFAmfVRfkACgkQseqq9sKV ZxlUcRAAqHgM8HapR8w1i7E5d4OwBOGrbB9mLhLvMdjhywi+/8uu8nFwe+90tRqh 6CqbXedA7HeXlSFy6CXEaf5zHnuogT4yWoLd65tYFZt82aowCXSHiyJmuYJ807aA o8Fb7tUYbQqEyPsmPx+qPbIVEaoDWE5CTjMAApPIWhVQErzhWQ3X3JTo6MvM3pR8 QT8mvm+rFl1HixxKTNQN9k2yEOQzgfhHlAU2VMB+19RWRcpp2eaHqXwmjEj+hXjg TyDJ5ZkOG3X4o4bJO5Sc4eQ/nVmwX4JA58KitC9bp1kvbSSyb5QbOdDz1K3HvkFm RUVIzSSoMrNRzSQPZUJJL8ExyfFyr6Vv3hRlwcgJTxUC1T3Y6qChoWopDdaK5oJN LkkxXOLZghtHe5jcVW2/nvvzk3h7yXZ3HZObTNTs9YHZ10SZdP8UND21FPCwoz9f Y+Y+DN/Q3zLJdY80bmVHbrf76pkJFUtgMbg/h9gfzv9DXfol60g/PTL0IdgvD//8 gqL9+2BwtnfILzf0NYiuySlQ0myo/gM/znWn31wcypkpCb+ILCWJPxW+3lD1zO0K WrbMMHOMLrun4ldQs4BobWhXqDGC49jJ75WAF2nhdslscjp3Xdad5RR0aC7eTJiR 69BZF0nDBOvpsEatrYDPEyv4SLNbUhAPganoSSxgp7M0DSzK98E= =07Y8 -----END PGP SIGNATURE----- --nextPart10627812.nUPlyArG6x--