Welcome, Guest. Please login or register.
Did you miss your activation email?

Author Topic: [EN] PC boots into BIOS  (Read 8162 times)

Offline titan

  • User
  • Posts: 312
[EN] PC boots into BIOS
« on: 2023/09/05, 10:02:53 »
After DU today machine boots into BIOS , I saw other thread and tried setting/changing boot order but just get  error "grub_file_filters not found"

Offline charlyheinz

  • User
  • Posts: 101
Re: PC boots into BIOS
« Reply #1 on: 2023/09/05, 11:28:21 »
This is because grub-efi-amd64-bin has been updated during DU.
You have to reinstall grub as it is shown here:
https://forum.siduction.org/index.php?topic=6065.msg49947#msg49947
What I have to do is to mount /sys different:

Quote
mount --rbind /sys mnt/where you chroot/sys
otherwiese I get an installation-warning!!

Offline titan

  • User
  • Posts: 312
Re: PC boots into BIOS
« Reply #2 on: 2023/09/05, 11:55:05 »
I am not duel booting just siduction not using uefi

Offline hendrikL

  • Administrator
  • User
  • *****
  • Gravatar
  • Posts: 933
Re: PC boots into BIOS
« Reply #3 on: 2023/09/05, 12:38:19 »
Well, I used a live siduction-iso (mow/giants).
Booted it from a USB-Stick, clicked on the chroot-helper icon and after being root in the chrooted system (the dialog is telling all important things) I ran grub-install and to be sure after it an update-grub!
Rebooted, all is fine again!

Offline ghstryder

  • User
  • Posts: 95
Re: PC boots into BIOS
« Reply #4 on: 2023/09/05, 12:41:11 »
Dual-Booting w/Windows 10 here.

All it took was:

chroot w/USB
# grub-install
# update-grub

Offline hendrikL

  • Administrator
  • User
  • *****
  • Gravatar
  • Posts: 933
Re: PC boots into BIOS
« Reply #5 on: 2023/09/05, 15:14:35 »
So, I run on a second laptop an "apt full-upgrade" (it could also be nala-upgrade or apt dist-upgrade), grub got its upgrade,
After that full-upgrade, I ran "grub-install /dev/sdb" (sdb is my boot disk) and afterwards "update-grub" (I don't know if this is necessary), rebooted, and I do not have any problems so far.

Code: [Select]
apt policy grub-common
grub-common:
  Installed: 2.12~rc1-7
  Candidate: 2.12~rc1-7

Offline titan

  • User
  • Posts: 312
Re: PC boots into BIOS
« Reply #6 on: 2023/09/05, 15:47:45 »
Thanks, I have tried everything here still get same error, I have had enough I am off down the woods on my bike to chill out.

Offline hendrikL

  • Administrator
  • User
  • *****
  • Gravatar
  • Posts: 933
Re: PC boots into BIOS
« Reply #7 on: 2023/09/05, 15:55:30 »

Offline dibl

  • siduction community member
  • Global Moderator
  • User
  • *****
  • Posts: 2.358
    • Land of the Buckeye
Re: PC boots into BIOS
« Reply #8 on: 2023/09/05, 16:18:30 »
The new chroot-helper is the star of the show, today!  Nice job!
System76 Oryx Pro, Intel Core i7-11800H, SSD 970 EVO Plus;  Asus ROG STRIX X299-E, Core i7-7740X, Nvidia GTX-1060, dual monitors, SSD 860 EVO

Offline ghstryder

  • User
  • Posts: 95
Re: PC boots into BIOS
« Reply #9 on: 2023/09/05, 17:27:54 »
The new chroot-helper is the star of the show, today!  Nice job!

You can say that again dibl, thanks Team!

Offline Teriarch

  • User
  • Posts: 49
Re: PC boots into BIOS
« Reply #10 on: 2023/09/05, 22:49:42 »
As far as I can tell the problem occurs with the update of grub from
version 2.06-13 to version 2.12~rc1-7 on the 4th of September.

Only UEFI (with or w/o Secure Boot) Mode is affected. The developer
changed the lines in file /etc/grub.d/30_uefi-firmware:

if [ "\$grub_platform" = "efi" ]; then
        fwsetup --is-supported
        if [ "\$?" = 0 ]; then
                menuentry '$LABEL' \$menuentry_id_option 'uefi-firmware' {
                        fwsetup
                }
        fi

The offending command
"fwsetup --is-supported"
has no consequence for grubx64.efi in version 2.12 but causes
version 2.06 to enter the bios fw settings (obviously version 2.06
ignores the option "--is-supported" and enters the firmware settings
instead).

In rare circumstances the old grubx64.efi is not replaced by the new one.
Comment the offending line in /etc/grub.d/30_uefi-firmware as a quick fix
and run update-grub in a chroot environment as suggested.

Offline hendrikL

  • Administrator
  • User
  • *****
  • Gravatar
  • Posts: 933
Re: PC boots into BIOS
« Reply #11 on: 2023/09/06, 07:52:55 »
One short information to the chroot-helper and  encrypted systems. First you have to open your crypted system before chrooting in to it.
So you have to do it by hand, sorry.
« Last Edit: 2023/09/06, 09:48:26 by hendrikL »

Offline bevo

  • User
  • Posts: 319
Re: PC boots into BIOS
« Reply #12 on: 2023/09/06, 08:36:00 »
@ Teriarch: Bingo :) great job, thank you !!

Offline Jeef

  • User
  • Posts: 5
Re: PC boots into BIOS
« Reply #13 on: 2023/09/06, 12:47:53 »
One short information to the chroot-helper and  encrypted systems. First you have to open your crypted system before chrooting in to it.
So you have to do it by hand, sorry.

Did you decrypt via cli or from another method. I've been trying luksopen the running chroot-helper but get prompted drive is already in use. Might need to chroot manually

Offline titan

  • User
  • Posts: 312
Re: PC boots into BIOS
« Reply #14 on: 2023/09/06, 13:02:23 »
I gave up with my original install, and did a clean install, with new ssd of latest siduction but after du it has same problem but Teriarch's solution fixed it