
Template:VirtualBox Read Only Disk
Set the VirtualBox virtual harddrive to read-only.
1. Power off the machine.
2. Open setting window of the machine and set the type of storage device controller from AHCI
to LsiLogic SAS
.
VirtualBox
→ Settings
→ Storage
→ Type:
LsiLogic SAS
→ OK
3. Learn the syntax.
Do not run the following command. Only look at it.
TODO research: lsilogicsas
might no longer work because nowadays using IntelAhci. So commands below need adjustment. How? This is difficult because undocumented by VirtualBox.
VBoxManage setextradata vmname "VBoxInternal/Devices/lsilogicsas/0/LUN#0/AttachedDriver/Config/ReadOnly" 1
Replace vmname
with the name of the actual VM name.
4. On the command line run.
Kicksecure Xfce example:
Click = Copy Copied to clipboard!
Kicksecure CLI example:
Click = Copy Copied to clipboard!