LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Laptop and Netbook (https://www.linuxquestions.org/questions/linux-laptop-and-netbook-25/)
-   -   UEFI - Unable to locate HDD (https://www.linuxquestions.org/questions/linux-laptop-and-netbook-25/uefi-unable-to-locate-hdd-4175470530/)

slaka 07-22-2013 02:12 PM

UEFI - Unable to locate HDD
 
Hey,

I booted Linux in Live USB and tried install that particular distribution to HDD.
During installation (pretty much automated without much options) it tried install GRUB2 and LILO, failing in both attempts.
Installer didn't say anything about UEFI support so I guess it tried to install to MBR.

Well, after that I was unable to boot to my Slackware via elilo which was located at /dev/sda1/ (EFI Boot partition).
Actually, I'm unable to see whole HDD from Firmware options/EFI Shell.
So I'm unable to update boot config via 'bcfg' to correct path to elilo.efi.

Only way I'm able to boot is to launch EFI shell from USB stick and launch elilo.efi from USB stick.

I have already formatted whole EFI partition but didn't help, guess problem is deeper.
Also tried 'efibootmgr' but entries made with it didn't persist, after reboot I was unable to see entries I made ('modprobe efivars' and booted in EFI).



Here are couple outputs I got from EFI shell (might be completely useless since I'm dog and I have no idea what I'm doing):

MAP:
Code:

Mapping table
      FS0: Alias(s):HD11b0c0d0b:;BLK1:
          PciRoot(0x0)/Pci(0x1d,0x0)/USB(0x1,0x0)/USB(0x2,0x0)/USB(0x3,0x0)/HD(1,GPT,deb292c9-96ef-34b0-1eab-87ca605b5119,0x22,0x7737bd)
    BLK0: Alias(s):
          PciRoot(0x0)/Pci(0x1d,0x0)/USB(0x1,0x0)/USB(0x2,0x0)/USB(0x3,0x0)
    BLK2: Alias(s):
          PciRoot(0x0)/Pci(0x1f,0x2)/Sata(0x0,0x0)
    BLK4: Alias(s):
          PciRoot(0x0)/Pci(0x1f,0x2)/Sata(0x1,0x0)
    BLK3: Alias(s):
          PciRoot(0x0)/Pci(0x1f,0x2)/Sata(0x0,0x0)/HD(1,MBR,0x4f359092,0x1,0x3a38602f)
    BLK5: Alias(s):
          PciRoot(0x0)/Pci(0x1f,0x2)/Sata(0x1,0x0)/HD(1,GPT,3453ff11-9746-9731-4561-123d590d216e,0x801000,0x24ba000)
    BLK6: Alias(s):
          PciRoot(0x0)/Pci(0x1f,0x2)/Sata(0x1,0x0)/HD(2,GPT,d342363a-11ed-1bdc-b2bc-d3adc463c8d1,0x800,0x800000)



BCFG BOOT DUMP:
Code:

Option: 00. Variable: Boot0001 
  Desc    - Linux
  DevPath - PciRoot(0x0)/Pci(0x1f,0x2)/Sata(0x0,0x0)/HD(1,GPT,68664a3f-38d7-4fb5-8f2d-8fa2b9bb7209,0x800,0x96000)/\EFI\elilo\elilo8664.efi
  Optional- N
Option: 01. Variable: Boot0000 
  Desc    - USBefishell
  DevPath - PciRoot(0x0)/Pci(0x1d,0x0)/USB(0x1,0x0)/USB(0x2,0x0)/USB(0x3,0x0)/HD(1,GPT,deb292c9-96ef-34b0-1eab-87ca605b5119,0x22,0x7737bd)/\Shellx64.efi
  Optional- N


smallpond 07-23-2013 12:54 PM

You probably want to get the gdisk program from Rod Smith (gpt fdisk) which is much better than parted. You should be able to recover the backup GPT partition table or recreate it.

http://sourceforge.net/projects/gptfdisk

ReaperX7 08-05-2013 11:35 PM

You'll want to not install LILO for Slackware 14.0 (14.1. due out soon will have full support of UEFI systems).

UEFI only works with GRUB2, ELILO, and SysLinux. Make sure you have the /EFI partition available formatted in FAT or FAT32(?) before you install any bootloader so it knows where to install the UEFI firmware.

Check this topic for more info:

http://www.linuxquestions.org/questi...ll-4175461954/

911InsideJob 08-22-2013 10:01 AM

There should be a way to enable "legacy BIOS" and boot old school, if you really want that. I found disabling "secure boot" in BIOS solved all my issues with UEFI though. Even made the preinstalled copy of Windows 8 boot faster.


All times are GMT -5. The time now is 08:39 AM.