Sony VAIO .img File...
 
Notifications
Clear all

Sony VAIO .img Files

iruiper
(@iruiper)
Active Member

Hi there!

The question is quick and easy… but not that easy to solve at least for me! Has anyone been able to extract data from .img files created as backup for a Sony VAIO? I have been investigating two CDs that appear to be in this format, and I can't just see any single file contained in these .img .i01 .02… files.

Any thoughts? Thanks!

Quote
Topic starter Posted : 19/02/2010 7:28 pm
BitHead
(@bithead)
Community Legend

ISO Buster supports IMG files. I am sure MagicISO and some of the others can as well.

ReplyQuote
Posted : 19/02/2010 7:33 pm
keydet89
(@keydet89)
Community Legend

The question is quick and easy… but not that easy to solve at least for me! Has anyone been able to extract data from .img files created as backup for a Sony VAIO? I have been investigating two CDs that appear to be in this format, and I can't just see any single file contained in these .img .i01 .02… files.

What was used to create the files?

ReplyQuote
Posted : 19/02/2010 7:54 pm
jaclaz
(@jaclaz)
Community Legend

Maybe it's a format similar to original Sony "recovery" disks? ?

Is it a "Vista based" Vaio?

If yes, see here
http//forum.notebookreview.com/showthread.php?t=233256

But I presume that you have something like those described here
http//www.tomshardware.co.uk/forum/230406-35-windoze-support-lmao
http//www.myplc.com/sony/docs/us_xp_recovery_discs_info.txt
http//www.motherboardpoint.com/create-my-own-boot-disk-image-t152301.html
http//www.micropctalk.com/forums/showthread.php?t=126

AFAIK it's a proprietary format and haven't seen anyone actually succeeeding in finding out how to access them, there is this KCAP for .pac, but that's all
http//www.myplc.com/sony/sony_apps.htm

Maybe this "restorer" app?
http//www.farstand.com/cgi-bin/pcg-c1/Forum.exe/Forum.exe?0108
http//www.agoraquest.com/viewtopic.php?topic=14648
http//www.experts-exchange.com/Networking/Misc/Q_21383268.html

jaclaz

ReplyQuote
Posted : 21/02/2010 6:53 pm
iruiper
(@iruiper)
Active Member

Hi there!

As jaclaz has pointed out, it is a Recovery Disk, and my client wanted me to extract some files from it. However, also as jaclaz says, I haven't been able to open those image files by no means (

I am afraid I will have to let this down for the moment. I also tried booting the CDs from a virtual machine, in case I could perform the recovery process itself, but it detects the hardware is not from a Sony VAIO, and it won't do the recover (

Anyhow, thanks a lot for all your input!

ReplyQuote
Topic starter Posted : 22/02/2010 4:36 pm
mscotgrove
(@mscotgrove)
Senior Member

I have looked at my Sony recovery disks, and cannot see any img files. I have .sny files that actually start MSWIM (at a guess, Microsoft Windows Image).

Do your files start with a signature?

ReplyQuote
Posted : 22/02/2010 5:06 pm
iruiper
(@iruiper)
Active Member

We have to take into account that the VAIO system used to create the CDs can't be very recent, since the Created Date/Time for the Autorun.exe in the CD is 2005.

Relating to the IMG files (indeed there is one .img, and then .i01, .i02, .i03 and .i04), there were created on September 2006.

Finally, relating to the header, it is "TCJN" in ASCII, and the string "54 43 4A 4E" in Hex.

ReplyQuote
Topic starter Posted : 22/02/2010 5:48 pm
jaclaz
(@jaclaz)
Community Legend

@mscotgrove
to sum it up, basically if you have .sny files it is a Vista based Vaio (and the issue is solved -see given link), if you have .img, .i01, etc. it's a XP based Vaio and the problem is NOT solved, AFAIK.

jaclaz

ReplyQuote
Posted : 22/02/2010 9:58 pm
native-api
(@native-api)
New Member

I dug up more info on the .img format.

  • It's the format of "Sony BLITTER", a disk imaging software that seems to have been used in-house.
  • Earlier versions of VAIO recovery CDs had "restorer.exe" that could extract the image onto a partition. The version I had only has "Blitter.dll", an MSVC C++ DLL.
  • At 0x200, the file has a ZLIB stream. In .i01 and so on, there's continuation of the stream from .img.
  • In the decompressed stream after a header, there's raw data of NTFS clusters. It's not valid NTFS though – at least, the backup boot sector at the end is missing. Most probably, it's just the used clusters, and some metadata like $Bitmap is likely to be missing and intended to be reconstructed upon restore.
  • Nikolay Belofastow should know the details of the format since he apparently designed it. He led the development of the software and the header of the decompressed stream bears his surname.
ReplyQuote
Posted : 19/02/2018 12:29 pm
jaclaz
(@jaclaz)
Community Legend

I dug up more info on the .img format.

Good. )

  • In the decompressed stream after a header, there's raw data of NTFS clusters. It's not valid NTFS though – at least, the backup boot sector at the end is missing. Most probably, it's just the used clusters, and some metadata like $Bitmap is likely to be missing and intended to be reconstructed upon restore.

I wouldn't be preoccupied by the bootsector at the end missing, after all it is just a copy of the first sector of the "real" bootsector (aka $Boot in the NTFS).

If the $Bitmap is missing, then that is the problem.

To decompress the ZLIB stream (just for the record) either offzip or dynamite may be useful, references in this seemingly unrelated thread
http//reboot.pro/topic/12255-need-help-with-virtual-floppy/

With your new finding (the keyword restorer.exe) I just found this (at least we now know which parameters the .exe took)
https://www.techrepublic.com/forums/discussions/sony-vaio-laptop-will-not-restore/

Usage RESTORER <driveindex> <image path(s)> -<option(s)> @<batch> <driveindex> source drive number (1,2,3) and partition index (1,2,3) image path(s), default extension .IMG
options
-v - verbose
-f - reset "ImproperShutdown" flag"
-t<file name> - display given text file at the end of the restoring
-l<file name> - save a restoring result in the specified file
-d=<d> - change DriveNumber field in the target partition's BPB to "d". "d" should be a hexidecimal number (80, 81,…)

most probably the original CD included also a batch (or the like) with the actual options pre-written.
It seems also that the restorer.exe needs to be run in DOS, as it uses some kind of direct access to disk.

Also it seems like the whole stuff has been patented
https://patents.google.com/patent/US20050240815
though possibly the above is the "later" version using .SWM files.

jaclaz

ReplyQuote
Posted : 19/02/2018 4:21 pm
Share:
Share to...