VM only boots to UEFI after ubuntu install

Status
Not open for further replies.

foefyre

Dabbler
Joined
Jan 18, 2017
Messages
22
Same as title, Ive read some info about a missing file but i dont know where to find it or where to copy it to. Is there and fix for this?
 

Ranko Kohime

Dabbler
Joined
Jan 10, 2016
Messages
15
I'm having a similar issue, however after installation, if I let the installer reboot, while the ISO is still attached, the install will boot normally, and continue to do so as many times as I reboot, however, as soon as I shutdown the VM (either shutting down from within the VM, or shutting down in FN UI while at a GRUB menu), it can no longer boot from the Zvol I've assigned it.

Are you seeing similar behavior, foefyre?
 

chris crude

Patron
Joined
Oct 13, 2016
Messages
210

Ranko Kohime

Dabbler
Joined
Jan 10, 2016
Messages
15
Try this thread: https://forums.freenas.org/index.ph...tu-desktop-vm-in-uefi-mode.53863/#post-390173

Fixed my issue with Ubuntu VM not running after an immediate installation.
I did get mine up and working, but the post you linked to is CONFUZZLING. :p

After running the commands given by the Boot Repair will pop-up. I got an error saying grub still exists.
i click next or forward and had to copy and run another few commands given by the Boot Repair will pop-up.
What even is this paragraph? What "another few commands" specifically is the poster talking about, assuming I even correctly understood the intent of the post? (I understand that some people on the Internet might not have English as their first language, but this person's profile states Ireland, which I thought was an English speaking country for the most part...)

Anyway, here is what I have done:

After the VM breaks and starts booting to the UEFI, I add the Ubuntu server ISO to the VM, start it up, (the VM doesn't catch on to the changes while running, so it must be stopped before attempting to start from the ISO), and select Repair Broken System from the GRUB menu.

After the ISO goes through it's multitudinous machinations, it asks for a device to use as a root filesystem, which in the case of guided partitioning is probably /dev/sda2.

One would think that "Reinstall GRUB boot loader" would be the correct choice, not so. Choose "Force GRUB installation to the EFI removable media path", select Yes, then reboot the system.
 

chris crude

Patron
Joined
Oct 13, 2016
Messages
210
What even is this paragraph? What "another few commands" specifically is the poster talking about, assuming I even correctly understood the intent of the post? (I understand that some people on the Internet might not have English as their first language, but this person's profile states Ireland, which I thought was an English speaking country for the most part...)
Different Linux Distro might give you different commands, different steps than the linked post. In my opinion which doesnt mean much in the real world, I like using these terminal commands because along with fixing the boot problem, it updates everything.
 
Status
Not open for further replies.
Top