Score:0

Migrate Ubuntu 22.04 to new drive

gn flag

While in former times it was easy to copy data from old drive to new drive, nowadays it seems to be more complicate to me. I tried to go for

  • mount new drive under /mnt
  • rsync -av // /mnt/
  • but the result is that amount of data at new drive is significant more than at old drive This seems to be a result of those directories like /snap/ or root-fs being mounted as "/" and "/var/snap/firefox/common/host-hunspel".

Is there a good/easy way to copy system from old to new drive w/o having tons of duplicate data afterwards?

C.S.Cameron avatar
cn flag
`dd if=/dev/sdx of=/dev/sdy` will make an exact clone of drive x on drive y. It is not foolproof and a small error can overwrite the wrong drive. Research the command before using.
I sit in a Tesla and translated this thread with Ai:

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.