Hi All!

So recently I screwed up the Grub bootloader for my Linux server. And after attempting to fix it, I think I made the problem worse. So my best remaining option seems to be reinstalling Linux on a new drive. So I have two questions:

  1. Can I re install Ubuntu then clone my old Ubuntu partition on top of the new one to avoid losing and data? Or re-use my old install any way? I really don’t want to have to reconfigure everything on my new Ubuntu partition, even if I can copy files from the old drive. My important data all lives on a ZFS pool so it would be fine, but even just recreating and reconfiguring all of the user and group permissions will be a huge pain

  2. This whole process has scared me a bit about my drive failing. I have an extra NVME SSD. Is there any way I can add a mirror of my boot os AFTER I have already set up the new one?

Thanks!

  • monty33@lemmy.ml
    link
    fedilink
    English
    arrow-up
    1
    ·
    10 months ago

    I think this is a good time to learn Ansible. Its a great tool for setting up and maintaining servers. With a quality Ansible playbook and backups of certain data and configuration, restoring a server is a breeze.