topbanner_forum
  *

avatar image

Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
  • Saturday December 14, 2024, 7:02 pm
  • Proudly celebrating 15+ years online.
  • Donate now to become a lifetime supporting member of the site and get a non-expiring license key for all of our programs.
  • donate

Author Topic: How to replace a driver in a .img file?  (Read 4655 times)

brahman

  • Supporting Member
  • Joined in 2007
  • **
  • Posts: 239
    • View Profile
    • Donate to Member
How to replace a driver in a .img file?
« on: November 24, 2010, 10:26 AM »
Hi,

I have a .ca_ file, which contains a 122MB .img file where I need to update a driver. I think the image is bootable.

I am a TotalCommander user, and have the  totaliso, iso, and img extensions installed.

When I extract and then try to open the .img file with TC I get an "error in packed file" message.

The 7z filemanager can open the file without a problem (but does not allow editing).

If I change the .img extension to .iso I get no error message but the content is shown as empty, if I change to .ima same results as .img.

The file seems to be  a bootable Microsoft .img file in NTFS file system. The first few characters of the file as shown in my HexEditor HxD are "ëR.NTFS".

Could anybody give me some hints how I can go about replacing a driver in that file.

I thing MagicIso could do it, but I would like to do it without paying the fee for a one time job.

Thanks.
Regards, Brahman

Renegade

  • Charter Member
  • Joined in 2005
  • ***
  • Posts: 13,291
  • Tell me something you don't know...
    • View Profile
    • Renegade Minds
    • Donate to Member
Re: How to replace a driver in a .img file?
« Reply #1 on: November 24, 2010, 12:56 PM »
I was going to recommend MagicISO.

I need to download ISOs from MSDN, and MagicISO seems to be the only program that can handle them. They have a free version that lets you extract, but not burn. Have a look. Not sure if it will help or not.

http://www.magiciso....gicdisc-overview.htm
Slow Down Music - Where I commit thought crimes...

Freedom is the right to be wrong, not the right to do wrong. - John Diefenbaker

brahman

  • Supporting Member
  • Joined in 2007
  • **
  • Posts: 239
    • View Profile
    • Donate to Member
Re: How to replace a driver in a .img file?
« Reply #2 on: November 24, 2010, 02:42 PM »
Thanks,

I just tried MagicIso, PowerIso and WinImage, but none of them worked, though all could open the file but were not able to do a replacement.

I think I need to extract the file, then do the replacement, then redo the img file. I have no idea what bootloader to use though.
Regards, Brahman

Renegade

  • Charter Member
  • Joined in 2005
  • ***
  • Posts: 13,291
  • Tell me something you don't know...
    • View Profile
    • Renegade Minds
    • Donate to Member
Re: How to replace a driver in a .img file?
« Reply #3 on: November 24, 2010, 02:48 PM »
Read the docs. They have bootloaders there. There are also some you can download.

But yes -- you cannot replace a file in an ISO or image. They are read only. You must extract then recreate them.
Slow Down Music - Where I commit thought crimes...

Freedom is the right to be wrong, not the right to do wrong. - John Diefenbaker

4wd

  • Supporting Member
  • Joined in 2006
  • **
  • Posts: 5,644
    • View Profile
    • Donate to Member
Re: How to replace a driver in a .img file?
« Reply #4 on: November 24, 2010, 03:43 PM »
But yes -- you cannot replace a file in an ISO or image. They are read only. You must extract then recreate them.

Since when?

I've used UltraISO to replace files in ISOs plenty of times - it's what it was made for.

@brahman: Give UltraISO a try and see if it will open the file.

If it doesn't then try mounting it using DaemonTools Lite, (don't install the adware), if you can then you should be able to view what type of bootloader it uses.

There's also the really old CDMage.

Stoic Joker

  • Honorary Member
  • Joined in 2008
  • **
  • Posts: 6,649
    • View Profile
    • Donate to Member
Re: How to replace a driver in a .img file?
« Reply #5 on: November 24, 2010, 03:52 PM »
I need to download ISOs from MSDN, and MagicISO seems to be the only program that can handle them.

I've used WinISO to extract MSDN .iso's many times and never had a problem.

Then I burn everything with ImgBurn.