Only boots to Grub Prompt after Buster GRUB (Solydx-ee) update

Questions specific to the Xfce DE go here
User avatar
cheetahws
Posts: 23
Joined: 08 May 2013 05:10
Location: Colorado Springs, CO
Contact:

Only boots to Grub Prompt after Buster GRUB (Solydx-ee) update

Postby cheetahws » 22 Jun 2019 05:24

I have 2 computers Computer 1 is a dual boot solydx and Windows 10 system. Computer 2 is a laptop that just runs solydx. Both are UEFI boot, secure boot is off and fastboot disabled.
They bath are dong the same thing and I have been trying to fix it for 2 weeks now so now I am here because it is way beyond me at this point.
After the GRUB update both computers only boot to the grub prompt. Not rescue but the regular prompt. grub>

if I run the "set" command it appears that the prefix on both computers is wrong.
Computer1 prefix=(hd0,gtp1)/boot/grub it should be prefix=(hd0,gpt2)/EFI/solydx
root=(hd0,gtp1) root should be root-(hd0,gtp2)

Computer2 prefix=(hd0,gtp1)/EFI/Debian it should be prefix=(hd0,gtp1)/EFI/solydx

Now if I run "set prefix=X" and "set root=X" (X=above commands) then run the "insmod normal" then "normal" the grub menu loads just fine.
So I am pretty sure this is just a pointer issue that I have no clue how to fix.
It is annoying to have to do this on every reboot.

booting and installing grub doesn't change anything
updating grub doesn't fix it.
installing grub from solydx-EE ISO doesn't fix it
deleting the entry with efibootmgr and installing grub doesn't fix it.
These are the only answers I seem to find online in debian, ubuntu, arch, mint, ect forums.

How do make the prefix and root location changes permanent?
I would prefer not to reinstall if I don't have to.

User avatar
Arjen Balfoort
Site Admin
Posts: 9311
Joined: 26 Jan 2013 19:36
Location: Netherlands
Contact:

Re: Only boots to Grub Prompt after Buster GRUB (Solydx-ee) update

Postby Arjen Balfoort » 22 Jun 2019 07:47

Just a link that helped me in the past: https://askubuntu.com/questions/867519/ ... -and-again


SolydXK needs you!
Development | Testing | Translations

User avatar
cheetahws
Posts: 23
Joined: 08 May 2013 05:10
Location: Colorado Springs, CO
Contact:

Re: Only boots to Grub Prompt after Buster GRUB (Solydx-ee) update

Postby cheetahws » 22 Jun 2019 15:22

Tried that.
Her is what is looks like

https://drive.google.com/open?id=1KSGAZ ... 77s3Xl93JR

Still showing the prefix as /EFI/debian not /EFI/solydx

User avatar
ilu
Posts: 2523
Joined: 09 Oct 2013 12:45

Re: Only boots to Grub Prompt after Buster GRUB (Solydx-ee) update

Postby ilu » 22 Jun 2019 15:55

You can upload files in this forum, just scroll down and you see the "attachments" tab. That's easier for people who don't use google (like me).

You did not forget to issue "sudo update-grub" after fixing grub, right? (I know I did before.)

I managed to solve my grub problems (viewtopic.php?f=9&t=7468&p=69652#p69652) permanently with efibootmgr. It should save your changes. If it doesn't the problem is somewhere else, usually in firmware.
Check your EFI settings - anything there that prevents changes?

See https://superuser.com/questions/1166398 ... ter-reboot (adapt carefully because the guy there uses Win). A search for "efibootmgr doesn't save changes" turns up a lot of similar problems, usually firmware-related.

User avatar
cheetahws
Posts: 23
Joined: 08 May 2013 05:10
Location: Colorado Springs, CO
Contact:

Re: Only boots to Grub Prompt after Buster GRUB (Solydx-ee) update

Postby cheetahws » 22 Jun 2019 19:52

The pic was too big to upload, I did try.
I will give some of those a shot. I already updated my BIOS last week when this started. I will try to reset the BIOS later in the week when I have some time.
Thank you for the suggestions.

User avatar
cheetahws
Posts: 23
Joined: 08 May 2013 05:10
Location: Colorado Springs, CO
Contact:

Re: Only boots to Grub Prompt after Buster GRUB (Solydx-ee) update

Postby cheetahws » 26 Jun 2019 16:23

So none of those fixed the issue. But I did make a folder on the EFI partition called debian and just copied the filed from the solydx folder into it and now it is booting up just fine.
copy all files from /boot/efi/EFI/solydx to /boot/efi/EFI/debian
not sure why it wants that folder but it is working. Not sure what file it wants yet but I think it is looking for the grub.cfg
I need both folders because I tried to rename the solydx folder and then it wouldn't boot at all. Renamed it back with a live USB and it boots again.
Either way it is working again. :D

User avatar
ilu
Posts: 2523
Joined: 09 Oct 2013 12:45

Re: Only boots to Grub Prompt after Buster GRUB (Solydx-ee) update

Postby ilu » 28 Jun 2019 00:21

Arjen, could that have something to do with our usage of signed packages from debian? Makes sense if it does. Although he says he had secure boot off ... I'm wondering.

Did anybody test secure booting SolydXK on EFI yet? I know I have only non-EFI systems to test on.

cheetahws, which ISO did you use? The regular one or one from the nightlies?

User avatar
cheetahws
Posts: 23
Joined: 08 May 2013 05:10
Location: Colorado Springs, CO
Contact:

Re: Only boots to Grub Prompt after Buster GRUB (Solydx-ee) update

Postby cheetahws » 28 Jun 2019 04:52

It was the buster solydx-ee iso from 201902. It was not the nightlie

User avatar
Arjen Balfoort
Site Admin
Posts: 9311
Joined: 26 Jan 2013 19:36
Location: Netherlands
Contact:

Re: Only boots to Grub Prompt after Buster GRUB (Solydx-ee) update

Postby Arjen Balfoort » 28 Jun 2019 09:01

I installed SolydK 10 (nightly build) and as expected, it installs grubx64.efi in /boot/efi/EFI/solydxk10/


SolydXK needs you!
Development | Testing | Translations

User avatar
ilu
Posts: 2523
Joined: 09 Oct 2013 12:45

Re: Only boots to Grub Prompt after Buster GRUB (Solydx-ee) update

Postby ilu » 28 Jun 2019 12:51

So that's good. If it was the Feb ISO, it can't have anything to do with secure boot. Weird issue but good that you managed to get it to work.

tom44
Posts: 7
Joined: 14 Mar 2019 13:38

Re: Only boots to Grub Prompt after Buster GRUB (Solydx-ee) update

Postby tom44 » 22 Oct 2019 07:37

Arjen Balfoort wrote:
28 Jun 2019 09:01
I installed SolydK 10 (nightly build) and as expected, it installs grubx64.efi in /boot/efi/EFI/solydxk10/
Hello, I also have grub boot prompt after unattended upgrade from SolydX 9 to 10 and nothing seems to help, although I can boot with proper grub commands just fine. What caught me is the information in original 10 SloydK install the EFI subfolder is solydxk10/, whereas I have it in /boot/efi/EFI/solydx/ as it have been in SolydX 9. You speak about SolydK, I have SolydX, but I suppose even if the folder names should differ between the variants, if one has 10 in the name, the second should also. Would this be the problem? In any case it seems the upgrade script does not handles this well on all installs. I do not remember for sure, if I originally installed from released ISO or from pre-release of 9 , if that matters.

EDIT: I created copies of solydx folder within /boot/efi/EFI/ named debian, solydxk10, solydx10 and sure enough, my system boots with grub menu and all. Now I have to find out which copy is the one I was missing and how to reconfigure things, so no other copy needs to be present, because I suppose just leaving one of the folders would not work as it is now. Maybe all is needed is just doing sudo update-grub and if grub really updates everything in the folder it actually booted from, I would be set. But I have to leave that for later for lack of time.

EDIT2: I found out, that the /boot/efi/EFI/ subfolder enabling grub at boot time is debian. After that it seems the boot process continues based on solydx subfolder. I even was able to change that to solydxk10 with efibootmgr, so that now I have /boot/efi/EFI/debian and /boot/efi/EFI/solydxk10. Folder debian must be there to prevent the grub prompt, i supposed solydxk10 takes over. But then I found after few restarts, that /boot/efi/EFI/solydx was recreated again. It is also recreated with command sudo grub-install /dev/sdb --target=x86_64-efi --efi-directory=/boot/efi/. So I removed all EFI subfolders I created, except debian and solydx, and removed the entry in efibootmgr pointing to solydxk10 folder. Then used update-grub and I have working system with solydx an debian folders both present and i guess i will leave it at that for now.

User avatar
ilu
Posts: 2523
Joined: 09 Oct 2013 12:45

Re: Only boots to Grub Prompt after Buster GRUB (Solydx-ee) update

Postby ilu » 22 Oct 2019 12:17

There was a change in naming discussed here: viewtopic.php?f=5&t=7469&p=69654. Older systems don't have the version number and the update script doesn't handle these cases. You can manually set the correct boot file with efibootmgr. If you manage to get things right, could you try to help people in this other thread viewtopic.php?f=5&t=7649 - in case they haven't already reinstalled?

tom44
Posts: 7
Joined: 14 Mar 2019 13:38

Re: Only boots to Grub Prompt after Buster GRUB (Solydx-ee) update

Postby tom44 » 22 Oct 2019 14:02

@ilu Yes, I will post the thread you mentioned, if I get it to boot with only the new solydxk10 EFI subdirectory and add a link here.


Return to “Xfce specific (SolydX)”

Who is online

Users browsing this forum: No registered users and 2 guests