FS#42605 - [linux] 3.16 not boot with UEFI on Thinkpad X240

Attached to Project: Arch Linux
Opened by Luis BL (LuisABL) - Wednesday, 29 October 2014, 23:10 GMT
Last edited by Jelle van der Waa (jelly) - Saturday, 08 April 2017, 13:55 GMT
Task Type Bug Report
Category Upstream Bugs
Status Closed
Assigned To Tobias Powalowski (tpowa)
Architecture All
Severity High
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 1
Private No

Details

Hello,

Arch Linux installation ISO did not boot with UEFI

Steps to reproduce:

Thinkpad X240, latest BIOS/UEFI installed v2.26
create an USBkey with dd from Arch Linux installation ISO : archlinux-2014.10.01-dual.iso
Set bios in "UEFI Only" "CSM Support":No Secure Boot: Disabled
boot from the USBkey get the menu:
- Arch Linux archiso x86_64 UEFI CD
- UEFI Shell x86_64 v2
- ...

Select "Arch Linux archiso x86_64 UEFI CD" -> blank screen
Type edit (with e) the line and add
- video=SVIDEO-1:d -> blank screen
- video=VGA-1:1280x800 -> blank screen
- nomodeset i915.modeset=0 -> blank screen

run the uefi shell v2: "UEFI Shell x86_64 v2"
Shell > fs0:
FS0:\ > cd \EFI\archiso
FS0:\arch\boot\> vmlinuz.efi initrd=\EFI\archiso\archiso.img
-> hang

run the uefi shell v1: "UEFI Shell x86_64 v1"
Shell > fs1:
FS1:\ > cd \EFI\archiso
FS1:\arch\boot\> vmlinuz.efi archisobasedir=arch archisolabel=ARCH_201410 initrd=\EFI\archiso\archiso.img
-> hang

run the uefi shell v2: "UEFI Shell x86_64 v2"
Shell > fs0:
FS0:\ > cd \EFI\archiso
FS0:\arch\boot\> vmlinuz.efi i915.modeset=1 initrd=\EFI\archiso\archiso.img
-> hang
FS0:\arch\boot\> vmlinuz.efi nomodeset initrd=\EFI\archiso\archiso.img
-> hang


Bibliographie:
- http://www.rodsbooks.com/efi-bootloaders/efistub.html
- https://www.happyassassin.net/2014/01/25/uefi-boot-how-does-that-actually-work-then/
- https://bbs.archlinux.org/viewtopic.php?id=164679

This task depends upon

Closed by  Jelle van der Waa (jelly)
Saturday, 08 April 2017, 13:55 GMT
Reason for closing:  Works for me
Additional comments about closing:  Can't reproduce on my x240
Comment by Luis BL (LuisABL) - Wednesday, 29 October 2014, 23:16 GMT
it is probably not related but, I'm surprise from UEFI Shell to see archiso.img and vmlinuz.efi in \EFI\archiso\ folder
because if I mount the USBkey from Arch Linux installation ISO: archlinux-2014.10.01-dual.iso
I get this:

# pwd
/root/ARCH_201410
[root@spinoza ARCH_201410]# tree EFI/
EFI/
├── archiso
│   └── efiboot.img
├── boot
│   ├── bootx64.efi
│   ├── HashTool.efi
│   └── loader.efi
├── shellx64_v1.efi
└── shellx64_v2.efi

So efiboot.img and not archiso.img in archiso folder and no vmlinuz.efi on it.

And in arch/boot/x86_64/ a vmlinuz but no vmlinuz.efi

[root@spinoza ARCH_201410]# tree arch/boot/x86_64/
arch/boot/x86_64/
├── archiso.img
└── vmlinuz

Comment by Gerardo Exequiel Pozzi (djgera) - Saturday, 01 November 2014, 23:36 GMT
Looks like a hardware issue. Please ask in forums to support request. There is nothing to do with archiso. You can test the new ISO with Linux 3.17.1
Comment by Luis BL (LuisABL) - Saturday, 01 November 2014, 23:51 GMT
I'll will test on new ISO with Linux 3.17.1

PS: I asked on forum, https://bbs.archlinux.org/viewtopic.php?id=189148
Comment by Gerardo Exequiel Pozzi (djgera) - Sunday, 02 November 2014, 20:20 GMT
Please report to upstream. There is nothing to do here. Thanks.
Comment by Jelle van der Waa (jelly) - Saturday, 08 April 2017, 13:54 GMT
Can't reproduce on my lenovo x240 with UEFI boot

Loading...