Daily Shaarli
August 26, 2021
Are you looking to convert bootable USB to an ISO Image file in Windows 10?
If yes then this post is definitely for you.
In the previous post, I have already talked about how to create bootable ISO from windows files.
And which is similar to this post only.
The idea of this post came to my mind when I was writing one of my posts on how to create a bootable USB from an ISO file.
At that time I thought is it possible to create an ISO file from bootable USB that I have created.
So then I started searching on the internet and I found my answer.
And the answer is Yes.
So in this post, I will show you how to create an ISO file from a bootable USB drive & easily create a backup of it.
TestDisk is OpenSource software and is licensed under the terms of the GNU General Public License (GPL v2+).
TestDisk is powerful free data recovery software! It was primarily designed to help recover lost partitions and/or make non-booting disks bootable again when these symptoms are caused by faulty software: certain types of viruses or human error (such as accidentally deleting a Partition Table). Partition table recovery using TestDisk is really easy.
As you can see, the drive's power-on hours are 520 (which is accurate, as I've had it for under a month), but the two errors say they occurred at 10610 hours and 16878 hours — obviously impossible.
What's happening here? Are the errors real? Worrisome? Could there be some kind of "odometer tampering" going on here by my vendor? //
I think that your suspicion of "odometer tampering" is correct, and it is possible. The recorded errors are likely real and definitely worrisome because they indicate bad sectors upon reading. The disk was likely wiped before making its way to you, so those bad sectors have probably been remapped.
Whoever sold you the hard drive reset the S.M.A.R.T. attributes to make it look like a new hard drive.
Anecdote
On 25 July 2015, I purchased six very similar hard drives from goHardDrive.com. When I checked all the disks, I experienced almost the exact same symptoms:
Label Aria Music Fnac Music / 592273
Année de production 1993
Giacomo Puccini
Messa di Gloria. Messe pour ténor, baryton, choeur et orchestre
-
- Gloria
Naxos / 8.557638
Année de production 2005
Ferdinand Ries
Concerto pour piano et orchestre No 8, en la bémol majeur. Salut au Rhin (Op.151)
The point of current / worst attributes like temperature is exactly this: to tell you if the drive has ever been outside its max operating temperature, and thus might have suffered permanent damage.
That's why it says "failed in the past", not "failing now": you did just barely touch the max-temp threshold. Note the attribute display shows "normalized: 50, threshold: 45, worst: 45". (These are 0..200 normalized values like for any other attribute, not raw Celsius temps.)
You also have some bad sectors (uncorrectable sector errors), so whether the brief high temperature caused that or not, it's probably time to ditch that drive.
A better SMART software UI would show you the current and max-ever temp. e.g.
smartctl -a /dev/sda or smartctl -x /dev/sda (-x prints all available SMART and non-SMART data it can get from the drive, including a temperature history log if the drive has one, with an ASCII bar graph.)
smartctl -x includes this for an old WD Green 1TB (WD10EADS) hard drive:
This document explains how to create under Linux a LiveCD running FreeDOS that automatically start TestDisk.
-
Download FreeDOS OEM CD-ROM disc builder assistant
wget -N http://www.fdos.org/bootdisks/ISO/FDOEMCD.builder.zip
-
Download the DOS version of TestDisk & PhotoRec
-
Cleanup the work directory if it already exists
rm -rf FDOEMCD
-
Uncompress the archive
unzip FDOEMCD.builder.zip
-
Uncompress latest version of TestDisk & PhotoRec
cd FDOEMCD/CDROOT
unzip ../../testdisk-6.12.dos.zip
mv testdisk-6.12 testdiskCreate an autorun script
echo "@ECHO OFF" > AUTORUN.BAT
echo "CLS" >> AUTORUN.BAT
echo "CD TESTDISK" >> AUTORUN.BAT
echo "TESTDISK.EXE" >> AUTORUN.BAT -
This script must use DOS newlines, not Unix ones
unix2dos AUTORUN.BAT
-
Create the iso image using mkisofs
cd ..
mkisofs -o testdisk.iso -p "Christophe Grenier" -publisher "www.cgsecurity.org" -V "TestDisk CD" \
-b isolinux/isolinux.bin -no-emul-boot -boot-load-size 4 -boot-info-table -N -J -r \
-c boot.catalog -hide boot.catalog -hide-joliet boot.catalog CDROOT -
Boot from this iso image in qemu emulator
qemu -localtime -boot d -cdrom testdisk.iso -hda disk.dd
- If everything is ok, burn the iso