short-stack
Explorer
- Joined
- Feb 28, 2017
- Messages
- 80
Please Help!
I'm trying to get this to work on FreeNAS 11.1-U5 (lastest at time of writing) and am following this tutorial that you have so kindly shared. Thank you.
When I run the vm command, I get this error:
root@freenas:~ # vm
/usr/local/sbin/vm: WARNING: $vm_enable is not set properly - see rc.conf(5).
/usr/local/sbin/vm: ERROR: $vm_enable is not enabled in /etc/rc.conf!
I checked my rc.conf and these are the vm related lines:
# open-vm-tools
vmware_guest_vmblock_enable="YES"
vmware_guest_vmhgfs_enable="YES"
vmware_guest_vmmemctl_enable="YES"
Am I missing something here??
Uhhh I wrote this when Corral first came out which had a lot of issues created the disk from the GUI, and in 11.x adding a harddrive from the GUI is no longer an issue. So this is pretty outdated, and I should re-write it so it's current.
For the time being, until I can update this properly, the easiest way to do this now would be to do this:
- First go under Storage, and create a zvol named whatever is easy to remember, and whatever size you want the harddisk for the VM to be.
- Go back to the VMs section, and click the VM and then select 'devices' at the bottom.
- Click Add device
- For VM: Choose your VM in the drop down
- For Type: select disk
- For ZVol: select the zvol you just created
- For Mode: leave it at AHCI
- For Disk sectorsize: I just leave it at the default of 0.
As for the last part regarding the issues with booting, KrisBee has a much simpler solution to using a live cd as a rescue disk here: https://forums.freenas.org/index.php?threads/howto-how-to-boot-linux-vms-using-uefi.54039/