From Newsgroup: alt.os.linux.debian
evanmac <
ciccio@formaggio.org> wrote:
I have a macmini 2011 (i5 3,3 GHz) running a Debian 12 (headless), to run a nextcloud instance (which require mginx, mariadb, PHP-FPM), DNS server and other services
Today I bought the pieces to mount a linuxbox, but: what is the safest (hoping
fastest) way to transfer the system from a machine to another?
I'm not sure what a "linuxbox" is, but assuming it's the same CPU
architecture then transferring the system over just means copying
the root file system to a same-format partition on the the new
computer's drive. The only issue might be the bootloader. If you
use legacy BIOS booting on the new computer you need to run the
bootloader installer (grub-install for Grub2) on the new drive (eg.
while booted to a Linux live CD/DVD or with the new drive removed
and connected to the old computer). If you're using UEFI you'll
also need a FAT-formatted EFI partition on the new drive, and
either copy the files over from the old EFI partition or again use
an installer for your bootloader of choice (probably Grub2).
I don't use Grub2, so the grub-install(8) man page will be more
help than me for answering questions about the specifics of that.
https://manpages.debian.org/bookworm/grub2-common/grub-install.8.en.html
--
__ __
#_ < |\| |< _#
--- Synchronet 3.21d-Linux NewsLink 1.2