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 343FC158041 for ; Mon, 26 Feb 2024 17:10:33 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id BFF5BE2B0F; Mon, 26 Feb 2024 17:10:26 +0000 (UTC) Received: from omta015.useast.a.cloudfilter.net (omta015.useast.a.cloudfilter.net [34.195.253.206]) (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 6676DE2AEC for ; Mon, 26 Feb 2024 17:10:26 +0000 (UTC) Received: from cxr.smtp.a.cloudfilter.net ([10.0.17.147]) by cmsmtp with ESMTP id eUzErhtxr2zoheeUjrQ8jp; Mon, 26 Feb 2024 17:10:25 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cox.net; s=c20240122; t=1708967425; bh=1xP8lPOopBGTdCQM0Ct2P19dUvulJLh3wtvrJu2Eh4M=; h=Date:Subject:To:References:From:In-Reply-To; b=ZkL8sJvKbDl3mF6ZAGDIZGQOmdmH184HnVD+mxkvOHfLn2sVUKuPcISjVV5StGqdm U/+VHnIWhBIwIY3468LiyZRZfLHl7d7yePU9kDQHaL0MkwIyZ58XrYEXAgN4NvgrBz Ob8ZqV6LYWjOVCGa0QxVTYyUG2K1tN4mTEJpCBzUYHLRXv9QUAWAUKODXmLB467jva GzGWlgQNRibFbQNgUzZl5NnBU+SXNGGICRAkALDjdZdTNzUW2Nc1R+1c4Uj5H4esRJ iew8IW+RpWA+TPZR7NE0jox2ppWheFB7NYulZOU5Q/xCwSMKQadtN3x/qzxAtREQSa WUdfZrtuxFUlg== Received: from [192.168.1.98] ([24.251.74.18]) by cmsmtp with ESMTPSA id eeUcrnkTvnd01eeUjrdm9L; Mon, 26 Feb 2024 17:10:25 +0000 Authentication-Results: ; auth=pass (PLAIN) smtp.auth=eriic1@cox.net X-Authority-Analysis: v=2.4 cv=dph4CEg4 c=1 sm=1 tr=0 ts=65dcc601 a=7veZPREaJsGiKyJNHmVDQw==:117 a=7veZPREaJsGiKyJNHmVDQw==:17 a=IkcTkHD0fZMA:10 a=UApgNeDKAAAA:8 a=RczIH_4oxSnSuLQultYA:9 a=YTglZ7M3vRYXfPyb:21 a=QEXdDO2ut3YA:10 a=1V_mi3lkkEMA:10 a=huYwKWevBmUA:10 a=zZCYzV9kfG8A:10 a=fasyu4nNmrhVRyehPdzp:22 Message-ID: <6d739ab9-b9f5-4646-a832-82b9b847c5ae@cox.net> Date: Mon, 26 Feb 2024 10:10: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] How to set up drive with many Linux distros? Content-Language: en-US To: gentoo-user@lists.gentoo.org References: <980e5d0cacc6e8f17836a4b8b8ab45524e02170a.camel@krasauskas.dev> From: eric In-Reply-To: <980e5d0cacc6e8f17836a4b8b8ab45524e02170a.camel@krasauskas.dev> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-CMAE-Envelope: MS4xfOBMFWX2jfo5pnuOk0MjU0BNsNYf+EkXb2OeG93ULQAQMuq/gIke2Daqjm5MV6C54LeKHkSn5wo/xTTh07uESSqrlmh2NcLJwtqbX/5bNspL1vZawxoi 6QCfi01oRSnjDswryV1grhk8di3VNXDAoddmNubwOYMW3STEqL3cUyH8Ye9ThxvqiCrJulkyFSv1fw== X-Archives-Salt: 9cab4b89-0282-4685-8de3-a86eb25154b0 X-Archives-Hash: 40c565d14368044bb9c9fb5cb0cc0bdb 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. https://forums.linuxmint.com/viewtopic.php?t=315584