migrate parrot os to my new ssd 500gb

sudo cat /proc/version

Linux version 5.4.0-4parrot1-amd64 ([email protected]) (gcc version 9.2.1 20200203 (Debian 9.2.1-28)) #1 SMP Parrot 5.4.19-4parrot1 (2020-02-27)

Hello guys !

im currently on a macbook pro with 113gb ssd and it’s not enough …

so soon i will receive a 500gb ssd (i know im a bud XD)

and i’d like to transfer all my operating system (from my 128gb ssd) to my new 500gb ssd, knowing that my disk is encrypted

sudo fdisk -l 

Disk /dev/nvme0n1: 113 GiB, 121332826112 bytes, 29622272 sectors
Disk model: APPLE SSD AP0128J                       
Units: sectors of 1 * 4096 = 4096 bytes
Sector size (logical/physical): 4096 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disklabel type: gpt
Disk identifier: WWWWWWWWWW

Device         Start      End  Sectors  Size Type
/dev/nvme0n1p1   256 29622015 29621760  113G Linux filesystem


Disk /dev/nvme0n2: 8 KiB, 8192 bytes, 2 sectors
Disk model: APPLE SSD AP0128J                       
Units: sectors of 1 * 4096 = 4096 bytes
Sector size (logical/physical): 4096 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disklabel type: dos
Disk identifier: XXXXXXXXXX


Disk /dev/sda: 14,47 GiB, 15527313408 bytes, 30326784 sectors
Disk model: USB DISK 3.0    
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: gpt
Disk identifier: CCCCCCCCCC

Device       Start      End  Sectors  Size Type
/dev/sda1     2048  3905535  3903488  1,9G EFI System
/dev/sda2  3905536 30324735 26419200 12,6G Linux filesystem


Disk /dev/mapper/nvme0n1p1_crypt: 112,101 GiB, 121313951744 bytes, 29617664 sectors
Units: sectors of 1 * 4096 = 4096 bytes
Sector size (logical/physical): 4096 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes


Disk /dev/mapper/vg--debian-root: 98,8 GiB, 105310584832 bytes, 25710592 sectors
Units: sectors of 1 * 4096 = 4096 bytes
Sector size (logical/physical): 4096 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes


Disk /dev/mapper/vg--debian-swap1: 14,92 GiB, 16001269760 bytes, 3906560 sectors
Units: sectors of 1 * 4096 = 4096 bytes
Sector size (logical/physical): 4096 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes


Disk /dev/loop0: 27,9 MiB, 28405760 bytes, 55480 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes


Disk /dev/loop1: 445,15 MiB, 466771968 bytes, 911664 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes


Disk /dev/loop2: 445,10 MiB, 467644416 bytes, 913368 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes


Disk /dev/loop3: 62,9 MiB, 65105920 bytes, 127160 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes


Disk /dev/loop4: 27,4 MiB, 28356608 bytes, 55384 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes


Disk /dev/loop5: 54,84 MiB, 57479168 bytes, 112264 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes


Disk /dev/loop6: 54,97 MiB, 57614336 bytes, 112528 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes


Disk /dev/loop7: 93,8 MiB, 98336768 bytes, 192064 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes


Disk /dev/loop8: 2,68 MiB, 2797568 bytes, 5464 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes

MY GRUB is in a usb key in the /dev/sda partition --> i dont want transfer it in my new 500gb ssd

of course i want transfer ALL MY ENCRYPTED PART in my new 500gb ssd

What is the best way to do this ?

after some search dd look like a good option but i need an expert to confirm this,

do i have to do : (imagine that my 500gb ssd is cal ‘SDY’

dd if=/dev/nvme0n1p1_crypt of=/dev/SDY bs=2m ; sync

thx for help guys,

i have a lot of important data, i cant make mistake …

Thanks guy for your help

I know there are a lot of solution to my problem, but i want to be very sur before do something …
thanks a lot

This topic was automatically closed 120 days after the last reply. New replies are no longer allowed.