Article 5PY84 Trying to make copy of the OS/'dd'/USB.

Trying to make copy of the OS/'dd'/USB.

by
Camello
from LinuxQuestions.org on (#5PY84)
Hello,

I am trying to make a copy of the operating system. I have tried with Clonezilla and others, I just don't understand the procedures in those graphical forms.

Now I try it from the terminal with the 'dd' command I don't know if I will also be erring in understanding the instructions ... anyway, this is what I"m doing:

Code:@SolydXK:~$ sudo -i
[sudo] password for:
root@SolydXK:~# df
S.files 1K blocks Used Available Usable Usage% Mounted on
udev 3986508 0 3986508 0% /dev
tmpfs 803940 11152 792788 2% /run
/dev/nvme0n1p7 40240400 17075028 21091568 45% /
tmpfs 4019696 3684 4016012 1% /dev/shm
tmpfs 5120 4 5116 1% /run/lock
tmpfs 4019696 0 4019696 0% /sys/fs/cgroup
/dev/nvme0n1p1 258095 5713 252383 3% /boot/efi
tmpfs 803936 12 803924 1% /run/user/1000
/dev/sda1 61423904 32 61423872 1% /media/user/USB STICK

root@SolydXK:~# dd if=/dev/nvme0n1p7 of=/dev/sda1
82296832+0 records read
82296832+0 records written
42135977984 bytes (42 GB, 39 GiB) copied, 2835 s, 14.9 MB/s
root@SolydXK:~#But after all this when I go to the Bios, the USB (which was previously formatted in FAT32 -- and it is 64GB/the OS is around the 17GB) is not recognizable.

Also the PC does not recognize the USB after the use of this command, it only recognized it before all this ...

Where can be my mistake, the 'dd' command used here is not the correct one...?

*More information:

Code:@SolydXK:~$ sudo fdisk -l
Disk /dev/nvme0n1: 238.5 GiB, 256060514304 bytes, 500118192 sectors
Disk model: PC SN520 NVMe WDC 256GB
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: 7D3D13AC-4A54-4810-8257-722BBF55BE3A

Device Start End Sectors Size Type
/dev/nvme0n1p1 2048 526335 524288 256M Microsoft basic data
/dev/nvme0n1p2 526336 72937471 72411136 34.5G Linux root (x86)
/dev/nvme0n1p3 72937472 89714687 16777216 8G Linux swap
/dev/nvme0n1p4 89714688 159483903 69769216 33.3G Linux filesystem
/dev/nvme0n1p5 159483904 231698431 72214528 34.4G Linux filesystem
/dev/nvme0n1p6 231698432 304171007 72472576 34.6G Linux filesystem
/dev/nvme0n1p7 304171008 386467839 82296832 39.2G Linux filesystem
/dev/nvme0n1p8 386467840 500117503 113649664 54.2G Linux filesystem

Disk /dev/sda: 58.6 GiB, 62914560000 bytes, 122880000 sectors
Disk model: ProductCode
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: dos
Disk identifier: 0xb2034f56

Device Boot Start End Sectors Size Id Type
/dev/sda1 2048 122879999 122877952 58.6G c W95 FAT32 (LBA)
@SolydXK:~$
Thank you very much for any advice.

Regards.latest?d=yIl2AUoC8zA latest?i=A-g67ylZwE4:NXA9JpWbSLM:F7zBnMy latest?i=A-g67ylZwE4:NXA9JpWbSLM:V_sGLiP latest?d=qj6IDK7rITs latest?i=A-g67ylZwE4:NXA9JpWbSLM:gIN9vFwA-g67ylZwE4
External Content
Source RSS or Atom Feed
Feed Location https://feeds.feedburner.com/linuxquestions/latest
Feed Title LinuxQuestions.org
Feed Link https://www.linuxquestions.org/questions/
Reply 0 comments