[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: ddrescue error -help?
From: |
Antonio Diaz Diaz |
Subject: |
Re: ddrescue error -help? |
Date: |
Fri, 09 Jun 2023 17:24:26 +0200 |
User-agent: |
Mozilla/5.0 (X11; U; Linux i586; en-US; rv:1.9.1.19) Gecko/20110420 SeaMonkey/2.0.14 |
Hi Stephen,
Stephen -WowMaths wrote:
Thx for your ddrescue prog.
You are welcome. :-)
*Can you suggest how I fix error*
"*ddrescue: Bad or missing numerical argument*"
after running command
sudo ddrescue -d -o allow_root SDCARDmountPt SDcrdIMAGE SDcrdLOGMAP
I guess you are using an old version of ddrescue because latest ddrescue
(1.27) prints a more informative message:
ddrescue: 'allow_root': Bad or missing numerical argument in option '-o'.
The problem is '-o allow_root' because '-o' requires a numerical argument:
http://www.gnu.org/software/ddrescue/manual/ddrescue_manual.html#Invoking-ddrescue
-o bytes
--output-position=bytes
Starting position of the image of the rescue domain in outfile, in bytes.
Defaults to --input-position. The bytes below bytes aren't touched if they
exist and truncation is not requested. Else they are set to 0.
Removing '-o allow_root' should work and make a copy of the sd card (but I
can't be sure if this is what you intend to do):
sudo ddrescue -d SDCARDmountPt SDcrdIMAGE SDcrdLOGMAP
Hope this helps,
Antonio.