+ Post New Thread
Results 1 to 3 of 3
Thin Client and Virtual Machines Thread, Virtualbox Immutable Drive Problem in Technical; We have been using Virtualbox to provide an XP VM for computing lessons and it's been working brilliantly. I've created ...
  1. #1

    Join Date
    Mar 2013
    Location
    Northampton
    Posts
    105
    Thank Post
    16
    Thanked 32 Times in 22 Posts
    Rep Power
    9

    Virtualbox Immutable Drive Problem

    We have been using Virtualbox to provide an XP VM for computing lessons and it's been working brilliantly.

    I've created a new VM to provide VS 2012 and a few other programs on a Win7 VM. This time Virtualbox doesn't seem to be immutable even when the GUI reports that it is. The only workaround I have found is to create a snapshot and push that out with the VM. The VM seems to boot from that everytime making it act like an immutable drive. It's a massive bellyache and I'd rather fix the root problem. Does anyone know what I've done to mess up immutable drives?

    I used VBox 4.3.12 r93733 to make the VMs and the classroom machines are using 4.3.10 r93012. I'n my research people had this issue with 3.2 but it was working for my XP VM in 4.x.

  2. #2

    Join Date
    Mar 2013
    Location
    Northampton
    Posts
    105
    Thank Post
    16
    Thanked 32 Times in 22 Posts
    Rep Power
    9
    I found the fix. I needed to put the following line in the batch file we use to launch the VM.

    Code:
    "C:\Program Files\Oracle\VirtualBox\vboxmanage.exe" modifyhd "c:\Program Files\Oracle\VirtualBox\VMs\ProgrammingVM\Snapshots\{0eb70cd9-520f-41fc-a707-18f75d3a7120}.vdi" --autoreset on
    This makes sure changes to the differencing file, created when you set the drive to immutable, are discarded on shutdown. The GUID will be different for each VM.

    When I make changes it looks like I have to manually start the machine with --autoreset off once otherwise it's still mutable. Weird.

  3. Thanks to madurham from:

    synaesthesia (3rd September 2014)

  4. #3
    kennysarmy's Avatar
    Join Date
    Oct 2005
    Location
    UK
    Posts
    1,401
    Thank Post
    93
    Thanked 48 Times in 34 Posts
    Rep Power
    31
    If it helps here are my notes:

    1. Copy the folder Q:\Images\VirtualBox\sandbox to the new PC in the folder C:\ drive
    2. Install VirtualBox but don’t run. J:\_admin software\Virtual Box\VirtualBox-4.2.16-86992-Win.exe accept all the defaults.
    3. Go into "Computer Management" and create a group called "VBOXUSERS" and add "domain users" to it; this can be found in Step 35 of the section above. VBOX_USER_HOME = C:\sandbox\ then set permissions on C:\sandbox\ to modify for VBOXUSERS
    4. Reboot
    5. Open VirtualBox
    6. Check preferences for default location; should be C:\sandbox
    7. Choose option Machine Add - click file in C:\sandbox\
    8. Activate Windows : Firstly turn on the network by going into "Settings" and then "Network" - enable the checkbox, and run the VM. Use the run command and enter slmgr.vbs /ato to activate.
    9. Shutdown the VM
    10. Go to "File" -> "Virtual Media Manager" and select the sandbox clone ".vdi" file and right click on it; select the "release" button and then "modify" - set the drive type to "Immutable".
    11. You will then need to re-add the image to the sandbox; click on the "Settings" button -> "Storage" and then click on the "Controller: SATA" tab. You will see two buttons on the right edge of the selection, select the second button called "Add Hard-Drive" -> "Choose Existing Disk" once completed, navigate to the sandbox directory and click on the image file. This will attach the newly made immutable disk to the sandbox environment.
    12. Then disable the network interface by unchecking the box detailed in stage 8.

    13. Ensure that the VM management software is shutdown, and then go into CMD and change the directory to "Oracle" - once inside through directory through the command prompt use the command: "VBoxManage setextradata global GUI/Customizations noMenuBar,noStatusBar" to remove status and menu bars.
    14. Open up the Oracle management software, and select "Settings" and then "General" - change the name of the sandbox from "Sandbox Clone" to "Sandbox"
    15. Test as teacher and pupil



SHARE:
+ Post New Thread

Similar Threads

  1. Multiple mapped drive problem
    By mullet_man in forum Scripts
    Replies: 7
    Last Post: 10th September 2008, 09:54 PM
  2. Odd mapped drive problem...
    By Ben_Stanton in forum Windows
    Replies: 2
    Last Post: 11th July 2008, 10:31 AM
  3. External hard drive problems (Toshiba)
    By googlemad in forum Hardware
    Replies: 0
    Last Post: 23rd May 2008, 11:03 AM
  4. External sata hard drive problem.....
    By flashsnaps in forum Hardware
    Replies: 0
    Last Post: 8th February 2008, 12:27 AM
  5. drive problems after rebuild
    By DaveM in forum Hardware
    Replies: 8
    Last Post: 25th May 2007, 12:00 PM

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •