OpinionatedDrone
08-08-2006, 05:17 AM
I am trying to copy a .img backup file of my hard drive using knoppix live cd, however, every time I try to us the dd command, I get an "Access Denied" message. I have tried changing the permissions of the drive, as in the FAQ, however, this does not seem to have an effect.
since it is the entire HDD image, I would like to dump the data (dd) to a raw 'hdb' rather than a partition 'hdb1'. I don't care if I erase the current content of the drive.
Here are my latest tries in Konsole:
knoppix@1[sdb1]$ dd if=./backup.img of=/dev/hdb
dd: opening '/dev/hdb' : Permission denied
And:
knoppix@1[sdb1]$ dd if=./backup.img of=/dev/hdb1
dd: opening '/dev/hdb1' : Permission denied
since it is the entire HDD image, I would like to dump the data (dd) to a raw 'hdb' rather than a partition 'hdb1'. I don't care if I erase the current content of the drive.
Here are my latest tries in Konsole:
knoppix@1[sdb1]$ dd if=./backup.img of=/dev/hdb
dd: opening '/dev/hdb' : Permission denied
And:
knoppix@1[sdb1]$ dd if=./backup.img of=/dev/hdb1
dd: opening '/dev/hdb1' : Permission denied