FreeNAS 11 bhyve and zentyal 4.2

Status
Not open for further replies.

Michal Bocek

Cadet
Joined
May 6, 2017
Messages
4
Hello,
I have freshly install FreeNAS 11 RC. I have tried to create vm with zentyal 4.2 without success.
I can not boot from iso. regular ubuntu 16.04 works fine.

Thanks for help,
Michal.
 
Last edited by a moderator:

Zenith_UK

Dabbler
Joined
May 6, 2017
Messages
15
Hi Michal

I'm a newbie on these forums, but what does the VNC console show on the failed boot? If it drops you into the UEFI shell, then it's something I have come across today with debian, which I was kindly helped out with by a more knowledgeable chap.

My issue was at https://forums.freenas.org/index.php?threads/adding-existing-bhyve-vm-to-freenas-11-gui.54280/ and when I tried to sort out the UEFI boot for my debian VM with a debian live iso, I faced issues with booting from that iso image because it didn't support UEFI boot. I ended up using a gparted live iso instead, but hopefully someone can point you in the right direction.
 

Zenith_UK

Dabbler
Joined
May 6, 2017
Messages
15
As a sidenote, I successfully installed ClearOS 7 as a VM today onto FreeNAS 11 RC1, so unless you are particularly tied to Zentyal, you could go for that instead. I understand their features are very similar.
 

Michal Bocek

Cadet
Joined
May 6, 2017
Messages
4
Actually, i can't.
Zentyal has features in development (free) version which I need, so at the moment I will stay on esxi.
I saw some templates in freenas repo: https://github.com/freenas/vm-templates
Looks like these frenas' clever guys had good idea "templates" in version 10 and i believe they will bring this feature to version 11.
 

Zenith_UK

Dabbler
Joined
May 6, 2017
Messages
15
There is a way you can get it now, with some extra work.

  1. Install Ubuntu Server 16.04.2 into a VM (which will install ok)
  2. It will then drop you out to the UEFI shell on first boot, as the required EFI file location won't be there (thanks to Krisbee's guide here to explain the reason https://forums.freenas.org/index.ph...-boot-linux-vms-using-uefi.54039/#post-375824)
  3. Type exit in UEFI shell and go to Boot Maintenance Manager and select Boot From File
  4. Step through the only option and select grubx64.efi
  5. Your VM will now boot up
  6. Run sudo su - and cd to /boot/efi/EFI
  7. Run mkdir BOOT
  8. Run cp /boot/efi/EFI/ubuntu/grubx64.efi /boot/efi/EFI/BOOT/bootx64.efi
  9. Shutdown your VM and start again. It should boot normally now
  10. Use the following guide to add the Zentyal repository and install it https://wiki.zentyal.org/wiki/Installation_Guide
Tested and working for me (I was curious to take a look at Zentyal too..)
 

Zenith_UK

Dabbler
Joined
May 6, 2017
Messages
15
Also, using that guide, I installed Zentyal 5.0, but if you do need 4.2 specifically, you may have to adjust to suit.
 

Michal Bocek

Cadet
Joined
May 6, 2017
Messages
4
There is a way you can get it now, with some extra work.

  1. Install Ubuntu Server 16.04.2 into a VM (which will install ok)
  2. It will then drop you out to the UEFI shell on first boot, as the required EFI file location won't be there (thanks to Krisbee's guide here to explain the reason https://forums.freenas.org/index.ph...-boot-linux-vms-using-uefi.54039/#post-375824)
  3. Type exit in UEFI shell and go to Boot Maintenance Manager and select Boot From File
  4. Step through the only option and select grubx64.efi
  5. Your VM will now boot up
  6. Run sudo su - and cd to /boot/efi/EFI
  7. Run mkdir BOOT
  8. Run cp /boot/efi/EFI/ubuntu/grubx64.efi /boot/efi/EFI/BOOT/bootx64.efi
  9. Shutdown your VM and start again. It should boot normally now
  10. Use the following guide to add the Zentyal repository and install it https://wiki.zentyal.org/wiki/Installation_Guide
Tested and working for me (I was curious to take a look at Zentyal too..)
This guide worked like charm. Unfortunately after ubuntu apt upgrade, vm do not boot up. I found nothing in freenas log /var/log/messages. It looks but strange.
 

Michal Bocek

Cadet
Joined
May 6, 2017
Messages
4
Whole VM didn't start. I tried to enable "wait to boot" flag in VNC but the machine didn't start.
 
Status
Not open for further replies.
Top