[mythtv-users] new drive

James jam at tigger.ws
Wed Nov 23 05:21:55 UTC 2022

> On 23 Nov 2022, at 11:29 am, Stephen Worthington <stephen_agent at jsw.gen.nz> wrote:
> On Tue, 22 Nov 2022 13:48:25 -0500, you wrote:
>> After more than ten years of mild use my initial storage drive is failing,
>> which prevents the system from auto-starting when it needs repair. The
>> replacement will arrive shortly, the failing drive has the boot record,
>> recordings, banners, db backups, etc., no operating system. Should I clone
>> it? use dd, or gparted? If the UUID is different, then fstab will need
>> modification too. Is there an elegant way to do this? TIA Daryl
> If I want to copy a complete drive (or do image backups), I use
> Clonezilla booted from a Ventoy USB stick:
> Ventoy:
> https://www.ventoy.net <https://www.ventoy.net/>
> Clonezilla:
> https://clonezilla.org <https://clonezilla.org/>
> So just create a Ventoy USB stick, and then download the Clonezilla
> .iso image and put it on the USB stick. If you are using a recent
> version of Ubuntu, it is best to use the "alternative stable" Ubuntu
> based version of Clonezilla. Boot using the USB stick and tell
> Clonezilla to copy the old disk to the new one. I usually also have a
> bootable live Ubuntu image on my Ventoy USB stick, so I can then boot
> to that and use gparted to re-arrange the partitions on the new drive
> (as it is usually much bigger than the old one).
> I normally use partition labels (LABEL= instead of UUID=) in fstab, so
> copying the old drive keeps those labels the same and I do not need to
> change fstab. But if you do need to edit fstab, just boot a live
> Ubuntu from your Ventoy stick and manually mount the new drive, then
> go to fstab and edit it. It is actually possible to use the command
> line option on a Clonezilla boot in the same way, but you may find
> that the tools you want to use (eg your preferred editor program) will
> not be available. So I usually use a live Ubuntu where I can just do
> "apt install" to get any tool I might find missing.

Actually, as part of work, I need to backup and restore disks and after *much trying/testing* I chose clonezilla.
I dont recall offhand but you can change UIDS. OTOH for us common folk dev names not uids make life easier.
There are usecases where UIDs make sense, but in general (ouch) it's unnecessary complexity.
But clonezilla will look after all the gritty stuff, including UIDs]

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mythtv.org/pipermail/mythtv-users/attachments/20221123/ce4e74ab/attachment.htm>

More information about the mythtv-users mailing list