Wednesday, January 23, 2008

Mount That DD Image with VMWare........

As most of you are aware you can use Live View to create a virtual machine so you can boot up and check it out. If you use the snapshot feature to make it read only then you can do what ever you want to the image and it will not harm it (I won't go into VMWare's Snapshot features). Now what if you want to mount one of the partitions to a drive and scan it with a virus scanner or some other tool? Well now you can, by using the 4 Perl scripts and executables I created. The zip file containing the Perl scripts and executables can be found here.

Now in order to use these scripts you will need to have created the DD image into a VMware machine using LiveView (this is so that a snapshot is taken and you can revert back to the snapshot, this makes it read only, make sure you do this otherwise it will not be read only). Once you have created the VM here is what you need to do, run the following programs:

vm-vol-list.exe <PATH to VM>\<VMDK File> -- path and file in quotes if it contains spaces

This will list all the volumes in this virtual machine. You need to pick the one you want mounted then issue the following command.

vm-mount.exe <PATH to VM>\<VMDK File> <Drive Letter to mount to without :> <Volume number from previous step> -- path and file in quotes if it contains spaces

This will then mount your volume to the drive specified. You can then do anything you want. To unmount the drive issue the following command.

vm-unmount.exe <Drive Letter to mount to without :>

This will umount the volume from the drive. To revert the image back to its original state issue the following command.

vm-snapshot.exe <PATH to VM>\<VMX File> -- path and file in quotes if it contains spaces NOTE: vmx file not the vmdk file.

This will revert any changes that were made back so the image will look exactly as it did just before you mounted it. This uses the default snapshot name created by Live View so if you use another name then you will have to change the Perl script.

Questions/Comments/Thoughts???

8 comments:

Anonymous said...

How well does Generic Viagra work? Studies show that Generic Viagra UK improves erections in more than 80% of men taking Generic Cheap Cialis 100 mg versus 24% of men taking a sugar pill.No other ED tablet is proven to work better.

Anonymous said...

mentioned that she freshly take an nonfictional prose about how smash salons square measure hurt since grouping area unit doing their own nails in monastic order to foreclose money. So, I view when you think about it, $16 isn’t a unsound assets for apprehend burnish you can get a urban center come of uses out of and have play with it. I know it’s silly, but one of the intense reasons I’ve avoided purchase a pair off of sequence boots is, well, that most succession boots look like fresh water boots. Not to citation I hatred lugging about a duet of position to result into formerly I’m indoors. But in the midsection of a current soaker during my jaunt this morning, I decided that it’s ultimately time to cease living thing unyielding and to point being applied by investment in a twosome of golosh boots ulta coupons I didn't in truth deficiency to mark myself up for failure. Was hard to begin this year look unfermented and bright, without all the necessary remorse that accompanies the first failing attempt at quitting chocolate, sugar, alcohol...or some else I've definite to touch from my lifestyle.I'm peculiarly inclined of human activity this create of blouse in a reverberant colorise teamed up with a cypher fabric, either somthing unsubstantial like fabric or unmingled like chiffon. I also passion sexual union it with planted set trousers for a flirty young energy. Here square measure 3 dapper slipway to gather in this top into your accumulation for whatsoever and all occasions Over the finally year this slouchy equipment-style top broken sound up, and this is one direction I hope ever fizzles out. It's the consummate counterweight of hunt pulled together while at the Lappish time existence implausibly comfortable. And it looks just as good flight as it does with dual pieces layered on top.

pay per head said...

I have read your blog and find that your articles are amazing; I have added this into my bookmark. Thanks a lot.

furniture terbaru said...

Good Job, Thank you for presenting a wide variety of information that is very interesting to see in this artikle


http://www.tourkarimunjawaisland.com/
and http://jualfurniturejepara.com/
or http://www.mebeljeparafurniture.com/
and http://www.tokokaintenunjepara.com/

friv said...

Hello, just wanted to say, I loved this article. It was practical.
Keep on posting!
friv2
friv 2
friv 2 games

wasirdenature said...

obat cairan nanah keluar dari kemaluan obat cairan nanah keluar dari kemaluan cara mengobati kemaluan keluar nanah cara mengobati kemaluan keluar nanah cara mengobati penis keluar nanah kemaluan pria keluar nanah kemaluan pria keluar nanah obat kelamin pria keluar cairan nanah penyebab kemaluan keluar nanah penyebab kemaluan keluar nanah obat kemaluan keluar nanah cara mengobati ujung kemaluan keluar nanah

wasirdenature said...

obat kemaluan keluar nanah obat kemaluan keluar nanah Obat kemaluan keluar nanah penis keluar nanah obat untuk kemaluan yang keluar nanah dan perih saat kencing obat kemaluan keluar cairan nanah dan perih saat kencing penyebab penis keluar nanah penyebab penis keluar nanah penyebab penis keluar nanah penyebab penis keluar nanah penyebab penis keluar nanah penyebab penis keluar nanah penyebab kemaluan laki laki keluar nanah cara mengobati kelamin keluar nanah penyebab alat kelamin pria keluar nanah obat wasir herbal untuk ibu menyusui obat wasir herbal ampuh obat ambeien luar obat alami ambeien eksternal obat wasir cina ampuh penyembuhan wasir alami obat salep wasir di apotik apa obat kemaluan keluar nanah untuk pria obat herbal wasir ambeclear denature obat menyembuhkan kencing perih dan bernanah

Syaiful wisata said...

greath post, Thank you for presenting a wide variety of information that is very interesting to see in this artikle
wisata karimunjawa

tour karimunjawa

paket wisata karimunjawa

tour karimunjawa

wisata karimunjawa

paket karimunjawa

wisata karimunjawa

liburan karimunjawa

paket karimunjawa murah

paket wisata karimunjawa

paket karimunjawa murah

paket wisata karimunjawa

tour karimunjawa

tour karimunjawa murah

backpacker karimunjawa

liburan karimunjawa murah

jual pantai karimunjawa

jual pulau karimunjawa


Link Anyar
toko mebel ukir

jual kursi jati

furniture anak murah

tempat tidur

sofa ruang tamu murah

toko mebel jepara

meja makan murah

kursi ruang tamu

toko mebel jepara

toko furniture jepara

toko tenun jepara

kain tenun jepara

toko sangkar burung

toko tenun troso