Liste des Groupes | Revenir à cs raspberry-pi |
On Thu, 1 Aug 2024 17:47:32 +0200+1
Jesper <Vitsky.kasperski@gmail.com> wrote:
On 01.08.2024 13:55, The Natural Philosopher wrote:That command is wrong (or for an odd version of dd - but I thinkOn 01/08/2024 12:31, Jesper wrote:>boot.Then the system to copy is on the 2 last lines. Correct?No.
>
>
In order to preserve the partition information *you must dd the raw
disk*
>
dd id=/dev/sda od = /dev/nvme0n1 (or whatever)
>
That will create a two partition disk with the UUIDS of the partitions
the same as is mentioned in the boot data: If they don't match it wont
>
Are you saying that this command (the one right above) will clone the
whole disc, and the job is done? Probably not. When I run "dd --help" on
the system i want to clone, there is no information about the switch
"id" you use in the command.
it's a finger slip) make that:
dd if=/dev/sda of=/dev/nvme0n1 bs=1m
The add bs=1m will probably work wonders for performance.
Les messages affichés proviennent d'usenet.