Skip to content
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
ghost opened this issue Jan 4, 2018 · 13 comments
Closed
Labels
C: installer T: bug Type: bug report. A problem or defect resulting in unintended behavior in something that exists.
Milestone

Comments

@ghost
Copy link

ghost commented Jan 4, 2018

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
Copy link
Member

marmarek commented Jan 4, 2018

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

@ghost
Copy link
Author

ghost 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
Copy link
Member

marmarek commented Jan 4, 2018

Sorry, there should be a space after --.

@ghost
Copy link
Author

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

@marmarek
Copy link
Member

marmarek commented Jan 4, 2018

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

@ghost
Copy link
Author

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

@andrewdavidwong andrewdavidwong added T: bug Type: bug report. A problem or defect resulting in unintended behavior in something that exists. C: installer labels Jan 5, 2018
@andrewdavidwong andrewdavidwong added this to the Release 4.0 milestone Jan 5, 2018
@ghost
Copy link
Author

ghost 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
Copy link
Member

marmarek commented Jan 5, 2018

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

@ghost
Copy link
Author

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

@marmarek
Copy link
Member

marmarek commented Jan 5, 2018

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

@ghost
Copy link
Author

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

@marmarek
Copy link
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?

@ghost
Copy link
Author

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

@ghost ghost closed this as completed Jan 5, 2018
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C: installer T: bug Type: bug report. A problem or defect resulting in unintended behavior in something that exists.
Projects
None yet
Development

No branches or pull requests

2 participants