Page 1 of 2 12 LastLast
Results 1 to 10 of 12

Thread: UEFI Installing - Tips

  1. #1
    Join Date
    Jun 2009
    SW Forida

    UEFI Installing - Tips

    General UEFI install Info (not for Macs)
    Do not turn legacy on. Most work better if UEFI only setting used. Lenovo annouced all 2020 products will be UEFI only (UEFI Class 3 or no CSM).
    Note: Samsung may brick in UEFI mode. Better to use BIOS. (old but still valid)
    Ubuntu 22.04 LTS is now available. Desktop & other versions & flavors here:
    Note that 22.04, & 20.04 LTS are long term support versions. See below on enablement stack versions.
    Very new hardware may need the newest version to have updated kernel & drivers. And that may include the 9 month support versions released between the LTS versions.

    Systems need UEFI updates for or Meltdown/Spectre mitigation, both Windows & Linux kernel updated, but new variants regularly found, so regular updates needed. One exception: Do not update UEFI for x299 if Kaby-X Also June 2021 many Dell models need UEFI update. See below for more info.
    If SSD, you may also need firmware updates

    If re-installing Ubuntu only use Something Else (links to examples below).
    Do not use LVM nor full drive encryption if new user. It will erase your Windows and requires advanced knowledge. But many advanced users especially with servers use LVM.
    Many brands/models have unique settings, see below.

    Backups are very important, see backup section below.

    UEFI is now a bit more complex than the old BIOS install as it includes both UEFI and BIOS as options. You must choose in UEFI and choose how you boot installs. Various settings in UEFI/BIOS may be required to enable correct boot mode. You do always want to boot in UEFI mode, but may not need nor want secure boot mode of UEFI.
    Install instructions for dual booting in UEFI apply with any current version of Windows in UEFI mode & Ubuntu in UEFI mode. Very minor differences with newer Windows (same settings required) and Ubuntu versions.

    Major Sections below:
    Summary UEFI install instructions
    Ubuntu UEFI install ISO Download link
    Windows 10 or 8 pre-installed with UEFI & secure boot, Windows 10 upgrade from Windows 7 probably BIOS with MBR partitions. No UEFI system, but if newer hardware it may be UEFI.
    Systems that only boot Windows from UEFI.
    Boot-Repair Should only be required if issues, will not fix Windows. Great for Summary Report.
    Partitioning - gpt required for UEFI
    Boot but black screen/Video issues with nVidia or AMD, nomodeset

    Additional Info
    gpt partitioning
    Two drive installs - both must be gpt partitioned
    Backup - Windows & efi partition
    UltraBooks with Intel SRT(Seen as RAID) and dual video
    efi Menu cleanup
    Windows 8/10 repair links
    rEFInd Boot Manager may solve some issues
    Examples by brand - Some users have posted details of how they did it.
    Links to additional info & what UEFI is

    Some good detail on UEFI & Windows settings needed - by tea for one

    Summary UEFI install instructions:
    1. Back up Windows, your data, and make a Windows repair/recovery flash drive.
    2. Download and create Ubuntu 64 bit installer, USB flash drive (new versions may not work with DVD).
    3. Only use Windows own Disk Management tools to shrink Windows & reboot so it can run chkdsk.
    4. Turn off Windows fast startup & bitlocker in Windows.
    5. In UEFI turn off fast boot (different than fast start up) and often better but not required to turn off Secure boot (may be called "other" vs. "Windows"), only some may need CSM mode on (older Dell), but still select UEFI. Usually best to have UEFI only as boot mode.
    6. Some UEFI may need you to turn on or allow USB boot, especially if Secure boot is on.
    7. Boot Ubuntu live installer in UEFI live mode, and verify your system works ok. How you boot installer UEFI or BIOS is how it installs.
    8. Install Ubuntu. links to screen shots below Only / (root) as ext4 & ESP required. But may want others. Only one ESP per drive and installer will auto find it, if existing.
    new versions will install proprietary nVidia driver if Safe Boot option & choose to install third-party software options are checked. If UEFI Secure Boot on, user must provide UEFI secure boot key.
    If nVidia or AMD video may need nomodeset boot parameter. Some brands also may need other boot parameters.
    Create backup procedure for your Ubuntu data and configuration files.
    If Issue with install, more info needed, or terms not understood, see info & links below:

    Ubuntu UEFI install ISO
    Also link on install guide, from Windows or Ubuntu
    Easy way to create UEFI only bootable flash drive, did not work on some older verions.

    Windows 8 or 10 pre-installed & secure boot
    Since vendors also have bugs in UEFI, they are also updating regularly. Best to update to latest UEFI/BIOS version. You may have to make UEFI/BIOS settings changes also. New SSD also may need firmware updates.
    You will need to use the 64 bit version of newest 22.04.x (best for very new hardware) and from the UEFI menu, boot the flash drive in UEFI mode. That way it will install in UEFI mode. Very new hardware needs latest version of Ubuntu and still may need ppa to update to even newer software/drivers not yet in distribution.

    Systems need Windows fast start up (hibernation) and UEFI/BIOS fast boot or quick boot UEFI settings turned off. Vital for some systems. UEFI fast boot may prevent or make it difficult to get into UEFI menu. Some systems need password set to allow settings changes (Acer for one).

    Use Windows Disk Tools to shrink Windows main partition, but not to create any new partitions, if installing on same drive. Reboot into Windows after shrink so it can run its repairs to its new size. Make sure Windows fast startup & bitlocker are off.
    Backup efi partition and Windows partition before Install of Ubuntu.

    Shows install with screen shots. Both BIOS purple accessibility screen & UEFI black grub menu screen - Good first link to follow for UEFI install details:
    How To Install Ubuntu Linux Alongside Windows 8 or 10 (UEFI)

    Linux on UEFI: Installation Guides with screen shots

    Something Else or manual Install, essentially same for Windows 10 & Ubuntu 16.04.
    More info on Windows:

    It is possible to install Ubuntu on UEFI systems with Secure Boot enabled (using signed versions of Shim, GRUB, and the Linux kernel). But best to use newest version to have latest software updates as UEFI fixes for newest hardware is more up to date in newer versions.
    22.04 & 20.04 LTS Release Notes:

    Enablement stack update schedules, newer kernels in LTS versions for newer systems

    UEFI systems now have multiple ways to boot - UEFI w/Secure boot, UEFI (secure boot off) and BIOS/CSM. Some UEFI clearly have all 3 settings, others may default. Some are not clear that a Windows boot setting in UEFI means secure boot and you need to select "Other" for UEFI only or CSM- UEFI Compatibility Support Module (CSM), which emulates a BIOS mode. Also the mode you select to boot USB installer may not be the default you have set in UEFI/BIOS. Make sure all boot settings are UEFI.

    gpt(GUID)) partitioning
    Required for UEFI, and for drives over 2TB.
    You can also use gparted but must change default partitioning first.
    Select gpt under device, advanced over msdos(MBR) default partitioning before starting. Note: erases entire drive.
    Or use gdisk which is in repository, now standard in newer installs:
    GPT fdisk Tutorial -srs5694 in forums
    sudo apt-get install gdisk
    GPT Advantages (older but still valid) srs5694 post #2:

    Two Drive UEFI installs, Internal, external or flash drive
    You must gpt partition in advance including ESP - efi system partition on second drive, then use Something Else to install.

    Grub default installs to first drive's ESP, you can either copy files from first drive to second drive's ESP, update entry in EFI and edit fstab. Or change default entry while installing. Still have to edit fstab after install so updates are to correct ESP. See #23 & #26

    Install Ubuntu in UEFI mode on second HDD without affecting first HDD
    UEFI dual boot two drives - HP
    UEFI dual boot two drives see #14 on how edit UUID to Windows efi partiton

    Two Drive installs or external drive - See also examples below
    You must partition in advance with ESP on second drive and then see this work around in post 23. Still may need to update fstab with correct UUID.

    Often easier to unplug or in UEFI turn off Windows drive. Then do a standard UEFI install to Ubuntu drive.
    Or remove esp flag from Windows before install to second or external drive - Tim Richardson

    Both drives must be gpt partitioned. Best to include ESP - efi system partition as first partition on every gpt drive, even if booting from Windows efi partition. And Ubuntu's grub only installs to ESP on first drive usually sda or nvme0n1.
    Once you are booting with UEFI, best to have all drives and larger external devices even larger flash as gpt partitioned with an efi partition first even if just for future use. May have to manually edit UUID of efi partition, but Boot-Repair updated for two drive installs.

    And Ubuntu's UEFI grub only installs to the ESP on sda, or not the external drive and not to /EFI/Boot/bootx64.efi. For my PC UEFI full install to a flash drive I manually copied /EFI/ubuntu on sda's ESP to flash drive's ESP. Then copied it again to /EFI/Boot and renamed shimx64.efi to bootx64.efi. I then updated fstab to have correct UUID for ESP on external drive.

    The version of grub in a full install is hard coded to find the rest of grub in /EFI/ubuntu so both copies are required. There are ways to directly install grub as bootx64.efi, but then you have to manually maintain grub.cfg.
    Good advice on UEFI and two drive installs

    Details on full UEFI install to flash drive or any external drive.

    New user with only 50GB for Linux only needs / (root) as ext4. And ESP if UEFI.
    If more space then smaller / of 25 to 30GB & rest as /home. Or more advanced use data partition(s) for your data.

    With UEFI, gpt partitioning is (almost) required. If multiple drives all bootable drives need to be gpt and best if data drives are also gpt in case later you want to make it bootable. With gpt there is no primary, extended, logical partitions as in MBR(msdos) nor the 4 primary partition limit.

    You can only have one ESP/efi partition per drive (Ubuntu will share Windows ESP if dual booting on same drive) and with gparted you use the boot flag to assign it as the efi partition. No other partitions can have boot flag. Only if booting in BIOS mode with Ubuntu on gpt partitioned drive, you need a bios_grub partition.
    Windows will only boot in UEFI mode so you cannot install Windows to gpt drive unless booting with UEFI.
    I suggest 300-500MB efi partition - FAT32, 25 to30GB /(root) - ext4, and then either /home - ext4, or /mnt/data partition(s). But you cannot do data partitions as part of install.
    If dual booting with Windows a shared NTFS data partition is also recommended.

    UEFI update
    UEFI/BIOS updates brand & model list, note for Dell with (uefi >= 0.6.2 & dell >= 0.7.3)
    Dell required update June 2021

    Backup - Windows, data & efi partitions
    Backup windows before install - post by Mark Phelps
    Another suggestion by srs5694
    Microsoft Windows 7,8 & 10 reinstall/refresh
    Ubuntu backup

    Black Screen/ Video Modes
    This usually required with AMD or nVidia. Newest versions now work better. And will let you install nVidia driver as part of install.
    How to set NOMODESET and other kernel boot options in grub2 - both liveCD & first boot, but different
    Newer systems may have this setting:
    Also turn off one Video mode or Intel settings in UEFI/BIOS like Intel NIC if USB flash not working.
    Some Laptops need this in place of quiet splash:
    acpi_osi=Linux acpi_backlight=vendor
    Some laptops just have backlight set way down, press f key to make it brighter

    Some new Intel may need above or this (usually not required with 16.04 or later):
    Or Force Intel Video mode as boot parameter in grub menu - change to your screen size

    Ubuntu 20.04 has option to install proprietary drivers as part of install. If UEFI Secure Boot on, you then have to provide your own Secure Boot signing key for those drivers.
    Also Ubuntu now has experimental ppa with newest nVidia drivers.

    UltraBooks - Also see examples below Also see updated comment in post #5 below. Grub may correctly install now with 14.04 or later without much effort.

    Ubuntu now installs with Intel RST on, but when grub sees the RAID grub will not install. So you have to turn the SRT off or set UEFI/BIOS to AHCI and remove the RAID meta data from the drives. Some install Ubuntu to SSD, others install to hard drive and turn SRT back on and have had it work.
    Dell XPS 8920 & Nvidia GTX 1060 & PCIe M2 drive Raid change to AHCI

    Some discussion of limits of new nVidia driver with some Optimus support
    Intel Smart Response Technology
    Some general info in post #3
    Uses larger SSD for both Intel SRT & Ubuntu
    Ubuntu on hard drive, re-enable SRT post #19 details
    If issues with RAID, disable the RAID (Change to AHCI unless RAID 0), it was using the Intel rapid management in UEFI and telling it to disable the acceleration or the use of the SSD. If you have a different system, just disable the RAID system then install Ubuntu. Once installed you can then re-enable it.
    sudo dmraid -E -r /dev/sda
    sudo dmraid -E -r /dev/sdb

    Grub menu (# is comment)

    # You can add this line to grub configuration or turn off the execute bit on 30_os-prober
    gksudo gedit /etc/default/grub
    #or turn off executable bit
    sudo chmod a-x /etc/grub.d/30_os-prober
    # Then do:
    sudo update-grub

    # Edit descriptions used by Boot-Repair or remove entire boot stanza
    sudo cp -a /etc/grub.d/25_custom /etc/grub.d/bkup25_custom
    gksudo gedit /etc/grub.d/25_custom
    #Then do:
    sudo update-grub

    UEFI menu clean up, delete old entries (UEFI saves entries in its NVRAM)
    You first need to remove /EFI/ubuntu folder from efi(ESP) partition or else UEFI may add it back again. Best to fully backup efi partition before making any changes.
    If you cannot do change from UEFI menu, you can from command line with efibootmgr.

    # from live USB flash booted in UEFI mode and use efibootmgr
    sudo apt-get install efibootmgr
    sudo efibootmgr -v
    ls /sys/firmware/efi/vars
    The "-v" option displays all the entries so you can confirm you're deleting the right one, and then you use the combination of "-b ####" (to specify the entry) and "-B" (to delete it). Examples #5 is delete:, with Ubuntu you need sudo, others must be at root.
    efibootmgr -b XXXX -B

    Really UEFI boot menu edits

    Remove Duplicate Firmware Objects in Windows BCD and NVRAM

    Boot Repair -Also handles LVM, GPT, separate /boot and UEFI dual boot, but not most Windows 80 or 10 issues (use your Windows repair/recovery disk):
    If issues, run Boot-Repair's summary report and post a new thread in Ubuntu forums.

    Boot-Repair will convert a BIOS install to UEFI by uninstalling grub-pc, and installing grub-efi-amd64, if gpt partitioned.
    It can update system to secure boot if you boot in secure boot mode. But then the grub entry for Windows may not work.

    If unsure of which file is orginal Windows boot file - Windows UEFI install should have backup of bootmgfw.efi here:
    C:\Windows\Boot\EFI\bootmgfw.efi from a working Windows x86_64 installation.

    How to Create a Bootable UEFI USB Flash Drive for Installing Windows 10, Windows 8, or Windows 8.1

    Windows 8/10 UEFI Repairs
    How to: Create a Recovery Drive for reinstalling Windows 10 from Windows 10
    Windows 10 repair disk
    Create Windows 8 Repair flash drive, must be FAT32 to boot in UEFI mode:

    rEFInd - Boot Manager
    rEFInd is a boot manager with graphical boot choices. UEFI and grub are also boot managers, but UEFI is limited and grub only has menu. You will still need grub2 as it is Ubuntu's boot loader but may want rEFInd. rEFInd also solves some issues with UEFI that will not correctly dual boot.
    Now has a ppa to make it easy to install:

    Examples - some older, newer versions of Ubuntu should be easier as major updates to kernel, support software, video & UEFI drivers.
    Dell often requires changing RAID to AHCI, may need UEFI update from Dell and SSD firmware update.
    How to Install Ubuntu Linux on your Dell PC
    Dell UEFI Dual boot instructions using Something Else
    Dell XPS 13 9360
    Dell XPS 13 9560 install without issues
    Dell XPS 8920 desktop GTX 1060, needed UEFI/BIOS update

    Toshiba Satellite - turned Secure boot off in Boot-Repair update & UEFI

    Screenshots of secure boot settings Asrock, Asus, HP, Acer

    Haswell Laptop - Toshiba P50
    acer aspire s7 Dual SSD RAID - [SOLVED] Installed Ubuntu on Pre- UEFI Win

    All Acer require supervisor password & enable "trust" on Ubuntu/grub efi files. Acer Trust Settings - details:

    Many Asus seem to need pci=nomsi boot parameter
    Problems Installing on ASUS F555U needed boot option pci=nomsi
    Asus x555u w/o pci=nomsi - space issue on drive and runaway log files filling drive
    ASUS Zenbook Prime UX32VD m=1

    HP to get into UEFI/BIOS menu - escape then f10 as soon as it starts. uct=5171079
    HP Check if Customized UEFI settings available like this HP ProBook 4340
    Dell UltraBook - Instructions & Details in Post #15 & 16 Devine Shine

    Lenovo T540 works but UEFI settings critical or it may brick
    Lenovo Thinkpad E531 - turn off locked boot order setting in UEFI
    Lenovo Ideapad Y500 LiveUSB Problem
    Samsung Ativ Book 9 Plus UEFI Install Troubles - manual copy of grub to /EFI/Boot
    Sony Vaio Pro 13 - To get into UEFI press this "Assist" button BEFORE starting
    [SOLVED] Trouble installing Xubuntu 14.04 on Toshiba Satellite P55-A (UEFI) - file rename
    Phoenix SecureCore Tiano bios setup and secure boot is greyed out. You need to set a Supervisor Password in the Security tab
    Samsung w/ Phoenix Tiano SecureCore

    Systems that only boot Windows from UEFI & using efibootmgr to manage UEFI entries.
    Per UEFI standard you should be able to boot any entry in UEFI boot menu. But some vendors have modified UEFI code to only boot the Windows efi file. The UEFI looks for the Windows file name and only boots it. (Note for Acer, it requires "trust" settings in UEFI)
    Installing Grub for UEFI secure boot is only possible if you have booted your system using EFI with the 64bit version with secure boot on. A few systems will only boot with UEFI and secure boot on or with CSM (BIOS) if secure boot is off. Best to test system to see which modes it boots in. In secure boot mode it will only show/allow systems that have secure boot. You may have to change UEFI settings or set password to allow other devices to boot.

    Backup entire efi partition before making changes.

    A: Manually rename files efi hard drive boot files in efi partition /EFI/Boot

    In Boot-Repair "Use the standard EFI file" Should do the same as these manual instrutions by copying shimx64.efi to /EFI/Boot/bootx64.efi for fallback or hard drive boot from UEFI menu.

    Rename /efi/boot/bootx64.efi, copy shim or grub into /efi/boot and name it bootx64.efi Then boot harddrive entry in UEFI menu.
    Older rename of Windows efi file not recommended anymore. (old versions of Boot-Repair did rename the Windows efi file)

    From live installer booted in UEFI mode, mount the efi partition on hard drive, lines with # are comments only: Mount ESP - efi system partition. check which partition is FAT32 with boot flag. Often sda1 or sda2 but varies.
    # if your ESP is not sda1 change this to correct partition
    sudo mount /dev/sda1 /mnt
    only if /EFI/Boot not already existing, run the mkdir command,
    sudo mkdir /mnt/EFI/Boot
    sudo cp /mnt/EFI/ubuntu/* /mnt/EFI/Boot
    # If new folder created, the bootx64.efi will not exist, skip backup command
    sudo mv /mnt/EFI/Boot/bootx64.efi /mnt/EFI/Boot/bootx64.efi.backup
    # make grub be hard drive boot entry in UEFI. Then boot hard drive entry in UEFI menu.
    sudo mv /mnt/EFI/Boot/grubx64.efi /mnt/EFI/Boot/bootx64.efi
    # You may need new hard drive entry (uses default of sda1 for ESP):
    sudo efibootmgr -c -L "UEFI Hard drive" -l "\EFI\Boot\bootx64.efi"
    # if not sda1 you must specify drive X with -d and partition Y with - p , see also man efibootmgr
    sudo efibootmgr -c -g -d /dev/sdX -p Y -w -L "UEFI hard drive" -l '\EFI\Boot\bootx64.efi'

    # confirm entries:
    sudo efibootmgr -v

    More examples of users who manually moved efi files

    B: Edit Windows BCD to make Ubuntu default (chg'd from grubx64 in case Secure Boot on)
    bcdedit /set {bootmgr} path \EFI\ubuntu\shimx64.efi
    UEFI NVRAM boot entries are cached in the BCD store
    BCD has 1:1 mappings for some UEFI global variables
    Any time {fwbootmgr} is manipulated, NVRAM is automatically updated

    C: Use efibootmgr, if only Ubuntu install, not dual boot, install to make Windows UEFI description boot grub or shim file (Assumes default of sda1 for ESP, see links for added parameters for different drive or partitions) examples are with efibootmgr's default of sda1 for ESP, additional parameters required if not sda1:
    sudo efibootmgr -c -L "Windows Boot Manager" -l "\EFI\ubuntu\shimx64.efi"
    If you have Windows to restore Windows boot entry:
    sudo efibootmgr -c -L "Windows Boot Manager" -l "\EFI\Microsoft\Boot\bootmgfw.efi"

    D: Some install rEFInd which seems to be another workaround and has nice boot icons.
    See section below on rEFInd

    Other work arounds for UEFI that only boots Windows.

    Restore or create new Ubuntu UEFI boot entry:
    sdX is drive, Y is efi partition , if sda2 for example
    sudo efibootmgr -c -L ubuntu -l "\EFI\ubuntu\shimx64.efi" -d /dev/sda -p 1
    sudo efibootmgr -c -L "Ubuntu" -l "\EFI\ubuntu\shimx64.efi" -d /dev/nvme0n1 -p 1

    Links to more Info
    Background and details of what UEFI is.
    Matthew Garrett's Blog
    Details on Ubuntu's shim with 12.10
    They land alongside their unsigned variants in /boot with the file suffix “.efi.signed”.

    Video Older versions still similar UEFI install process
    Intel - Install Ubuntu 12.10 part 3 of series for new system w/secure boot, part one install keys, part 2 install Windows 8

    Acer Windows 8 Video on getting into UEFI
    Dual-Boot Windows 8 and Ubuntu 12.10 (BIOS)
    Technical info on Legacy BIOS and UEFI AMI AptioMar 2012 - 20 MIn

    Somewhat simple explanation of UEFI:

    MOK - Machine Owner Key (MOK)
    ESP/efi - Efi System Partition for UEFI boot on gpt drive:
    bios_grub - For BIOS boot on gpt drive:
    BIOS - Basic Input/Output System # must be inside first 2TB of drive
    CSM - UEFI Compatibility Support Module (CSM), which emulates a BIOS mode, only available with secure boot off.
    Some vendors in 2020 are announcing CSM will be eliminated. Systems will be UEFI Class 3 (no CSM).
    Secure Boot -
    LVM Logical Volume Management
    LVM not recommended for newer users, but used with full drive encryption which erases entire hard drive.
    Windows BCD - Boot Configuration Data
    Common Linux terms:
    Last edited by oldfred; May 7th, 2023 at 05:17 PM. Reason: Updates 22.04LTS, removed 18.04
    UEFI boot install & repair info - Regularly Updated :
    Please use Thread Tools above first post to change to [Solved] when/if answered completely.

  2. #2
    Join Date
    May 2013

    Re: UEFI Installing - Tips

    I thought this should be meantioned somewhere like here, by the "Boot-Repair will convert a BIOS install to UEFI" bit, or on .

    Main Point:
    While trying to Convert Ubuntu into EFI mode, If there is a bios_grub flagged partition, it needs to be removed before running boot-repair.

    I was installing and trying various Ubuntu + Mint flavours on my new Samsung 3 series laptop, in dual-boot with Win8. Somewhere along the line I picked up a small (1mb) grub_bios flagged partition, as at least one of the installations happened in legacy mode.

    SecureBoot was always disabled. UEFI only, CSM, and legacy were changed as neccessary to get my various Install Media to boot.

    Although EFI was detected by boot-repair, grub persisted in looking in this grub_bios partition and not the EFI partition after running boot-repair (with various options including a purge of grub). I confirmed that the grub on the EFI partition was good by "SET"ting it from the grub_rescue prompt and booting the pc to both win8 + linux thereafter.

    I eventually fixed my problems by;
    - booting a "live" disk in EFI mode.
    - deleting the bios_grub flagged partion with gparted.
    - running boot-repair again.

    This was far easier than most of the googled "help" which was mostly about installing and configuring some other EFI bootmanager manually. As a linux newbie, I wasn't prepared to put the time into learning all that. I was just going to delete linux partitions and re-install (after ensuring the DVD booted in EFI mode), when I noticed the extra partition.

    P.S. Thanks a lot for the consolidated info in your post, it was very helpful.

  3. #3
    Join Date
    Nov 2008
    Arizona, USA

    Re: UEFI Installing - Tips

    One thing that threw me, when setting up my newly-bought UEFI system for dual-botting Ubuntu (13.04, Raring) is when you use boot repair, it lets you know that you need to go into your UEFI setup (I guess you can't call it BIOS, if you have UEFI) and mark the correct .efi file as trusted, if you have secure boot enabled (My Win8 woudn't boot unless Secure Boot was enabled).
    It makes sense, now that I think about it after the fact, but in order to enable the UEFI setup to mark anything as trusted (and do a few other things), you have to have a password set in the UEFI Setup; on my Acer laptop (InsydeH2O firmware) it was the "Supervisor" password. there's nothing stopping you (with my system, yours may vary) from unsetting the password after you've made your changes and saved them, though I decided to leave it.
    Also, unless you need to set it, if the hard disk password setting says "Frozen", you can ignore it. The hard disk password can only be set/reset if you did a cold boot. I assume that's probably true for all dydtems, though they may call it something else on other UEFI formware.

    It was pretty frustrating that while I know the "help" within the UEFI firmware is limited, it couldn't have at least given a clue that some settings had to be changed (set a Supervisor password, in this case) in order for other settings to be available to even be selected. I wasn't able to find a mention of anything about the UEFI setup on Acer's official site, but I got a clue when someone on their Acer User's site happened to mention that he had to set the password in order to get to the additional settings.

    Again, in retrospect, given the purpose of SecureBoot, this actually makes sense, where you have to have changing settings that would get around SecureBoot password-protected by default. But at 11:30 at night when I had finally gotten to that point in my Ubuntu install, it didn't occur to me to try setting a password to see if that enabled changing any of the settings associated with SecureBoot.

  4. #4
    Join Date
    Mar 2014

    Re: UEFI Installing - Tips

    Here is my info on how to set up Toshiba p-50 dual boot in EFI mode with NIK working properly:

    Bios is set to secure boot enabled and nik on.
    Latest 13.10 as of today boots OK when secure boot is enabled and fails to boot when it off on this Toshiba P-50 laptop. BIOS has been updated with latest firmware but I think it did not make any difference.
    Boot USB stick with ubuntu 13.10 into live boot and at terminal start 'gparted'.

    Do not touch any partition except for the one where windows 8 is installed. It is partition #4 from disk start, ntfs resize it down to around 250 gigs
    Next after on empty space create Data partition NTFS for around 500 gigs for data storage. It will be partition #5 from disk start.
    Next after on empty space create primary partition around 190 gigs ext4 type for Ubuntu install. It will be partition #6 from disk start.
    Use the rest of empty space for linux swap partition.

    Now reboot into windows 8 - it should be ok on resized partition and it should see 500 gigs Data partition from windows explorer.
    Reboot with orange usb stick with ubuntu 13.10 and choose install into ext4 and swap partitions that you done previously.
    Choose to install boot loader into linux dedicated partiton.
    Linux will not boot after install as grub is not installed yet. Boot with usb stick again , mount EFI partition with 'disks' and back up all content.
    In case boot config goes wrong you can just delete everything on EFI partition and put backed up files and folders back.
    After that run
    sudo add-apt-repository -y ppa:yannubuntu/boot-repair && sudo apt-get update
    Press Enter, then type the following command:
    sudo apt-get install -y boot-repair && boot-repair

    choose 'recommended repair' and disregard it's whining about 'you should disable secure boot' as it will install.
    The problem with grub2 installed on toshiba p50 that it will ask you for F12 key for 6 seconds then it will try to boot from network if nik is enabled for couple of
    minutes first with version 6 then with version 4 network boot even when network boot is on the last position in BIOS. It just disregards bios settings and you can
    disable nik in bios to fix that. That is the huge problem of toshiba p-50 and to fix that permanently mount EFI partition with linux 'disks',
    ( bios set to EFI boot, NIK enabled, secure boot enabled )
    'sudo nautilus'
    to be able to edit it. EFI parttion was mounted on /boot/efi
    go to /boot/efi/EFI/Boot/ and rename bootx64.efi to bootx64-GRUB.efi
    now copy
    /boot/efi/EFI/ubuntu/shimx64.efi and paste it as

    Reboot and enjoy. GRUB will load instantly now without trying network boot and windows and ununtu will boot without any problem.
    Last edited by nik6; March 15th, 2014 at 04:50 AM.

  5. #5
    Join Date
    Sep 2010
    Brisbane, Australia
    Kubuntu 12.04 Precise Pangolin

    Re: UEFI Installing - Tips

    Thank you. This, again, is one of those clear and simple things one needs to do to have eg. Kubuntu 13.10 installed and running on modern hardware - especially one with ATI graphics card installed.

    What I did in the end I just installed Kubuntu 13.10 fresh, and instead of trying to boot it from the disk I shoved Boot Repair and repaired the grub mess. It worked nicely.
    Last edited by Sciezyna; April 7th, 2014 at 06:02 PM.
    Intel, Kubuntu 12.04 LTS, Oracle V-Box, AMD Ubuntu 8.04 Gnome.

  6. #6
    Join Date
    Oct 2007
    Ubuntu Development Release

    Thumbs up Re: UEFI Installing - Tips boot repair
    This was very Helpfull!
    Uncle Sam
    Last edited by lisati; June 28th, 2014 at 07:15 PM. Reason: Fix font

  7. #7
    Join Date
    Jul 2013

    Re: UEFI Installing - Tips

    Recently purchased Acer E1-510, pre-installed with Windows 8. Bios (v 2.02) was unable to read USB iso Ubuntu 14.04 from UEFI.
    I downloaded Bios (v 2.07) and changed it to bootable via Unetbootin. Installed/updated Bios, which then gave UEFI/Legacy option. Then installed Ubuntu via Bios Legacy option.

  8. #8
    Join Date
    Sep 2010
    Ubuntu Budgie 17.10 Artful Aardvark

    Re: UEFI Installing - Tips boot repair

    Quote Originally Posted by sam-c View Post
    This was very Helpfull!
    Uncle Sam

    Checked this out in the USC 14.04.1 Not there. So .. in a way .. not trusted?? Does'nt that defeat the whole security concept of UEFI?

  9. #9
    Join Date
    May 2005
    Staffordshire UK
    Lubuntu 20.04 Focal Fossa

    Re: UEFI Installing - Tips

    UltraBooks[/B] - Also see examples below

    Ubuntu now installs with Intel SRT on, but when grub sees the RAID grub will not install. So you have to turn the SRT off or set UEFI/BIOS to AHCI and remove the RAID meta data from the drives. Some install Ubuntu to SSD, others install to hard drive and turn SRT back on and have had it work.
    That's not actually correct in all cases. Grub will install perfectly OK without disabling RAID. You need to install Grub on the EFI partition. Works perfectly OK with my Lenovo U410 Ultrabook.

  10. #10
    Join Date
    Jun 2009
    SW Forida

    Re: UEFI Installing - Tips

    Needs a bit of updating. While Boot-Repair is useful especially for its summary report or understanding what issues there are, it is not now essential in most cases.

    Main issue still is many vendors creating systems that require Windows in the UEFI entry.
    Vendors violated UEFI specs -
    Firmware should not enforce any boot policy other than the mechanism specified in Section 3 of the
    UEFI 2.3.1 specification [UEFI 2.3.1]. Specifically, firmware should not modify boot behaviour de-
    pending on the Description field of the EFI_LOAD_OPTION descriptor.
    And many of the work arounds for systems that only boot Windows:
    UEFI boot install & repair info - Regularly Updated :
    Please use Thread Tools above first post to change to [Solved] when/if answered completely.

Page 1 of 2 12 LastLast


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts