If I have a 60 GB hard disk and I run "dd if=/dev/zero of=/dev/sda1 bs=4M", dd will write zeroes to /dev/sda1 in blocks of 4 million. There's just one problem. I didn't tell dd when to stop. So dd will keep writing data to the target device until it hits an error. The "out of space" error in this case means "I ran out of writable bytes on the destination before I ran out of readable bytes at the source."Now I'm trying to figure out how to copy Mint (from the other machine) with 'dd' to reinstall it here, on this machine, by using Gparted but I've tried several ways to do it but so far nothing works.
This USB has 60GB and everytime it gives the same output, "no space" ...Code:
root@kaos:~# dd if=/dev/nvme0n1p6 of=/dev/sda1 bs=4M status=progress62901977088 bytes (63 GB, 59 GiB) copied, 5215 s, 12.1 MB/sdd: error al escribir en '/dev/sda1': No queda espacio en el dispositivo15000+0 records in14999+0 records out62913511424 bytes (63 GB, 59 GiB) copied, 5337.61 s, 11.8 MB/sroot@kaos:~#
More importantly though, I'm curious to know why you'd choose to use dd to copy blocks on a storage device when you could much more safely copy files between mountpoints. There's no chance your Linux Mint partition uses a file system you can't read normally.
Statistics: Posted by DukeComposed — Fri Feb 23, 2024 12:23 pm