Jump to content











Photo
- - - - -

possible to make partition image from a folder?


  • Please log in to reply
10 replies to this topic

#1 Zoso

Zoso

    Silver Member

  • Advanced user
  • 640 posts
  •  
    Isle of Man

Posted 01 September 2015 - 08:31 PM

hi everyone,

is there a tool that can take a folder on an ntfs partition and copy then convert it to an .img file?

I could make a 7z or winrar archive but would like something that I can mount with imdisk when needed.

I need to backup lots of data to another HDD, in the past I have just copy/paste but have experienced some corruption this way and I think moving .img around it is less likely to occur, no?


thanks

#2 Wonko the Sane

Wonko the Sane

    The Finder

  • Advanced user
  • 16066 posts
  • Location:The Outside of the Asylum (gate is closed)
  •  
    Italy

Posted 02 September 2015 - 05:10 PM

is there a tool that can take a folder on an ntfs partition and copy then convert it to an .img file?

I could make a 7z or winrar archive but would like something that I can mount with imdisk when needed.

Interesting approach. :)
Why don't you put together a couple imdisk commands and a strarc one in a batch?
Or you mean a GUI tool? :dubbio:
That could be a feature of Clonedisk (if our good friend erwan.l is still affected by featuritis :w00t: :ph34r:).

Any reason why you cannot use a .iso making tool (like mkisofs or imgburn) for this?
Imdisk can mount them .iso nicely and you would have the advantage of a RO filesystem which for archiving purposes protects nicely from accidental changes/overwrites.

I mean why it should necessarily be a .img? (if a .7z or .rar would be ok you would loose anyway some of the "NTFS only" file characteristics), the .iso (or CDFS) advantage is that size of the image is the same as needed by the contents, unless I am mistaken the only way to have the same with a .img is to pre-calculate the size of the image, and then create the image and format it before copying the folder to it.


I need to backup lots of data to another HDD, in the past I have just copy/paste but have experienced some corruption this way and I think moving .img around it is less likely to occur, no?

Not really-really, reliability should be the same, very probably speed will increase when transferring a largish image as opposed to a zillion tiny files.

:duff:
Wonko

#3 erwan.l

erwan.l

    Platinum Member

  • Developer
  • 3041 posts
  • Location:Nantes - France
  •  
    France

Posted 02 September 2015 - 05:46 PM

That could be a feature of Clonedisk (if our good friend erwan.l is still affected by featuritis :w00t: :ph34r:).

 

I am currently in therapy .

Dont tempt me :)

 

Thus... you could be using mkisofsgui ...

The iso will indeed be mountable in imdisk.

 

WIM could also be an interesting alternative? thus not mountable with imdisk (unless thru a proxy maybe).

 

About imdisk, remember that with a proxy, you can more or less mount anything.



#4 Zoso

Zoso

    Silver Member

  • Advanced user
  • 640 posts
  •  
    Isle of Man

Posted 02 September 2015 - 06:36 PM

hi Wonko, Erwan.l,

yes, a gui tool for this would be best but if the only way possible is .cmd/.bat then I would try that way.

Ive thought about making .iso but I would rather be able to moved files in and out of it when mounted with imdisk and I was thinking that is not possible in .iso but if it is, is there a size limit to .iso?

.img would probably be best though since I have an idea how it would work for me.

I was also under the impression that moving data in an image format was safer than copy/paste. one reason I can think off is it is an all or nothing deal whereas Ive had trouble in the past with windows copy/past when it hit a long filename or some other minor problem and stops so Ive had to manually sort through hundreds of folders to find where it left off. the faster transfer rates would be a nice bonus too.

besides all that, I just really like Olaf and Erwan.l's tools. not only useful but they are so advanced that I learn alot just trying to figure them out. lol!

I really thought something like I describe would be already available but its another area where searching the words for it brings up everything else but what is related to what Im searching for.

cant figure a good search term for it..

I am not familiar with using a proxy and imdisk together, wouldnt even know where to start to learn how to go about that.

any/all ideas appreciated as usual.

thanks

#5 Wonko the Sane

Wonko the Sane

    The Finder

  • Advanced user
  • 16066 posts
  • Location:The Outside of the Asylum (gate is closed)
  •  
    Italy

Posted 02 September 2015 - 06:43 PM

About imdisk, remember that with a proxy, you can more or less mount anything.

Sure, no issue in the "mounting" of *anything*, maybe some in the "creating" of the filesystem, if it's going to be a .img (partitioned) or even a .ima (superfloppy).
Most probably a proxy for .7z would do nicely in the OP case but a .wim format would also do nicely.

The concept of "folder to iso" is not *new*, and possibly your nice mkisofs GUI is even too complex for that, the .iso needs not to be bootable or anything it is used just as an archive.
http://dpaehl.amok.a...r/folderiso.php
http://www.trustfm.n.../Folder2Iso.php

You can even have .iso creation from folder on right click menu:
http://isorecorder.a...isorecorder.htm

:duff:
Wonko

#6 erwan.l

erwan.l

    Platinum Member

  • Developer
  • 3041 posts
  • Location:Nantes - France
  •  
    France

Posted 02 September 2015 - 07:01 PM

What about this : create a dynamic VHD (like 100gig), format it, use it at will?

It will grow dynamically as you stuff files in there.

 

I did not check but it could even be that you can use it from 7-zip.

And you can definitely mount it with many different softwares (starting with windows itself).

 

Just thinking out loud...



#7 alacran

alacran

    Platinum Member

  • .script developer
  • 2710 posts
  •  
    Mexico

Posted 02 September 2015 - 07:07 PM

@ Zoso

 

You can use this wimlib-imagex clc betahttp://reboot.pro/to...ta/#entry191777   it is a GUI made by ReTokener for wimlib v1.80 (possible it may work with new version), in post #17 is attached last version ot this GUI. 

 

Using this tool you can make a *.wim (faster) or *.esd from a folder or partition.

 

If you make a *.wim you can open it and extract all or only required files or folders using 7Zip v9.38 beta: http://sourceforge.n...hread/9e68012c/

 

wimlib site: http://wimlib.net/

 

Download links for wimlib (including v1.80 and last one v1.82): http://wimlib.net/downloads/index.html

 

Best Regards

 

alacran



#8 Wonko the Sane

Wonko the Sane

    The Finder

  • Advanced user
  • 16066 posts
  • Location:The Outside of the Asylum (gate is closed)
  •  
    Italy

Posted 02 September 2015 - 07:12 PM

What about this : create a dynamic VHD (like 100gig), format it, use it at will?
It will grow dynamically as you stuff files in there.
 
I did not check but it could even be that you can use it from 7-zip.
And you can definitely mount it with many different softwares (starting with windows itself).
 
Just thinking out loud...

Yep :) still you would have a crazy amount of "fixed" stuff (filesystem structures) inside it (if you go NTFS, and a crazily large FAT if going FAT32) for a 100 Gb image.
Cannot say what exFAT would do, but I believe that it is still "heavy" on empty large filesystems :dubbio:.
It would be interesting to delve deeper in the "least used ever" filesystem, the UDF which has built-in support on 7 (or maybe Vista :unsure:) and later, since it is also used as filesystem on CD/DVD it might be just the "right" solution.

Also thinking out loud .... ;)

:duff:
Wonko

#9 Zoso

Zoso

    Silver Member

  • Advanced user
  • 640 posts
  •  
    Isle of Man

Posted 02 September 2015 - 07:54 PM

Why don't you put together a couple imdisk commands and a strarc one in a batch?

hey Wonko, you make this sound easy.. I can make simple .bat files but havnt done one that works in more than one program. have not used "strarc" before either.

if it is really easy and takes not much trouble, would you mind showing an example of this?

thanks

edit: posted before I saw the last suggestions. I will check into both of these too.

another edit: I prefer to be able to do this in XP (x64 mostly but also x86 and both 2003 also)

thanks

#10 alacran

alacran

    Platinum Member

  • .script developer
  • 2710 posts
  •  
    Mexico

Posted 02 September 2015 - 08:22 PM

another edit: I prefer to be able to do this in XP (x64 mostly but also x86 and both 2003 also)

thanks

 

This works in XP (x86 and x64) and newer OS http://reboot.pro/to...er/#entry195128



#11 Zoso

Zoso

    Silver Member

  • Advanced user
  • 640 posts
  •  
    Isle of Man

Posted 03 September 2015 - 08:01 PM

This works in XP (x86 and x64) and newer OS http://reboot.pro/to...er/#entry195128

thanks alacran, this seems very useful. the .vhd suggestion seems like it will work easier for what Im trying to do so I tried it first with dynamic .vhds but I have no experience with them and couldnt figure it out so next I try with fixed .vhd since I know how they work and that they will do exactly what I need. it just didnt occur to me when I asked here about it.

thanks all

edit: I just noticed that v77's "ProxyCrypt" seems to do what I was asking about except it does it with encryption. hmmmm.. might have to try it.




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users