Discussion:
FreeBSD can't boot from UEFI after installation
Dmitry Potapov
2014-09-23 13:40:28 UTC
Permalink
Hello!
gpart create -s gpt ada0
gpart add -t efi -s 800K ada0
gpart add -t freebsd-ufs ada0
dd if=/boot/boot1.efifat of=/dev/ada0p1
newfs /dev/ada0p2
...
Reboot and Select proper Boot device
or Insert Boot Media in selected Boot device and press a key
I see that this problem affects a certain ASUS laptops, so I've tried to update BIOS, play with my BIOS boot settings and so on, still I can't get it up.

Any thoughts on this?
Andrea Venturoli
2014-09-23 13:46:28 UTC
Permalink
Post by Dmitry Potapov
Hello!
gpart create -s gpt ada0
gpart add -t efi -s 800K ada0
gpart add -t freebsd-ufs ada0
dd if=/boot/boot1.efifat of=/dev/ada0p1
newfs /dev/ada0p2
...
Reboot and Select proper Boot device
or Insert Boot Media in selected Boot device and press a key
I see that this problem affects a certain ASUS laptops, so I've tried to update BIOS, play with my BIOS boot settings and so on, still I can't get it up.
Any thoughts on this?
Did you try disabling UEFI and going back to legacy boot?

bye
av.
Dmitry Potapov
2014-09-23 13:49:13 UTC
Permalink
There is no way to enable/disable UEFI, nor to set any relevant options.
Post by Andrea Venturoli
 Hello!
 gpart create -s gpt ada0
 gpart add -t efi -s 800K ada0
 gpart add -t freebsd-ufs ada0
 dd if=/boot/boot1.efifat of=/dev/ada0p1
 newfs /dev/ada0p2
 ...
 Reboot and Select proper Boot device
 or Insert Boot Media in selected Boot device and press a key
 I see that this problem affects a certain ASUS laptops, so I've tried to update BIOS, play with my BIOS boot settings and so on, still I can't get it up.
 Any thoughts on this?
Did you try disabling UEFI and going back to legacy boot?
  bye
        av.
_______________________________________________
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
Andrea Venturoli
2014-09-23 14:21:42 UTC
Permalink
Post by Dmitry Potapov
There is no way to enable/disable UEFI, nor to set any relevant options.
Sure?
I've dealt with several crappy Asus notebooks and they all allow
disabling SecureBoot, altough the options are a bit hidden.

Try:
_ disabling FastBoot on the Boot page;
_ on the same Boot page, enable "Launch CSM";
_ on the security page disable "Secure Boot Control";
_ save and reboot;
_ reenter the BIOS settings;
_ you should now be able to allow legacy boot devices.

HTH.

bye
av.
Dmitry Potapov
2014-09-23 14:25:39 UTC
Permalink
Uh, there is no "FastBoot" option on the "Boot" page.
Post by Andrea Venturoli
 There is no way to enable/disable UEFI, nor to set any relevant options.
Sure?
I've dealt with several crappy Asus notebooks and they all allow
disabling SecureBoot, altough the options are a bit hidden.
_ disabling FastBoot on the Boot page;
_ on the same Boot page, enable "Launch CSM";
_ on the security page disable "Secure Boot Control";
_ save and reboot;
_ reenter the BIOS settings;
_ you should now be able to allow legacy boot devices.
HTH.
  bye
        av.
Dmitry Potapov
2014-09-23 13:55:03 UTC
Permalink
Oh, I've also tried to add direct boot option by the GPI and FreeBSD EFI loader path, but also didn't work.
Dmitry Potapov
2014-09-23 15:21:05 UTC
Permalink
Anyways, I've just installed the system on MBR and set kern.vty to vt for now.

Thanks for help.
CeDeROM
2014-09-23 18:31:30 UTC
Permalink
I had similar issue when mixed MBR and GPT on the same disk and
switched between UEFI and Legacy boot mode several times, so they
probably got confused somehow by a mess on a disk partition modes. So
I blanked all disk and did a clean install and there was no problem
:-)
--
CeDeROM, SQ7MHZ, http://www.tomek.cedro.info
Loading...