[Solved] How does one set an XP VM immutable?

Discussions about using Windows guests in VirtualBox.
timtimtim
Posts: 25
Joined: 12. Nov 2010, 19:13
Primary OS: Linux other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: windows7

Re: [Solved] How does one set an XP VM immutable?

Post by timtimtim »

docduke,
Apologies. Yes, vbhdd is my generic term for VBox HDD images as you guessed (hence, qhdd for Qemu HDD, vpchdd for Virtual PC HDD and vmhdd for VmWare HDD). I script the development and running of all my VMs hence the different HDD extensions, but over the years I've dropped vpc and vmware, and use qemu only for when I'm on a client's site.
Now that I have applied Notepad++ to VMDK files
Uh-oh! Power User alert! :) Seriously, is there a byte-by-byte description of the VB HDD format available somewhere?

For my part, I'm not sure how I worked this out (or more likely found it out), but the 16 bytes from address 0x188 contain the UUID of the disk.
VBox : 7.0.10
Host: Manjaro Linux
Guest : Windows 7
mpack
Site Moderator
Posts: 39134
Joined: 4. Sep 2008, 17:09
Primary OS: MS Windows 10
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Mostly XP

Re: [Solved] How does one set an XP VM immutable?

Post by mpack »

timtimtim wrote:Seriously, is there a byte-by-byte description of the VB HDD format available somewhere
See the "Howtos and Tutorials" forum, FAQs, "All About AVIs". Or, programmers may prefer checking the OSE source code, as the latter is definitive.

However, I'll point out that the suggestion was to modify an xml file with a text editor, not use a binary editor to hack a VDI. The immutable flag is not stored in the VDI anyway, as was already mentioned in this thread.
Post Reply