Windows Immutable HD problems

Discussions about using Windows guests in VirtualBox.
Post Reply
McA
Posts: 2
Joined: 6. Jan 2016, 14:16

Windows Immutable HD problems

Post by McA »

Hi.

I recently upgraded to Windows 10 (host) and I am experiencing problems with the immutable HD.

When I start a Windows (10 and XP) guest from an immutable disk, whenever I turn off the machine and turn it on again this comes back to the initial state.
This does not occur with other immutable linux that I have.

What could be happening?
frank
Oracle Corporation
Posts: 3362
Joined: 7. Jun 2007, 09:11
Primary OS: Debian Sid
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Linux, Windows
Location: Dresden, Germany
Contact:

Re: Windows Immutable HD problems

Post by frank »

What do you expect from an immutable hard disk? As described in section 5.4 of the user manual, immutable hard disks only remember write accesses temporarily while the VM is running and all changes are lost when the VM is powered on the next time.
loukingjr
Volunteer
Posts: 8851
Joined: 30. Apr 2009, 09:45
Primary OS: Mac OS X other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: just about all that run

Re: Windows Immutable HD problems

Post by loukingjr »

im·mu·ta·ble
i(m)ˈmyo͞odəb(ə)l/
adjective
adjective: immutable

unchanging over time or unable to be changed.
"an immutable fact"
synonyms: fixed, set, rigid, inflexible, permanent, established, carved in stone;
OSX, Linux and Windows Hosts & Guests
There are three groups of people. Those that can count and those that can't.
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: Windows Immutable HD problems

Post by mpack »

McA wrote:This does not occur with other immutable linux that I have
Yes it does, the virtual hardware does not change behaviour because a different guest OS is installed.

From your implication otherwise my first guess was that you haven't actually installed Linux, i.e. you're stilling running it in live CD mode, relying on suspended states to maintain ramdisk contents. However even that doesn't make sense, since if you reboot a live CD Linux then that too would lose any changes you had made - a CD being immutable by nature.
loukingjr
Volunteer
Posts: 8851
Joined: 30. Apr 2009, 09:45
Primary OS: Mac OS X other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: just about all that run

Re: Windows Immutable HD problems

Post by loukingjr »

My first guess was he didn't install Linux on an immutable drive.
OSX, Linux and Windows Hosts & Guests
There are three groups of people. Those that can count and those that can't.
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: Windows Immutable HD problems

Post by mpack »

Very possible, though he does refer to it as "immutable Linux".
loukingjr
Volunteer
Posts: 8851
Joined: 30. Apr 2009, 09:45
Primary OS: Mac OS X other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: just about all that run

Re: Windows Immutable HD problems

Post by loukingjr »

Yes he did. I just assume he was mistaken.
OSX, Linux and Windows Hosts & Guests
There are three groups of people. Those that can count and those that can't.
McA
Posts: 2
Joined: 6. Jan 2016, 14:16

Re: Windows Immutable HD problems

Post by McA »

My apologies if I have not explained well the first time.
I'm gonna try to explain my problem again, but this time with some pictures and step by step.

First of all, I create a VM and install normally a windows 10.
After have ready my VM, I power off and go to "File->Virtual Media Manager..." and here I release the HDD.
After this, modify the HDD and make them Immutable.
Finally I attach the immutable HDD again to the VM, and this it's what I have (see the image).


Until here everything's right.

But if I power on the VM, make any change (create a file for example). After power off the VM and power on again, the changes don't persist in the differencing HDD.
But if I do the same in a linux machine (a Kali in my case), these persist.

Why?
Is now understood my question?

PD:
When I was a Windows 7 as host, this did not happen.
Attachments
vb.png
vb.png (81.89 KiB) Viewed 2126 times
loukingjr
Volunteer
Posts: 8851
Joined: 30. Apr 2009, 09:45
Primary OS: Mac OS X other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: just about all that run

Re: Windows Immutable HD problems

Post by loukingjr »

I will try to explain once more. When you make a HDD immutable, it will no longer save changes. It doesn't matter if you are using an OSX, Windows or Linux host.
OSX, Linux and Windows Hosts & Guests
There are three groups of people. Those that can count and those that can't.
Perryg
Site Moderator
Posts: 34369
Joined: 6. Sep 2008, 22:55
Primary OS: Linux other
VBox Version: OSE self-compiled
Guest OSses: *NIX

Re: Windows Immutable HD problems

Post by Perryg »

Good grief, just read the manual about immutable. Not part of it read it all.

http://www.virtualbox.org/manual/ch05.h ... magewrites
Post Reply