Last active
April 11, 2024 23:33
-
-
Save komuw/10992190 to your computer and use it in GitHub Desktop.
How To enable VT-x support in chromebook
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Generously taken from this discussion; https://github.com/dnschneid/crouton/issues/675 | |
They've created a wiki: https://github.com/dnschneid/crouton/wiki/Repack-kernel-to-Enable-VT_x-for-Virtualbox | |
You should check it out to see if anything has changed. | |
A. first of all install virtualbox correctly: https://gist.github.com/komuW/10991598. then; | |
1.Open a shell on your Chrome OS | |
ie while in in chromeOS; open browser, then ctrl+alt+T, then type shell, then press enter | |
2.Disable verified boot : | |
(You could do this later, but you have to do this before step 10. It won't boot up otherwise.) | |
$ sudo crossystem dev_boot_signed_only=0 | |
3.Change current directory to Downloads as a temporary folder: | |
$ cd ~/Downloads/ | |
4.Copy the existing kernel into a file: | |
$ sudo dd if=/dev/sda2 of=kernel2 | |
$ sudo dd if=/dev/sda4 of=kernel4 | |
5.Get the kernel configuration: | |
$ vbutil_kernel --verify kernel2 --verbose | tail -1 > vmxoff-config2.txt | |
$ vbutil_kernel --verify kernel4 --verbose | tail -1 > vmxoff-config4.txt | |
6.Add 'disablevmx=off' to the config line: | |
$ sed -i -e 's/$/ disablevmx=off/' vmxoff-config2.txt | |
$ sed -i -e 's/$/ disablevmx=off/' vmxoff-config4.txt | |
7.Repack the kernels: | |
$ vbutil_kernel --repack repacked2 --signprivate /usr/share/vboot/devkeys/kernel_data_key.vbprivk --keyblock /usr/share/vboot/devkeys/kernel.keyblock --oldblob kernel2 --config vmxoff-config2.txt | |
#ie in one line | |
$ vbutil_kernel --repack repacked4 --signprivate /usr/share/vboot/devkeys/kernel_data_key.vbprivk --keyblock /usr/share/vboot/devkeys/kernel.keyblock --oldblob kernel4 --config vmxoff-config4.txt | |
#another one line | |
8.Verify the new kernels (You should see Body verification succeeded): | |
$ vbutil_kernel --verify repacked2 --verbose | |
$ vbutil_kernel --verify repacked4 --verbose | |
9.Copy the kernels back: | |
$ sudo dd if=repacked2 of=/dev/sda2 | |
$ sudo dd if=repacked4 of=/dev/sda4 | |
10.Reboot, and enjoy VT-x extensions | |
#NB: you should reboot the whole computer, ie the chromeOS. |
do recovery key combo and then do ctrl+d
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
@Zachat6
Try using "/dev/mmcblk*" instead of "/dev/sd*"
Use the df and fdisk command just in case