You are not logged in.

#21 2016-02-03 22:16:30

Head_on_a_Stick
Member
From: London
Registered: 2015-09-29
Posts: 9,093
Website

Re: Efi

From my Debian jessie system:

root@jessie:~# apt install grub-efi
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following extra packages will be installed:
  efibootmgr grub-common grub-efi-amd64 grub-efi-amd64-bin grub2-common libefivar0
  os-prober
Suggested packages:
  multiboot-doc grub-emu xorriso
The following NEW packages will be installed:
  efibootmgr grub-common grub-efi grub-efi-amd64 grub-efi-amd64-bin grub2-common
  libefivar0 os-prober
0 upgraded, 8 newly installed, 0 to remove and 0 not upgraded.
Need to get 88.6 kB/4,037 kB of archives.
After this operation, 19.3 MB of additional disk space will be used.
Do you want to continue? [Y/n] 

Please post the output of:

cat /etc/apt/sources.list{,.d/*};apt-cache policy

I don't think your internet connection is working.

Offline

#22 2016-02-03 22:20:28

koopdi
Member
Registered: 2016-02-02
Posts: 15

Re: Efi

koopdi@funroll:~$ cat /etc/apt/sources.list{,.d/*};apt-cache policy
# 

# deb cdrom:[Debian GNU/Linux 8 _Jessie_ - Official Snapshot amd64 LIVE/INSTALL Binary 20150909-03:19]/ jessie contrib main non-free

# deb cdrom:[Debian GNU/Linux 8 _Jessie_ - Official Snapshot amd64 LIVE/INSTALL Binary 20150909-03:19]/ jessie contrib main non-free

# Line commented out by installer because it failed to verify:
#deb http://security.debian.org/ jessie/updates main contrib non-free
# Line commented out by installer because it failed to verify:
#deb-src http://security.debian.org/ jessie/updates main contrib non-free

# added by bl-welcome
# Multimedia repository
deb http://www.deb-multimedia.org jessie main non-free

deb http://pkg.bunsenlabs.org/debian bunsen-hydrogen mainPackage files:
 100 /var/lib/dpkg/status
     release a=now
 500 http://pkg.bunsenlabs.org/debian/ bunsen-hydrogen/main amd64 Packages
     release o=bunsenlabs,n=bunsen-hydrogen,l=bunsenlabs,c=main
     origin pkg.bunsenlabs.org
 500 http://www.deb-multimedia.org/ jessie/non-free amd64 Packages
     release o=Unofficial Multimedia Packages,a=stable,n=jessie,l=Unofficial Multimedia Packages,c=non-free
     origin www.deb-multimedia.org
 500 http://www.deb-multimedia.org/ jessie/main amd64 Packages
     release o=Unofficial Multimedia Packages,a=stable,n=jessie,l=Unofficial Multimedia Packages,c=main
     origin www.deb-multimedia.org
Pinned packages:

Offline

#23 2016-02-03 22:26:37

Head_on_a_Stick
Member
From: London
Registered: 2015-09-29
Posts: 9,093
Website

Re: Efi

koopdi wrote:
# Line commented out by installer because it failed to verify:
#deb http://security.debian.org/ jessie/updates main contrib non-free
# Line commented out by installer because it failed to verify:
#deb-src http://security.debian.org/ jessie/updates main contrib non-free

You didn't select a mirror during the installation so the installer didn't add the main repository lines.

Add these lines to /etc/apt/sources.list

deb http://httpredir.debian.org/debian jessie main contrib non-free
deb http://httpredir.debian.org/debian jessie-updates main contrib non-free
deb http://security.debian.org/ jessie/updates main contrib non-free

Then run:

# apt update

You should then be able to install things wink

Offline

#24 2016-02-03 23:20:04

koopdi
Member
Registered: 2016-02-02
Posts: 15

Re: Efi

That fixed it. smile I was able to follow the guide to the end though I'm unsure how actually boot into uefi mode. I guess that's particular to my motherboard...

Offline

#25 2016-02-03 23:21:51

Head_on_a_Stick
Member
From: London
Registered: 2015-09-29
Posts: 9,093
Website

Re: Efi

Look at the firmware ("BIOS") options and see if you can disable "CSM" or "Legacy" mode.

Check if you are booted in UEFI with:

[[ -d /sys/firmware/efi ]] && echo UEFI || echo not UEFI

Offline

#26 2016-02-03 23:40:28

koopdi
Member
Registered: 2016-02-02
Posts: 15

Re: Efi

There doesn't seem to be an option to not boot legacy...I think I need to add a boot entry with efi shell - downloading that now as it's not included.

Offline

#27 2016-02-04 10:20:41

Head_on_a_Stick
Member
From: London
Registered: 2015-09-29
Posts: 9,093
Website

Re: Efi

No need to do that.

Look at the output of:

# efibootmgr -v

The BL entry will have /EFI/BOOT/BOOTX64.EFI in the path, here is mine:

empty@Arch ~ % sudo efibootmgr -v
BootCurrent: 0007
Timeout: 1 seconds
BootOrder: 0007,0005
Boot0005* UEFI OS       VenHw(99e275e7-75a0-4b37-a2e6-c5385e6c00cb)
Boot0007* UEFI OS       HD(1,GPT,876168c2-2afb-4f50-ba94-cc7732d47b98,0x800,0x100000)/File(\EFI\BOOT\BOOTX64.EFI)

In this case, "Boot0007" is the entry and this needs to be set as first to boot.

Mine already is but your probably isn't.

Change the bootorder with:

# efibootmgr -o xxxx,yyyy,zzzz

Replace "xxxx", "yyyy" & "zzzz" with the correct Bootnumber and then reboot.

You could also use `efibootmgr -b yyyy -B` to delete all the other NVRAM entries and just leave the \EFI\BOOT\BOOTX64.EFI

Offline

#28 2016-02-04 18:11:38

koopdi
Member
Registered: 2016-02-02
Posts: 15

Re: Efi

koopdi@funroll:~/tmp$ efibootmgr -v
efibootmgr: EFI variables are not supported on this system.
koopdi@funroll:~/tmp$ [[ -d /sys/firmware/efi ]] && echo UEFI || echo not UEFI
not UEFI

I can't find any precompiled versions of efishell, trying compiling it...

Now I regret nuking arch already. It's hard to boot EFI unless already booted EFI.
Also my MOBO is kinda dumb. UEFI but with no way to change boot parameters except to reorder the entries.
D:

Offline

#29 2016-02-04 18:28:02

Head_on_a_Stick
Member
From: London
Registered: 2015-09-29
Posts: 9,093
Website

Re: Efi

Use the Arch live ISO image to boot in UEFI mode then post the `efibootmgr -v` output.

You can use a pastebin client to generate a URL that can be posted here:

# efibootgr -v | curl -F c=@- https://ptpb.pw

And yes, this would have been easier if you still had your Arch system big_smile

The simplest method is probably to just delete all the NVRAM entries from the Arch live ISO, I think your system is defaulting to non-UEFI booting because you still have an entry for your Arch system listed as first in the BootOrder but the .efi loader is no longer present on your disk.

Do you have a menu in your firmware ("BIOS") options in which you can choose which loader to boot?

If so, the BunsenLabs loader will be the "default EFI loader", or similar.

Offline

Board footer

Powered by FluxBB