this post was submitted on 21 Oct 2024
38 points (97.5% liked)

techsupport

2468 readers
13 users here now

The Lemmy community will help you with your tech problems and questions about anything here. Do not be shy, we will try to help you.

If something works or if you find a solution to your problem let us know it will be greatly apreciated.

Rules: instance rules + stay on topic

Partnered communities:

You Should Know

Reddit

Software gore

Recommendations

founded 1 year ago
MODERATORS
 

As well as all my important stuff in /home, can I transfer over the operating system as well as everything in the root partition? What about the Windows Partition? Thanks in advance.

you are viewing a single comment's thread
view the rest of the comments
[–] bjoern_tantau@swg-empire.de 10 points 3 weeks ago (2 children)

You can use dd to transfer literally everything, like partitions, boot sector and filesystems over and then use gparted to grow the partitions. Boot any Linux live image to do it.

[–] boredsquirrel@slrpnk.net 5 points 3 weeks ago (1 children)

No, this will not fixup the GPT partition table, so partclone, integrated in clonezilla, is way easier.

Otherwise yes, dd and gdisk work really well. But you can easily mess up and Clonezilla just works

[–] Interstellar_1@lemmy.blahaj.zone 1 points 3 weeks ago (2 children)

Nice. I assume I'll need to transfer to an external drive first, and then transfer back to the new one?

[–] bjoern_tantau@swg-empire.de 4 points 3 weeks ago

Depends. If you have enough slots you can do it in one go. Otherwise you'll have to use an external drive.

[–] some_guy@lemmy.sdf.org 2 points 3 weeks ago (1 children)

You can buy an external drive case cheap and plug in the old one with USB-C. I have multiple from Inateck which cost ten bucks on Amazon.

[–] Interstellar_1@lemmy.blahaj.zone 1 points 3 weeks ago (2 children)

It's an internal drive though.

[–] some_guy@lemmy.sdf.org 2 points 3 weeks ago

If it's a 2.5" drive, get a drive case and make it external. If it's an m.2 chip, you can still get cases for those. I don't know how much they cost, but they exist. If it's soldered to the logic board, you're out of luck.

[–] bjoern_tantau@swg-empire.de 2 points 3 weeks ago

These are cases specifically to house internal drives.

Actually most cases are. Chances are good that even if you just buy any external drive that if you were to screw it open that it would have just a normal internal drive in there hooked up to an adapter.