Score:0

Backup of Windows 10 (nvme) with DD

in flag

I am a complete newbie when it comes to using DD so please bear with me. I have a brand new laptop HP 250 G8, it has a NVME SSD disk in it. It comes with a preinstalled Windows 10.

I wanted to backup Windows using DD but it fails when I am telling it to copy entire disk.

ubuntu@ubuntu:~$ sudo dd if=/dev/nvme0 | gzip -9 > /media/ubuntu/test1/win10.img.gz
dd: error reading '/dev/nvme0': Invalid argument
0+0 records in
0+0 records out
0 bytes copied, 0,000142093 s, 0,0 kB/s

Have not tried to backup one partition at a time because recreating the partitions would be a problem so I dont wanna go that way. Please help me?

raj avatar
cn flag
raj
Do you actually have a `/dev/nvme0` device? Maybe it's called differently. Use `lsblk` command to identify what disks and partitions do you have.
in flag
The `/dev/nvme0` reference seems incomplete. You should have two more letters after that, such as `n1`
oldfred avatar
cn flag
Beginners should not really use dd. Its nickname is data destroyer. Make double & triple check command is correct or you can lose all data. Also dd copies all empty space not not best way to backup. Better to use Windows tools or Linux tools that may work with any type of partitions. One of many tools. https://www.macrium.com/reflectfree
Score:-1
in flag

As per comment, the device /dev/nvme0n1 is indeed correct.

Zanna avatar
kr flag
so it works when you enter `sudo dd if=/dev/nvme0n1 | gzip -9 > /media/ubuntu/test1/win10.img.gz` then?
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.