You are not logged in.

#1 2017-03-10 10:57:06

takeoffyoung
Member
Registered: 2017-03-10
Posts: 2

I can not enter boot loader(grub) when I shutdown the virtual machine

I have finished the installation process on my virtualbox(MacOS hosted)
parted /dev/sda into /dev/sda1 (as UEFI part, and set it boot on), /dev/sda2(as root directory)
And I've update /etc/fstab, but there are some problems  when I boot my virtual machine.

After I enter the OS(boot it maually), I could execute cmd "grub-install --target=x86_64-efi --efi-directory=/boot"  to install grub, then i could enter boot loader if I reboot the virtual machine.
But if I shutdown the virtual machine by close Arch virtual machine window, and open it manually, I could only see the UEFI shell prompt, and I must "exit", choose "boot from file" and get into OS by booting from "/boot/EFI/grub/grubx64.efi

Offline

#2 2017-03-10 16:31:44

jean_no
Member
Registered: 2007-09-18
Posts: 48

Re: I can not enter boot loader(grub) when I shutdown the virtual machine

Hi

Check out the wiki for installing Arch in UEFI in VirtualBox: https://wiki.archlinux.org/index.php/Vi … n_EFI_mode

A+

Offline

#3 2017-03-11 07:48:24

takeoffyoung
Member
Registered: 2017-03-10
Posts: 2

Re: I can not enter boot loader(grub) when I shutdown the virtual machine

jean_no wrote:

Hi

Check out the wiki for installing Arch in UEFI in VirtualBox: https://wiki.archlinux.org/index.php/Vi … n_EFI_mode

A+

Thanks for your answer. But, I do every think mentioned in the installation guide. and copy my **x64.efi file into /boot/EFI/boot/bootx64.efi (posted on bbs).

But it does not work as before.

/boot/EFI
     --- BOOT
              --- bootx64.efi
      --- grub
              --- grubx64.efi

Offline

#4 2017-03-13 14:43:45

Texbrew
Member
From: The Lone Star State
Registered: 2016-02-09
Posts: 580

Re: I can not enter boot loader(grub) when I shutdown the virtual machine

Why do you need UEFI boot for a VirtualBox install? Is it just for practice for a bare metal install?

Offline

Board footer

Powered by FluxBB