Path: csiph.com!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail From: "Carlos E.R." Newsgroups: comp.os.linux.advocacy,alt.comp.os.windows-10 Subject: Re: Cult of Unix Date: Fri, 17 Jan 2025 02:00:51 +0100 Lines: 34 Message-ID: <3nmo5lx75d.ln2@Telcontar.valinor> References: Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Trace: individual.net mgvbU6wIe/UcapfznXL4JwOCbV9iPFvIo582iHkkOBnRws2Of+ X-Orig-Path: Telcontar.valinor!not-for-mail Cancel-Lock: sha1:O3YxF1c7bufFRxQo+q7NFfgwJ6M= sha256:/SzSbnGP8tXelC1b36bFN3f4g5x3Ydxff7U4svlEASE= User-Agent: Mozilla Thunderbird Content-Language: es-ES, en-CA In-Reply-To: Xref: csiph.com comp.os.linux.advocacy:684178 alt.comp.os.windows-10:181465 On 2025-01-17 01:08, Lawrence D'Oliveiro wrote: > On Thu, 16 Jan 2025 22:48:10 +0100, Carlos E.R. wrote: > >> On 2025-01-16 22:37, Lawrence D'Oliveiro wrote: >> >>> File-copying software like rsync is quite sufficient for doing >>> “bare-metal restores” on Linux. >> >> Not for restoring grub. > > After the bulk file copy (with rsync or other tool), you need to fix up > two things: > > 1) /etc/fstab with the new volume UUIDs No. I want the old UUIDs and labels. > 2) reinstall grub I don't want to. And you forget rebuilding initrd, which holds a copy of fstab. And you forget that there are encrypted partitions. > > That’s it. I have successfully migrated bootable systems many times using > this procedure. I know. Me too. -- Cheers, Carlos.