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

Thread: UEFI Installing - Tips

Hybrid View

  1. #1
    Join Date
    Jun 2009
    Location
    Chicago Suburbs
    Beans
    Hidden!
    Distro
    Ubuntu 14.04 Trusty Tahr

    UEFI Installing - Tips

    General UEFI install Info (not for Macs)
    Caution:
    Do not attempt to reinstall Ubuntu except with Something Else (links to examples below). Users are reinstalling Ubuntu and it only shows Ubuntu and they think it will only overwrite the Ubuntu install. If it does now show the Windows then it totally erases drive. Not sure if just user error, installer bug, or Windows reverts to hibernation or fast boot and then the installer cannot see Windows so just assumes you want to install to entire drive.
    Backups are very important, see backup section below.

    From Ubuntu 14.04.2 Release notes https://wiki.ubuntu.com/TrustyTahr/R..._post-install:
    Automatic install is broken on drives that contain partitions that either do not have an operating system installed (eg. a user data partition like /home on Linux or D: on Windows), or partitions that have Windows 8 installed. Selecting automatic install (or upgrade) on these systems will result in the whole drive being wiped and all existing data will be lost. There are also problems dealing with systems with multiple drives. This bug is present in released media of 14.04 and 14.04.1. If you have a drive with any pre-existing partitions, or multiple drives, then you should use manual partitioning. Ensure you have backups. (1265192)
    Bug fixed in ubiquity - 2.18.8.3 but this is one reason that 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.

    Major Sections below:

    Windows 8 pre-installed with UEFI & secure boot
    Systems that only boot Windows from UEFI.
    Windows 7 with UEFI (only a few as most used BIOS), or new self built system - no secure boot issues
    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

    Additional Info
    UltraBooks with Intel SRT(Seen as RAID) and dual video
    Two drive installs - both must be gpt partitioned
    efi Menu cleanup
    gpt partitioning
    Backup - Windows & efi partition
    Windows 8 repair links
    rEFInd Boot Manager may solve some issues
    Un-installing

    Examples - Some users have posted details of how they did it.
    Links to additional info & what UEFI is

    Windows 8 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.
    You will need to use the 64 bit version of newest 14.04LTS (best for very new hardware) and from the UEFI menu, boot the flash drive or DVD in UEFI mode. That way it will install in UEFI mode. Some very new hardware may need the newer still need the latest version of Ubuntu, but those are not LTS or long term support.
    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.
    http://www.eightforums.com/tutorials...ndows-8-a.html
    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.
    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
    https://help.ubuntu.com/community/UEFI
    Also shows Windows 8 screeens
    http://askubuntu.com/questions/22183...ndows-8-system
    UEFI install,windows 8 with Something Else screen shots
    http://www.everydaylinuxuser.com/201...e-windows.html
    Linux on UEFI: A Quick Installation Guide
    http://www.rodsbooks.com/linux-uefi/
    Something Else or manual Install
    http://www.dedoimedo.com/computers/d...-8-ubuntu.html
    More info on Windows:
    http://www.eightforums.com/

    As of 12.04.2 or later, 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.
    14.04 Release Notes:
    https://wiki.ubuntu.com/TrustyTahr/R...d_post-install

    UEFI systems now have mutlple 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.
    CSM - UEFI Compatibility Support Module (CSM), which emulates a BIOS mode, only available with secure boot off.

    Systems that only boot Windows from UEFI.

    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.
    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

    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 mount the efi partition on hard drive, lines with # are comments only: Mount efi partition. check which partition is FAT32 with boot flag. Often sda1 or sda2 but varies.

    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

    More examples of users who manually moved efi files
    http://ubuntuforums.org/showthread.php?t=2101840
    http://ubuntuforums.org/showthread.php?t=2219452
    http://ubuntuforums.org/showthread.p...9#post13012109

    B: Edit Windows BCD
    bcdedit /set {bootmgr} path \EFI\ubuntu\grubx64.efi
    https://coderwall.com/p/vfyqkg
    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, not dual boot, install to make Windows UEFI description boot grub or shim file
    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.
    http://ubuntuforums.org/showthread.php?t=2234019


    Windows 7 UEFI, or new self built system - no secure boot issues, new motherboards may now have Windows secure boot setting.

    You should not have any of the secure boot issues, but still should use the newest versions of Ubuntu. They include many UEFI & grub install updates.
    You still have gpt partitioning and should use Windows disk tools to shrink Windows if you have Windows.
    If installing only Ubuntu (no Window), see partitioning below. But you then can use either BIOS or UEFI, but probably should use gpt partitioning.
    How to Create a Bootable UEFI USB Flash Drive for Installing Windows 7, Windows 8, or Windows 8.1
    http://www.eightforums.com/tutorials...e-windows.html

    Boot Repair -Also handles LVM, GPT, separate /boot and UEFI dual boot, but not most Windows 7 or 8 issues:
    https://help.ubuntu.com/community/Boot-Repair
    If issues, run Boot-Repair's summary report and post a new thread in Ubuntu forums.
    http://ubuntuforums.org/newthread.ph...ewthread&f=326

    Boot-Repair will convert a BIOS install to UEFI by uninstalling grub-pc, and installing grub-efi, 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 you have previous used Boot-Repair and it reported this: "Buggy" UEFI (At least some HP & Sony) and you have this menu entry:
    menuentry "Windows UEFI bkpbootmgfw.efi" {
    With rename you cannot boot Windows directly from UEFI, but only the renamed file from grub menu.
    Best to undo this rename with Boot-Repair or manually and usually better to use other rename options.
    http://ubuntuforums.org/showthread.php?t=2267408
    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.

    Two Drive installs - See also examples below

    Both drives must be gpt partitioned. Best to include efi partition as first partition on every gpt drive, even if booting from Windows efi partition.
    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.

    Partitioning
    With UEFI, gpt partitioning is 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 efi partition per 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 300MB efi partition - FAT32, 25GB /(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.
    https://help.ubuntu.com/community/DiskSpace

    Black Screen/ Video Modes
    This usually required with AMD or nVidia.
    How to set NOMODESET and other kernel boot options in grub2 - both liveCD & first boot, but different
    http://ubuntuforums.org/showthread.php?t=1613132
    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:
    i915.i915_enable_rc6=1
    Or Force Intel Video mode as boot parameter in grub menu - change to your screen size
    video=1280x1024-24@60

    New Haswell systems may need newest kernel in currently 14.04 to support newest video and other devices.

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

    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.
    For Video with nVidia Optimus you need either nVidia Prime or Bumblebee:
    https://wiki.ubuntu.com/Bumblebee
    Some discussion of limits of new nVidia driver with some Optimus support
    http://ubuntuforums.org/showthread.php?t=2142215
    Intel Smart Response Technology
    http://www.intel.com/p/en_US/support...ts/chpsts/imsm
    Some general info in post #3
    http://ubuntuforums.org/showthread.php?t=2071242
    Uses larger SSD for both Intel SRT & Ubuntu
    http://ubuntuforums.org/showthread.php?t=2129157&page=2
    Ubuntu on hard drive, re-enable SRT post #19 details
    http://ubuntuforums.org/showthread.php?t=2129157
    If issues with RAID, disable the RAID, 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
    GRUB_DISABLE_OS_PROBER=true
    #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 (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 liveDVD or 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.
    Eamples:
    http://linux.die.net/man/8/efibootmgr
    Really UEFI boot menu edits
    http://askubuntu.com/questions/63610...bios-boot-menu

    Remove Duplicate Firmware Objects in Windows BCD and NVRAM
    http://technet.microsoft.com/en-us/l...=ws.10%29.aspx

    gpt(GUID)) partitioning
    Required for UEFI, and for drives over 2.2GB.
    You can also use gparted but must change default partitioning first.
    Select gpt under device, advanced over msdos(MBR) default partitioning before starting.
    Or use gdisk which is in repository:
    GPT fdisk Tutorial -srs5694 in forums
    http://ubuntuforums.org/showthread.php?t=1439794
    http://www.rodsbooks.com/gdisk/
    sudo apt-get install gdisk
    GPT Advantages (older but still valid) srs5694 post #2:
    http://ubuntuforums.org/showthread.php?t=1457901
    https://wiki.archlinux.org/index.php/GPT
    https://wiki.archlinux.org/index.php...antages_of_GPT

    Backup - Windows, data & efi partitions
    Backup windows before install - post by Mark Phelps
    http://ubuntuforums.org/showthread.p...0#post12611710
    http://www.macrium.com/reflectfree.asp
    Another suggestion by srs5694
    http://www.runtime.org/driveimage-xml.htm
    Microsoft Windows 8.1 reinstall/refresh
    http://windows.microsoft.com/en-us/w...-refresh-media

    Windows 8 UEFI Repairs
    http://superuser.com/questions/46076...efi-bootloader
    http://www.eightforums.com/tutorials...ndows-8-a.html
    Create Windows 8 Repair flash drive, must be FAT32 to boot in UEFI mode:
    http://www.eightforums.com/tutorials...ndows-8-a.html
    http://www.ghacks.net/2012/11/01/how...m-repair-disc/

    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.
    http://www.rodsbooks.com/refind/
    https://wiki.archlinux.org/index.php...s#Using_rEFInd
    http://www.rodsbooks.com/refind/secureboot.html
    Now has a ppa to make it easy to install:
    http://www.rodsbooks.com/refind/getting.html

    Examples - some older, newer versions of Ubuntu should be easier as major updates to kernel, support software, video & UEFI drivers.
    Dell XPS13 - New Broadwell, not yet fully supported Feb 2015
    http://major.io/2015/02/03/linux-sup...43-2015-model/
    http://askubuntu.com/questions/39574...rsion-properly


    Toshiba Satellite P55-A 0[SOLVED] Dual boot Windows 8.1 and Ubuntu 14.10 rename bootx64.efi
    http://ubuntuforums.org/showthread.php?t=2267408

    Screenshots of secure boot settings Asrock, Asus, HP, Acer
    https://neosmart.net/wiki/disabling-secure-boot/

    Haswell Laptop - Toshiba P50
    http://ubuntuforums.org/showthread.php?t=2163854
    acer aspire s7 Dual SSD RAID - [SOLVED] Installed Ubuntu on Pre- UEFI Win
    http://ubuntuforums.org/showthread.php?t=2240043

    How to install Ubuntu for dual-boot with Windows 8 on Acer Aspire V5-551G. Post #3
    http://ubuntuforums.org/showthread.php?t=2176273
    Ubuntu on the Precision M3800 or XPS15 Nov 2013 - Some Intel issues common to all Haswell systems
    http://en.community.dell.com/techcen...ion-m3800.aspx
    ASUS Zenbook Prime UX32VD
    http://www.phoronix.com/scan.php?pag..._ux301la&num=1
    https://help.ubuntu.com/community/AsusZenbookPrime

    HP to get into UEFI/BIOS menu - escape then f10 as soon as it starts.
    http://h10025.www1.hp.com/ewfrf/wc/d...roduct=5171079
    It seems hp firmware do not allow you to boot anything other than windows. Hence no ubuntu option in the UEFI. To work around it
    http://ubuntuforums.org/showthread.php?t=2227889

    http://ubuntuforums.org/showthread.php?t=2185869
    Dell UltraBook - Instructions & Details in Post #15 & 16 Devine Shine
    http://ubuntuforums.org/showthread.php?t=2144853

    Lenovo T540 works but UEFI settings critical or it may brick
    https://docs.google.com/document/d/1...m0k/edit?pli=1
    Lenovo Thinkpad E531 - turn off locked boot order setting in UEFI
    http://ubuntuforums.org/showthread.php?t=2255746
    Lenovo Ideapad Y500 LiveUSB Problem
    http://ubuntuforums.org/showthread.php?t=2095063
    Samsung Ativ Book 9 Plus UEFI Install Troubles - manual copy of grub to /EFI/Boot
    http://ubuntuforums.org/showthread.php?t=2230919
    Sony Vaio Pro 13 - To get into UEFI press this "Assist" button BEFORE starting
    http://askubuntu.com/questions/45841...on-a-sony-vaio
    [SOLVED] Trouble installing Xubuntu 14.04 on Toshiba Satellite P55-A (UEFI) - file rename
    http://ubuntuforums.org/showthread.php?t=2247186

    Two Drive UEFI installs, Internal, external or flash drive
    You must partition in advance including efi partition on second drive, then use Something Else to install.
    Samsung Series 7 laptop - Ubuntu UEFI install to sdc (ignore CSM sidetrack)
    http://ubuntuforums.org/showthread.php?t=2135459
    Installing Ubuntu 12.10 alongside Windows 8 on Asus K95V laptop HD/SSD (EFI) Two drives. Details in post #6
    http://ubuntuforums.org/showthread.php?t=2116610
    UEFI dual boot two drives - HP
    http://ubuntuforums.org/showthread.php?t=2072950
    UEFI dual boot two drives see #14 on how edit UUID to Windows efi partiton
    http://ubuntuforums.org/showthread.php?t=2031836

    Links to more Info
    Background and details of what UEFI is.
    https://wiki.archlinux.org/index.php/UEFI
    Matthew Garrett's Blog
    http://mjg59.dreamwidth.org/
    Details on Ubuntu's shim with 12.10
    http://falstaff.agner.ch/2012/12/12/...antal-quetzal/
    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
    https://www.youtube.com/watch?v=_cEwj8bBBC4

    Acer Windows 8 Video on getting into UEFI
    http://www.youtube.com/watch?v=QGiG1oljjZI
    Dual-Boot Windows 8 and Ubuntu 12.10 (BIOS)
    http://www.youtube.com/watch?v=wNCSbTyUzoM
    Technical info on Legacy BIOS and UEFI AMI AptioMar 2012 - 20 MIn
    http://www.youtube.com/watch?v=dRMIvY7BiL4
    Last edited by oldfred; April 20th, 2015 at 12:29 AM. Reason: Major Corrections, updates March 2015
    For info on UEFI boot install & repair - Updated Mar 2015:
    http://ubuntuforums.org/showthread.php?t=2147295
    Please use Thread Tools above first post to close thread when/if answered completely.







  2. #2
    Join Date
    May 2013
    Beans
    2

    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 https://help.ubuntu.com/community/UE..._into_EFI_mode .

    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.

    Background:
    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
    Location
    Arizona, USA
    Beans
    6

    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
    Beans
    1

    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 )
    run
    '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
    /boot/efi/EFI/Boot/bootx64.efi


    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
    Location
    Brisbane, Australia
    Beans
    31
    Distro
    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
    Location
    Yaffo
    Beans
    95
    Distro
    Ubuntu Studio

    Thumbs up Re: UEFI Installing - Tips boot repair

    https://help.ubuntu.com/community/Boot-Repair
    This was very Helpfull!
    Thanks
    Uncle Sam
    Last edited by lisati; June 28th, 2014 at 07:15 PM. Reason: Fix font

  7. #7
    Join Date
    Jul 2013
    Beans
    11

    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
    Location
    Beta Testing in Canada
    Beans
    6,619
    Distro
    Ubuntu Development Release

    Re: UEFI Installing - Tips boot repair

    Quote Originally Posted by sam-c View Post
    https://help.ubuntu.com/community/Boot-Repair
    This was very Helpfull!
    Thanks
    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?
    This is Rolling Release
    Warnings for New Beta Testers& Helpful Terminal Commands:
    Running W. Werewolf /dev/@ 4.05GHz64bit/ onE8400 Core2Duo-Wolfdale+Howler

  9. #9
    Join Date
    May 2005
    Location
    Staffordshire UK
    Beans
    303
    Distro
    Xubuntu 14.04 Trusty Tahr

    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
    Location
    Chicago Suburbs
    Beans
    Hidden!
    Distro
    Ubuntu 14.04 Trusty Tahr

    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 - http://hwe.ubuntu.com/docs/ubuntu-bi...quirements.pdf
    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:

    http://ubuntuforums.org/showthread.php?t=2234019
    For info on UEFI boot install & repair - Updated Mar 2015:
    http://ubuntuforums.org/showthread.php?t=2147295
    Please use Thread Tools above first post to close thread when/if answered completely.







Page 1 of 2 12 LastLast

Bookmarks

Posting Permissions

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