New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[UEFI-Only] Installer not starting, troubleshooting didn't solve the issue #3444

Closed
myrage2000 opened this Issue Jan 4, 2018 · 13 comments

Comments

Projects
None yet
3 participants
@myrage2000

Qubes OS versions :

3.2 and 4.0-RC3


Steps to reproduce the behavior :

My new Thinkpad laptop is UEFI-Only, Secure-boot is disabled.
My .iso checksum is valid.
I'm booting from a USB key made with livecd-tools on Fedora (according to the troubleshooting guide for Lenovo's).
I added /mapbs /noexitboot and --efi=attr=uc to chainloader (I tried all possibilities).
Grub is booting.

Expected behavior :

When entering "Install", Xen should boot and Anaconda should start.

Actual behavior :

Nothing is happening when I enter "Install" (the screen goes black for less than 1 second and grub restarts).

General notes :

I tried to boot xen.efi directly, but it's not working (the laptop freezes at "initrd.img").

@marmarek

This comment has been minimized.

Show comment
Hide comment
@marmarek

marmarek Jan 4, 2018

Member

Have you tried booting xen.efi directly and adding /mapbs /noexitboot --efi=attr=uc?

Member

marmarek commented Jan 4, 2018

Have you tried booting xen.efi directly and adding /mapbs /noexitboot --efi=attr=uc?

@myrage2000

This comment has been minimized.

Show comment
Hide comment
@myrage2000

myrage2000 Jan 4, 2018

Behavior when booting xen.efi with /mapbs /noexitboot --efi=attr=uc :

Xen 4.8.2 (c/s ) EFI loader
Using configuration file 'xen.cfg'
vmlinuz: [Some hexadecimal number]
initrd.img: [Some hexadecimal number]

And then nothing happens, the laptop is stuck on this screen.
I searched on qubes-users and on qubes-issues and didn't find this issue.

Edit :

Adding

mapbs=1
noexitboot=1

to my xen.cfg file for every section is changing nothing.

myrage2000 commented Jan 4, 2018

Behavior when booting xen.efi with /mapbs /noexitboot --efi=attr=uc :

Xen 4.8.2 (c/s ) EFI loader
Using configuration file 'xen.cfg'
vmlinuz: [Some hexadecimal number]
initrd.img: [Some hexadecimal number]

And then nothing happens, the laptop is stuck on this screen.
I searched on qubes-users and on qubes-issues and didn't find this issue.

Edit :

Adding

mapbs=1
noexitboot=1

to my xen.cfg file for every section is changing nothing.

@marmarek

This comment has been minimized.

Show comment
Hide comment
@marmarek

marmarek Jan 4, 2018

Member

Sorry, there should be a space after --.

Member

marmarek commented Jan 4, 2018

Sorry, there should be a space after --.

@myrage2000

This comment has been minimized.

Show comment
Hide comment
@myrage2000

myrage2000 Jan 4, 2018

Oh yes I did write it with a space (I followed UEFI Troubleshooting guide).

Btw even if I'm not able to use Qubes on this new laptop, thanks for the amazing work you are doing with the team.

Oh yes I did write it with a space (I followed UEFI Troubleshooting guide).

Btw even if I'm not able to use Qubes on this new laptop, thanks for the amazing work you are doing with the team.

@marmarek

This comment has been minimized.

Show comment
Hide comment
@marmarek

marmarek Jan 4, 2018

Member

Try adding qubes-verbose before /mapbs, you should get some more details.

Member

marmarek commented Jan 4, 2018

Try adding qubes-verbose before /mapbs, you should get some more details.

@myrage2000

This comment has been minimized.

Show comment
Hide comment
@myrage2000

myrage2000 Jan 4, 2018

With /mapbs /noexitboot -- efi=attr=uc and qubes-verbose :

[A long list of hex code]
Xen call trace:
[hex code] init_xen_time+0xa2/0x140
[hex code] __start_xen+0x2a4c/0x3320
Pagetable walk from [hex code]:
[A long list of hex code]
Panic on CPU 0:
FATAL PAGE FAULT
[error_code=0000]
Faulting linear address: 00000000bfb3b072
Reboot in five seconds....

And then it gets stuck, nothing is rebooting.

myrage2000 commented Jan 4, 2018

With /mapbs /noexitboot -- efi=attr=uc and qubes-verbose :

[A long list of hex code]
Xen call trace:
[hex code] init_xen_time+0xa2/0x140
[hex code] __start_xen+0x2a4c/0x3320
Pagetable walk from [hex code]:
[A long list of hex code]
Panic on CPU 0:
FATAL PAGE FAULT
[error_code=0000]
Faulting linear address: 00000000bfb3b072
Reboot in five seconds....

And then it gets stuck, nothing is rebooting.

@myrage2000

This comment has been minimized.

Show comment
Hide comment
@myrage2000

myrage2000 Jan 5, 2018

Issue fixed for new UEFI-Only laptop (thanks to Xen team) :

Boot with -- efi=no-rs

I will install it and see if it boots after that.

myrage2000 commented Jan 5, 2018

Issue fixed for new UEFI-Only laptop (thanks to Xen team) :

Boot with -- efi=no-rs

I will install it and see if it boots after that.

@marmarek

This comment has been minimized.

Show comment
Hide comment
@marmarek

marmarek Jan 5, 2018

Member

You may need to add it to xen.cfg too, as in UEFI troubleshooting guide.

Member

marmarek commented Jan 5, 2018

You may need to add it to xen.cfg too, as in UEFI troubleshooting guide.

@myrage2000

This comment has been minimized.

Show comment
Hide comment
@myrage2000

myrage2000 Jan 5, 2018

Thanks, everything is working !
I just have one issue remaining :
I am not able to boot xen.efi with the following custom entry (I get the : "Xen 4.8.2 (c/s ) EFI loader" and then a black screen) :

chainloader (hd0,gpt1)/EFI/qubes/xen.efi

But I can boot xen.efi directly with no problem :/

Maybe you should add the efi=no-rs command to the UEFI Troubleshooting guide if it can help somebody.

Thanks, everything is working !
I just have one issue remaining :
I am not able to boot xen.efi with the following custom entry (I get the : "Xen 4.8.2 (c/s ) EFI loader" and then a black screen) :

chainloader (hd0,gpt1)/EFI/qubes/xen.efi

But I can boot xen.efi directly with no problem :/

Maybe you should add the efi=no-rs command to the UEFI Troubleshooting guide if it can help somebody.

@marmarek

This comment has been minimized.

Show comment
Hide comment
@marmarek

marmarek Jan 5, 2018

Member

Have you tried adding placeholder -- efi=no-rs after xen.efi?

Member

marmarek commented Jan 5, 2018

Have you tried adding placeholder -- efi=no-rs after xen.efi?

@myrage2000

This comment has been minimized.

Show comment
Hide comment
@myrage2000

myrage2000 Jan 5, 2018

Yes, here is my 40_custom file :

insmod part_gpt
insmod search_fs_uuid
insmod chain
chainloader (hd0,gpt1)/EFI/qubes/xen.efi placeholder /mapbs /noexitboot -- efi=no-rs

I had the same issue with the usb key (I had to boot xen.efi directly). Maybe this is related with my laptop.

Yes, here is my 40_custom file :

insmod part_gpt
insmod search_fs_uuid
insmod chain
chainloader (hd0,gpt1)/EFI/qubes/xen.efi placeholder /mapbs /noexitboot -- efi=no-rs

I had the same issue with the usb key (I had to boot xen.efi directly). Maybe this is related with my laptop.

@marmarek

This comment has been minimized.

Show comment
Hide comment
@marmarek

marmarek Jan 5, 2018

Member

xen.efi is quite limited in handling filesystem, make sure you do not have set root anywhere earlier, so EFI service is used to load file (instead of grub parsing filesystem structures). Also, do not specify device there, put just path to xen.efi (/EFI/qubes/xen.efi).
It may be tricky to do it in generated grub config, but maybe there is a way to unset root variable?

Member

marmarek commented Jan 5, 2018

xen.efi is quite limited in handling filesystem, make sure you do not have set root anywhere earlier, so EFI service is used to load file (instead of grub parsing filesystem structures). Also, do not specify device there, put just path to xen.efi (/EFI/qubes/xen.efi).
It may be tricky to do it in generated grub config, but maybe there is a way to unset root variable?

@myrage2000

This comment has been minimized.

Show comment
Hide comment
@myrage2000

myrage2000 Jan 5, 2018

I will try thanks.
If it doesn't work, it's not very important, I'll just configure it to boot directly on xen.efi (grub is not very useful with only 1 entry).

Thanks for the help. I'm closing the issue.

I will try thanks.
If it doesn't work, it's not very important, I'll just configure it to boot directly on xen.efi (grub is not very useful with only 1 entry).

Thanks for the help. I'm closing the issue.

@myrage2000 myrage2000 closed this Jan 5, 2018

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment