<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://kb.rvmgroup.it/index.php?action=history&amp;feed=atom&amp;title=Recuperare_dati_da_un_hard_disk_danneggiato</id>
	<title>Recuperare dati da un hard disk danneggiato - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://kb.rvmgroup.it/index.php?action=history&amp;feed=atom&amp;title=Recuperare_dati_da_un_hard_disk_danneggiato"/>
	<link rel="alternate" type="text/html" href="https://kb.rvmgroup.it/index.php?title=Recuperare_dati_da_un_hard_disk_danneggiato&amp;action=history"/>
	<updated>2026-05-06T12:56:57Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.44.2</generator>
	<entry>
		<id>https://kb.rvmgroup.it/index.php?title=Recuperare_dati_da_un_hard_disk_danneggiato&amp;diff=8370&amp;oldid=prev</id>
		<title>Gabriele.vivinetto: Created page with &quot;Se un hard disk ha dei settori rovinati, e non si riesce a copiare i files, provare a recuperare tutta la partizione con  ddrescue  * Fare il boot con Clonezilla installato con t…&quot;</title>
		<link rel="alternate" type="text/html" href="https://kb.rvmgroup.it/index.php?title=Recuperare_dati_da_un_hard_disk_danneggiato&amp;diff=8370&amp;oldid=prev"/>
		<updated>2012-02-15T16:45:43Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;Se un hard disk ha dei settori rovinati, e non si riesce a copiare i files, provare a recuperare tutta la partizione con  ddrescue  * Fare il boot con Clonezilla installato con t…&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;Se un hard disk ha dei settori rovinati, e non si riesce a copiare i files, provare a recuperare tutta la partizione con&lt;br /&gt;
 ddrescue&lt;br /&gt;
&lt;br /&gt;
* Fare il boot con Clonezilla installato con tuxboot su chiavetta USB, diventare root e spostarsi sulla chiavetta usb:&lt;br /&gt;
 sudo -i&lt;br /&gt;
 cd /live/image&lt;br /&gt;
&lt;br /&gt;
*Il comando da usare per copiare solo i settori non danneggiati è:&lt;br /&gt;
 ddrescue -n /dev/partizionedanneggiata /dev/partizionenuova logfile&lt;br /&gt;
&lt;br /&gt;
* Se si vuole poi tentare di legegre i settori:&lt;br /&gt;
 ddrescue -r numeroTentativiDiRilettura /dev/partizionedanneggiata /dev/partizionenuova stessologfilediprima&lt;br /&gt;
Questa operazione rilegge il logfile precedentemente creato, e ritenta di copiare SOLO i blocchi rovinati&lt;br /&gt;
&lt;br /&gt;
* Se il filesystem è ntfs, è possibile rilevare quali files ci sono nei settori rovinati conq uesto script &amp;#039;&amp;#039;&amp;#039;DA MODIFICARE&amp;#039;&amp;#039;&amp;#039; perchè concepito per lavorare con un file immagine:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#!/bin/bash&lt;br /&gt;
#########################################################&lt;br /&gt;
# Author: Raphael Hoegger&lt;br /&gt;
# Source: http://pfuender.net/?p=80&lt;br /&gt;
# License: This file is licensed under the GPL v2.&lt;br /&gt;
# Latest change: 2010.06.24 17:40:32 CEST&lt;br /&gt;
# Version: 1.1&lt;br /&gt;
#########################################################&lt;br /&gt;
&lt;br /&gt;
FSoffset=32256 # this is equal to the value used in ‘losetup’ as the offset&lt;br /&gt;
DEVICE=/dev/loop1&lt;br /&gt;
LOGFILE=log.txt ## the one from ddrescue&lt;br /&gt;
OUTPUT=results.txt ## where you want your results stored&lt;br /&gt;
&lt;br /&gt;
for failingSector in $(grep – $LOGFILE | awk ‘ { print $1 } ‘) ; do&lt;br /&gt;
NTFSsector=$(( ($failingSector-$FSoffset)/4096 ))&lt;br /&gt;
echo &amp;quot;Sector $NTFSsector:&amp;quot; &amp;gt;&amp;gt;$OUTPUT&lt;br /&gt;
ntfscluster -f -c $NTFSsector $DEVICE 2&amp;gt;/dev/null &amp;gt;&amp;gt;$OUTPUT&lt;br /&gt;
done&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Riferimenti==&lt;br /&gt;
*[http://www.forensicswiki.org/wiki/Ddrescue Ddrescue - Forensics Wiki]&lt;br /&gt;
*[http://www.myfixlog.com/fix.php?fid=21| How to Create an Image of a Crashed Hard Drive using the UBCD, dd-rescue and P2 eXplorer - myfixlog.com]&lt;br /&gt;
*[http://www.myfixlog.com/fix.php?fid=14 The Hard Drive Recovery Guide for Non-Geeks - Get your Files Back from a Crashed Drive! - myfixlog.com]&lt;br /&gt;
*[http://blog.pfuender.net/?p=80| Useful code-snippets in datarecovery | pfuender.net]&lt;/div&gt;</summary>
		<author><name>Gabriele.vivinetto</name></author>
	</entry>
</feed>