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

Broken install on Debian #40

Closed
ghost opened this issue May 25, 2022 · 10 comments
Closed

Broken install on Debian #40

ghost opened this issue May 25, 2022 · 10 comments

Comments

@ghost
Copy link

ghost commented May 25, 2022

I recently got a lite mkIII, and tried many distros like manjaro, ubuntu, ubuntu mate, fedora and mx linux, they all work fine except for Debian that after a normal install of a non-free live image I get the following error: SATA: Star Drives SATA SSD' failed: verify it contains a 64-bit UEFI OS
While running ubuntu I ran 'efibootmgr -v' and it gives as output:
BootCurrent: 0001
Timeout: 1 seconds
BootOrder: 0003,0000,0001,0002
Boot0000* UiApp MemoryMapped(11,0x803860,0xb2885f)/FvFile(462caa21-7614-4503-836e-8ab6f4662331)
Boot0001* SATA: Star Drive SATA SSD PciRoot(0x0)/Pci(0x12,0x0)/Sata(0,65535,0)N.....YM....R,Y.
Boot0002* UEFI Shell MemoryMapped(11,0x803860,0xb2885f)/FvFile(7c04a583-9e3e-4f1c-ad65-e05268d0b4d1)
Boot0003* ubuntu HD(1,GPT,85704b1d-494c-41e7-8d45-b56270211742,0x800,0x100000)/File(\EFI\ubuntu\shimx64.efi)

Not sure if it may help you devs to reproduce the problem I have, let me know what else I can give as info if needed

@Sean-StarLabs
Copy link
Contributor

Sounds like the Debian installer didn't add a boot entry. Can you start it if you run the below commands in the EFI shell:

fs0:
cd efi
cd boot
grubx64.efi

@ghost
Copy link
Author

ghost commented May 27, 2022

got this output:
'grubx64.efi' is not recognized as an internal or external command, operable program, or script file

@Sean-StarLabs
Copy link
Contributor

What files do you have in the directory?

@ghost
Copy link
Author

ghost commented May 28, 2022

Inside EFI:
<.>
<..>
Debian
boot

Inside Debian folder mentioned above:
shimx64.efi
grubx64.efi
mmx64.efi
fbx64.efi

I was able to boot it going into 'boot from file' then (\EFI\Debian\shimx64.efi)
But I have to do it every time to boot.
I added shimx64.efi as a boot option, it appeared in the boot menu after "save comit changes and exit', but the system will not hold that after the next restart or reboot.

Also after installing the coreboot version you sent on Thursday, I have to plug the power cable every time I am going to boot the machine, otherwise there's that bug, that it flashes the power led without keeping it on and nothing happens.

@Sean-StarLabs
Copy link
Contributor

edk2 can be picky about the entries that are added, so I'd recommend adding it from Linux:

sudo efibootmgr -c -d /dev/sda1 -p 1 -w -L Debian -l \EFI\Debian\grubx64.efi

@ghost
Copy link
Author

ghost commented May 30, 2022

I ran that command, but apparently nothing happened, I also tried adding the option to the boot menu, but still does not hold after the next boot.

@Sean-StarLabs
Copy link
Contributor

What does efibootmgr show?

@ghost
Copy link
Author

ghost commented May 30, 2022

BootCurrent: 0003
Timeout: 1 seconds
BootOrder: 0000,0001,0002
Boot0000* UiApp
Boot0001* SATA: Star Drive SATA SSD
Boot0002* UEFI Shell
Boot0003* shimx64.efi

@ghost
Copy link
Author

ghost commented May 30, 2022

I also asked about in the Debian forum, and someone asked to run: grub-install --force-extra-removable
It worked, now efibootmgr outputs:
BootCurrent: 0001
Timeout: 1 seconds
BootOrder: 0003,0000,0001,0002
Boot0000* UiApp
Boot0001* SATA: Star Drive SATA SSD
Boot0002* UEFI Shell
Boot0003* debian

@Sean-StarLabs
Copy link
Contributor

Awesome, I'll make a note of that :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant