On Sat, Sep 28, 2024 at 1:42 AM Peter Boy <p...@boy-digital.de> wrote:
>
> > Am 28.09.2024 um 01:05 schrieb Jeffrey Walton <noloa...@gmail.com>:
> >
> > I have a Fedora Server running F40 on an old Proliant G5 with hardware
> > RAID1. The machine is giving too much trouble so I would like to
> > migrate to newer hardware with a single SSD. Both machines are x86_64.
> >
> > I've been researching methods to perform the migration, but I am not
> > clear on the strategy. Some folks say provide a method and say it
> > works, other folks say it does not work. I think I have hit
> > diminishing returns on reading from the web.
> >
> > I am planning on using Clonezilla to clone the image to a portable
> > drive, and then restore the image from the portable drive to the new
> > machine. I've had success with Clonezilla in the past, but I restored
> > to the same machine.
> >
> > Does anyone have experience with a migration like this? If so, can you
> > provide feedback?
>
> I did that for a couple of machines some times back. It can range from 
> simple, albeit with a tedious number of steps, to extremely complicated and 
> error-prone.
>
> Cloning is probably not an option here. Your old machine is a BIOS system, 
> your newer one should be an UEFI system. And in any case, you should migrate 
> from deprecated MBR partitioning to GPT, if you haven’t already done.

Yeah, this is a problem. Originally I was going to use legacy or mbr,
but I think I am going to avoid it now.

The original plans were more ambitious -- do the mbr restore, and then
convert to gpt. I think that is a dumb idea now based on reading the
replies in this thread.

> The details depend largely on how your current storage is organized. Did you 
> follow the Fedora Server recommendation? If you are using LVM as recommended, 
> it’s quite easy. So it might be helpful it you post a fdisk listing.

I think I am going to try rsync. Boot into single user mode, and then
make a backup with:

  rsync -aAXv --delete \
    --exclude=/dev/* --exclude=/proc/* \
    --exclude=/sys/* --exclude=/tmp/* \
    --exclude=/run/* --exclude=/mnt/* \
    --exclude=/media/* \
    --exclude="swapfile" \
    --exclude="lost+found" \
    / <usb drive>

Then restore on a newly installed F40 server.

Jeff
-- 
_______________________________________________
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue

Reply via email to