[mythtv-users] controlling disk space on "/" on mythtv backend

Jerry mythtv at hambone.e4ward.com
Thu Jan 11 16:48:16 UTC 2018


On Thu, Jan 11, 2018 at 11:28 AM, Jim Abernathy <jfabernathy at outlook.com>
wrote:


> I think i have moved most of my /var/lib/mythtv directory usage to other
> drives via the Storage Directories setup in mythtv-setup.  But I was
> thinking about for short term fixes if I could just use Clonezilla to copy
> everything on my 16GB boot Flash drive to a 64GB flash drive.  Would it
> really be that easy??
>
>
It should be.  You have to be careful to expand the file system to the size
of your hard drive with Clonezilla.  There is definitely an option for that
but you can miss it.  That's the simplest choice.  Clonezilla will fix the
bootloader install for you.

You could use this script here:
http://www.linuxjournal.com/magazine/hack-and-migrate-new-hard-drive

I have used that script many, many times to migrate hard drives.  At the
end you'll have to reinstall GRUB or your bootloader of choice.  That's the
only tricky bit but it's not that hard.  You have to chroot into the new
drive and run one command.  Otherwise, the drive will not boot.

You will also have to fix the UUIDs most likely in /etc/fstab.  Cut and
paste is your friend here.

Chroot details here: http://bremford.org/tips/MigrateDiskInUbuntu.html and
also another migration recipe (but I use the first link).

Doing it the harder way pays off in the end.  You learn by doing.

No matter what, BE CAREFUL to not mix up the drives using Clonezilla or a
recipe.  Using the recipe, I mount the drives as /mnt/source and
/mnt/target to be safer and more clear.  And I do an 'ls' to check
beforehand that I haven't mixed them up.  It can happen.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mythtv.org/pipermail/mythtv-users/attachments/20180111/de3329ba/attachment.html>


More information about the mythtv-users mailing list