• Home
  • Releases
  • Submit Vuln
  • Press
  • About
  • PGP
  • Contact
    • Contact
    • Submit Vuln
    • VDP
  • Tutorials
    • All Posts
    • Photoshop on Linux
    • macOS on Linux
  • Supporters
  • Projects
  • Training
Sick Codes - Security Research, Hardware & Software Hacking, Consulting, Linux, IoT, Cloud, Embedded, Arch, Tweaks & Tips!
  • Home
  • Releases
  • Submit Vuln
  • Press
  • About
  • PGP
  • Contact
    • Contact
    • Submit Vuln
    • VDP
  • Tutorials
    • All Posts
    • Photoshop on Linux
    • macOS on Linux
  • Supporters
  • Projects
  • Training
No Result
View All Result
Sick Codes - Security Research, Hardware & Software Hacking, Consulting, Linux, IoT, Cloud, Embedded, Arch, Tweaks & Tips!
  • Home
  • Releases
  • Submit Vuln
  • Press
  • About
  • PGP
  • Contact
    • Contact
    • Submit Vuln
    • VDP
  • Tutorials
    • All Posts
    • Photoshop on Linux
    • macOS on Linux
  • Supporters
  • Projects
  • Training
No Result
View All Result
Sick Codes - Security Research, Hardware & Software Hacking, Consulting, Linux, IoT, Cloud, Embedded, Arch, Tweaks & Tips!
No Result
View All Result
Home Tutorials

How to Move Linux OS from old NVMe to new NVMe drive.

by Sick Codes
June 10, 2020 - Updated on June 24, 2020
in Tutorials
0
move ssd from old to new

move ssd from old to new

How to move Arch, Ubuntu, Debian, Fedora from one m.2 drive to another m.2 drive

right click copy paste nvme drive
right click copy paste nvme drive

There are three (or more) ways this:

Move SSD when you have 1x m.2 ssd slot

If you have 1 m.2 slot, then you need to boot off a live gparted disk, create a partition image of the one you want  onto a third disk or partition. Then turn off, swap nvme drives, reboot into the gparted live iso and paste the image onto the new disk.

If you have 2x m.2 slots, then you can boot off live gparted, and copy and paste the partition from one drive to the other.

Copy pasting the partition is literally doing this:

cat /dev/aaap1 > /dev/bbbp1

Note! m.2 to m.2 will take a few minutes, but m.2 to USB will take upwards of 3 hours.

  • Create GPT/MBR partition table on the new disk and then copy files from live disk while booted using sudo rsync to an enclosed m.2 SSD
  • FAST/SAFE: gparted live disk, copy paste from disk1 to disk2 directly in the gparted menu.
  • SLOW/SAFE: gparted live disk, copy paste from disk1 to disk3. Reboot with new nvme drive. Past disk3 to disk2

Download gparted live usb: https://gparted.org/download.php

Using Etcher for Linux x64 (64-bit) (AppImage), burn the gparted live ISO to a USB stick.

Boot into gparted and right click, copy the partition you want to duplicate.

Go to the new drive and paste it there. you can only paste directly if you have another m.2 slot.

If you only have 1, paste onto a 3rd disk, and then reboot & swap disks, and paste across.

 

move ssd from old to new
move ssd from old to new
Next Post
Arch Linux Rasbperry Pi

How to Install Arch Linux ARM on Raspberry Pi 4 (and 3b+) (and also install XFCE!)

Python: Pandas.to_sql INSERT IGNORE the correct way (sqlalchemy)

Raspberry Pi 4 Touch Screen Drivers

Raspberry Pi 4 Touch Display Drivers ALL Size 2.4, 2.8, 3.2, 3.5, 5, 7 inch displays & drivers.

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

No Result
View All Result
  • Home
  • Releases
  • Submit Vuln
  • Press
  • About
  • PGP
  • Contact
    • Contact
    • Submit Vuln
    • VDP
  • Tutorials
    • All Posts
    • Photoshop on Linux
    • macOS on Linux
  • Supporters
  • Projects
  • Training

© 2017-2021 Sick.Codes

@sickcodes

@sickcodes

@sickcodes

Discord Server

sickcodes.slack.com

t.me/sickcodeschat

./contact_form