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 39AF1158041 for ; Mon, 26 Feb 2024 18:12:26 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 71BD9E29B4; Mon, 26 Feb 2024 18:12:20 +0000 (UTC) Received: from omta014.useast.a.cloudfilter.net (omta014.useast.a.cloudfilter.net [34.195.253.205]) (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 0BBA8E29AC for ; Mon, 26 Feb 2024 18:12:20 +0000 (UTC) Received: from cxr.smtp.a.cloudfilter.net ([10.0.17.210]) by cmsmtp with ESMTP id eXgHrCkI0kvQqefSdrRQ45; Mon, 26 Feb 2024 18:12:19 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cox.net; s=c20240122; t=1708971139; bh=DFYSv+aaruFG+lC6guYS9tl503P+Own/y5gAxVRNdYQ=; h=Date:Subject:To:References:From:In-Reply-To; b=BCKQ8XcEhtQ3iw5S+jao2iPVSODiX72wBJV7A9oayRXo/TkBSFLX1ABr9hVqDkj5d c5PK5Dg/SwsBgaqam9WaESm5y7/tLeM0RhdkR+S7mN0VJWMBBvLEQ505zpXZE6L0zo QOwsFtgBbptsgiOg/zcg4eAlc/eUYKejU1kdLUABmM+AnngyfBg/qzTOE3idmgSgr8 ApIKfuNuJP+QRbZn9BGWAaO8+M+8YtdLYrJwTi2ng4fYVSxEpzMeN8YXuTdoCQA1UA Fgc1HHKiGVvffs6v32JxviJvms/sNL1P3jWwX67tiJwsJgujClBLrBV/mv8aPVFQCk X8bATU06h9aeg== Received: from [192.168.1.98] ([24.251.74.18]) by cmsmtp with ESMTPSA id efScrmzVTlIGHefScrzbv0; Mon, 26 Feb 2024 18:12:19 +0000 Authentication-Results: ; auth=pass (PLAIN) smtp.auth=eriic1@cox.net X-Authority-Analysis: v=2.4 cv=a/OT9lSF c=1 sm=1 tr=0 ts=65dcd483 a=7veZPREaJsGiKyJNHmVDQw==:117 a=7veZPREaJsGiKyJNHmVDQw==:17 a=IkcTkHD0fZMA:10 a=kviXuzpPAAAA:8 a=PPFOoeYCC7C4gSBgOV0A:9 a=QEXdDO2ut3YA:10 Message-ID: Date: Mon, 26 Feb 2024 11:12:18 -0700 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 User-Agent: Mozilla Thunderbird Subject: Re: [gentoo-user] Re: How to set up drive with many Linux distros? Content-Language: en-US To: gentoo-user@lists.gentoo.org References: <980e5d0cacc6e8f17836a4b8b8ab45524e02170a.camel@krasauskas.dev> <6d739ab9-b9f5-4646-a832-82b9b847c5ae@cox.net> From: eric In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-CMAE-Envelope: MS4xfGvwq9Yks3Fv7PHCAKc+R/rgt0Rps3i0LQN3/vTgkBSsFs5uhilFSa3HNMWmn6uh6l6Ense1ppNj/S/K7GHNnmVwrb0hVZxvDje8fX4tZr8LqP1Fp7/n zIWaT4BO+AkgZPK3Ml7t69T0NRHwtLk23wdUxaclF7GvTZR2ZrLju3/pTu/3tMkjfYBNFkjvuj1S2w== X-Archives-Salt: 37e30f74-e000-4a3a-9818-556d65dc949e X-Archives-Hash: 9923f1eec8b6492c617641fa7700315f On 2/26/24 11:01, Grant Edwards wrote: > On 2024-02-26, eric wrote: >> On 2/26/24 04:57, gentoo-user@krasauskas.dev wrote: >>> You could also write a script that keeps all the distros up to date >>> from within whichever one you're currently booted by mounting >>> subvolumes to /mnt or wherever, chrooting in and running the update. >> >> To avoid grub not being able to point to a newly updated kernel on one >> of the OS's installed, I use a "custom.cfg" file in all my /boot/grub/ >> directories for each OS where the "linix" and "initrd" point to the >> symbolic links of the kernel and init files which point to the newly >> updated files on most major distributions like ubuntu, arch, suse, and >> debian. The name of the symbolic links stay the same over upgrades. It >> works great when using UUID to identify the partition that has root and >> I can always boot into any of the OS's installed no matter which one >> hijacked the MBR. > > Except I generally have multiple kernels installed for each of the > distros, and need to be able to choose which kernel to boot. There are > also various other boot options (e.g. "safe mode") offered by some > distros that I occasionally need to use. > I agree, using the custom.cfg file would not work if needing to boot different kernels of the same OS and those kernels were being updated. Regards, Eric