I've booted up arch live cd, with the idea of creating a disk image. There are 2 hdds (/dev/sda - i want this image, and /dev/sdb - the image will be copied here, but as a backup file (not rewrite), so i can use it later)So I mounted the /dev/sdb1 as:mount -t auto /dev/sdb1 /mnt/hdd And then i tried ddrescue if=/dev/sda of=/mnt/hdd/backup.ddBut it failed saying cant open input file, no such file or directory.What am I doint wrong?
dd no such file or directory
backup;dd
According to its man page, ddrescue should be called like this:SYNOPSIS       ddrescue [options] infile outfile [logfile]So, in your specific case, ddrescue /dev/sda /mnt/hdd/backup.hdd; no if= or of=.