Help with Linux (No ms-windows installed) uefi setup
Linux - HardwareThis forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Help with Linux (No ms-windows installed) uefi setup
I can't get my x86 (32bit) Fedora-15 on /dev/sdb to boot with UEFI.
When I select "Launch EFI Shell from Filesystem Device" in bios it displays:
Warning
Not Found
ok ...Selecting "ok" sends me back to bios
I guess this means the Asus firmware (bios) can't find my /boot/efi/grub/grub.efi file. I tried renaming it to shellX86.efi, shelli386.efi & even shellx86_64.efi but nothing works.
I even downloaded the "EdkShellBinPkg_FullShell_la32_Shell_full.efi", renamed it as above & copied it to my /boot/efi directory ..but I still got the same warning message.
If anyone knows where Asus UFEI firmware looks for an EFI Shell & the name it searches for, I would appreciate the info.
Here is some info about my Linux system:
I have an Asus F1A75-M motherboard with EZ-Bios that supports UEFI booting.
It has an advanced bios option to "Launch EFI Shell From Filesystem Device" & I have GPT partitions setup as follows:
#gdisk -l /dev/sdb
Number Start (sector) End (sector) Size Code Name
1 34 390625 190.7 MiB EF00 efi_sys
2 391168 98045951 46.6 GiB 0700 linux
3 98045952 101953535 1.9 GiB 8200 swap
4 101953536 121485311 9.3 GiB 0700 linux
5 121485312 625141759 240.2 GiB 0700 linux
#parted -l
Number Start End Size File system Name Flags
1 17.4kB 200MB 200MB fat32 efi_sys boot
2 200MB 50.2GB 50.0GB ext4 linux
3 50.2GB 52.2GB 2001MB linux-swap(v1) swap
4 52.2GB 62.2GB 10.0GB ext4 linux
5 62.2GB 320GB 258GB ext4 linux
My kernel-3.3.1 is configured for UEFI & have grub-1.99 configured for UEFI using the following commands: #Kernel
CONFIG_EFI_PARTITION=y
CONFIG_EFI=y
CONFIG_FB_EFI=y
CONFIG_EFI_VARS=m
#Grub-1.99
./configure --with-platform=efi --enable-grub-mkfont --target=i386 --program-prefix=""
grub-mkimage -O i386-efi -d . -o grub.efi -p "" boot normal part_gpt part_msdos efi_gop linux multiboot fat ext2 ls lspci reboot search help video lvm configfile datetime loadenv
#Grub.cfg
timeout=10
default=0
set prefix=(hd0,gpt1)/efi/grub
set color_normal=white/black
set menu_color_normal=white/dark-gray
set menu_color_highlight=green/yellow
if $prefix/font/unicode.pf2 ; then
insmod font
loadfont $prefix/font/unifont.pf2
set gfxmode="1024x768x32"
set gfxpayload=keep
insmod gfxterm
terminal_output gfxterm
fi
menuentry "linux-sdb 3.3.1-se fedora-FC15 systemd no-initramfs fglrx uefi" {
set root=(hd0,gpt1)
linux (hd0,gpt2)/boot/bzImage-3.3.1-se root=/dev/sdb2 ro resume=/dev/sdb4 raid=noautodetect init=/bin/systemd
}
Actually I am planning to install Fedora-17 (X86-64) when it is available. My current Fedora-15 is a x86 (32 bit) install & I have been reluctant to install a 64 bit operating system for fear of software support. However, I guess this is the future & I Think it may also solve my problem booting in UEFI Mode.
I Think Asus EZ-Bios (F1A75-M motherboard) uses X86_64 UEFI FIRMWARE ARCHITECTURE & Since my Fedora-15 is x86 it can't find my i386 grub.efi shell. When I install Fedora-17 as X86_64, I'll configure Grub-1.99 as an x86_64 bootloader & then make an x86_64 grub.efi as follows.
Actually, I think Fedora-17 comes with grub-1.99 so it will probably already be configured for x86_64 booting. Maybe the install CD will have even have an option to install with UEFI booting. I'll have to wait & see.
In the meantime if anyone can shed more light on booting Linux in UEFI mode I would appreciate a reply. Thanks for reading this post.
... I have been reluctant to install a 64 bit operating system for fear of software support.
These days mostly all software has 64 bit versions available. Unless you specifically know that there is some software that you really need that is only available in a 32 bit version I would go with 64 bit.
Quote:
Originally Posted by ssenuta
In the meantime if anyone can shed more light on booting Linux in UEFI mode I would appreciate a reply.
According to this thread on the Suse forums, a UEFI Linux install, at least on Asus motherboards, may not be possible because they only support Windows with UEFI installs: http://forums.opensuse.org/english/g...ll-64-bit.html
You should still be able to install any Linux on a motherboard with a UEFI bios though. Just boot from the install disc and install the regular way.
TobiSGB managed to install Slackware on that same Asus M5A99X EVO motherboard they talked about in that thread on the Suse forums: http://www.linuxquestions.org/questi...3/#post4648502
I also have the Asus F1A75-M motherboard (bios version 1901). It looks like the fat32 formatted EFI system partition (EF00) is already in place. As mentioned in the openSUSE link, the fallback location \efi\boot\bootx64.efi works for my setups (below) where bootx64.efi is GRUB's or rEFInd's efi file copied and renamed. Since I have the ESP mounted to /boot/efi, it looks like /boot/efi/efi/boot/bootx64.efi after successfully booting.
Arch Linux 64-bit + GRUB2 1:2.00beta3-1 on Samsung Series 9 NP900X3A
Arch Linux 64-bit + rEFInd (git 20120427) on Asus F1A75-M
Last edited by clunky munky; 04-27-2012 at 10:12 AM.
Reason: forgot to mention source of bootx64.efi
Thanks clunky munky. Its good to know the Asus F1A75-M UEFI firmware will successfully boot in UEFI Mode.
I still plan to Inatall Fedora-17-x86_64 when the stable version is (May 15th) available.
After reading the Fedora-16 installation instructions, I will try a custom setup with one of the (3ea) partition setups.
UEFI System Partitions (1st choice):
NUMBER MNT-POINT SIZE DEVICE FILESYSTEM NAME CODE FLAG
1 /boot/efi 200MB /dev/sda1 vfat efi_sys EF00 BOOT ../boot/efi/EFI/redhat/grub.efi (grub efi-bootloader)
2 / 50GB /dev/sda2 ext4 linux 0700 ..code 8300 also possible if dual booting windows
3 ------ 2GB /dev/sda3 linux-swap swap 8200
4 /home 10GB /dev/sda4 ext4 linux 0700 ..code 8300 also possible if dual booting windows
5 un-partitioned
NOTE: parted probably will use code 0700 instead of 8300 because I don't dual-boot Windows
BIOS GPT Partitions (2nd choice):
NUMBER MNT-POINT SIZE DEVICE FILESYSTEM NAME CODE FLAG
1 ------ 1MB /dev/sda1 ------ linux EF02 bios_grub ..grub2 will put its core.img data here
2 /boot 250MB /dev/sda2 ext3 linux 0700 legacy_boot
3 / 50GB /dev/sda3 ext4 linux 0700
4 ------ 2GB /dev/sda4 linux-swap swap 8300
5 /home 10GB /dev/sda5 ext4 linux 0700
6 un-partitioned
MS-DOS Partitions (3rd choice):
NUMBER TYPE MNT-PT SIZE DEVICE FILESYSTEM NAME CODE FLAG
1 primary /boot 250MB /dev/sda1 ext3 linux 83 * ..kernel & boot-loader files here
2 primary / 50GB /dev/sda2 ext4 linux 83
3 primary ------ 2GB /dev/sda3 linux-swap linux 82
4 extended ------ /dev/sda4 ------ extended 05
5 logical /home 10GB /dev/sda5 ext4 linux 83
6 logical un-partitioned
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.