P
P
Peter2020-01-09 21:34:47
linux
Peter, 2020-01-09 21:34:47

Transferring a Linux distribution to an identical computer. How to do it right?

Good evening. There are two computers available, which are completely identical in configuration. One of them has Rosa Linux installed with the required software package.
How to quickly and easily transfer the OS to a second computer?

Answer the question

In order to leave comments, you need to log in

4 answer(s)
R
Ronald McDonald, 2020-01-09
@Morpheus_God

Clone the disk through Clonezilla, the drivers will pull themselves up.

K
Karpion, 2020-01-10
@Karpion

There are many ways.
For example, we are loaded in single-user mode. And we copy the system - either per file, or the entire disk. The second option is good if the disks are the same - then you can copy the entire disk directly, the partitioning will also be copied. And per-file - you need to create and format partitions; and here we must be careful not to confuse the disks; but here on the target disk there will be defragmentation.

A
Altima Altima, 2020-01-12
@Amitla

Backup to archive: tar cvpjf backup.tar.bz2 --exclude=/proc --exclude=/lost+found --exclude=/backup.tar.bz2 --exclude=/mnt --exclude=/sys /
Unzip: tar xvpjf backup.tar.bz2 -C /
Then:
mkdir proc
mkdir lost+found
mkdir mnt
mkdir sys
Install bootloader and edit /etc/fstab to keep partition uuids up to date.
If you haven't forgotten anything, it will work. Moved the system three times.

V
Valentine, 2020-01-16
@ProFfeSsoRr

In general, transferring Linux is to copy files and register the bootloader on a new disk (well, or create an entry in UEFI with the path to the bootloader, if it is a more or less modern computer. Or even put the bootloader on the default path and then it all comes down to copying files ).
Copy over the network - rsync or tar to a pipe, or connect a disk from the first computer to the second, and there is really anything ... It's convenient here. Well, about the bootloader already depends on the computer.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question