#after windows 11 install, grub refuses to start

139 messages · Page 1 of 1 (latest)

sick forge
#

My machine currently runs Windows 11 and Tumbleweed side by side, on separate disks, on separate ESPs.

Even after manually registering GRUB to UEFI Boot Menu using TianoCore EDK-II Shell, the boot entry disappears.
Secure Boot is off
Firmware is InsydeH2O V1.18

serene quail
#

Windows prolly destroyed your bootloader

queen prawnBOT
#

i register it manually

serene quail
#

yea, and?

#

worked?

queen prawnBOT
#

then I run reset -w

#

then the boot entries disappear and I only see WBM

serene quail
#

Huh, are you sure you have registered it correctly via chroot?

queen prawnBOT
#

theres no chroot

#

since I'm in the UEFI firmware

serene quail
#

Boot into your Live USB, mount your partitons and re-initialize your grub

queen prawnBOT
#

okay
GRUB is in /dev/sdb1
Windows is in /dev/sda1

serene quail
#

You know how, tho?

queen prawnBOT
#

wdym

#

how I did the install was:
Linux on /dev/sdb
Windows on /dev/sda

#

thats just it

#

im waiting for the live environment to be ready

serene quail
#

oh sorry, I was gone for a bit

#

Wait you installed Windows, on a ssd?

queen prawnBOT
#

i have to burn the iso for the 3rd time

#

windows on an SSD

[ohsystemmm@ArchLinuxOnTop~]$ ↩️

[Reply to:](#1236648276196069478 message) Wait you installed Windows, on a ssd?

serene quail
#

Huh why?

queen prawnBOT
#

linux on another SSD

#

because I only have SSDs

serene quail
#

Yk you could have removed the linux one b4?

queen prawnBOT
#

wdym

serene quail
#

Like the Linux ssd, so that windows doesnt get to know there are several ssds

queen prawnBOT
#

what should I do now

#

uninstall the second SSD?

#

(it's gonna be as easy as removing 3 screws and uninstalling a CD-ROM)

#

before Windows install I had RAID0 on two SSDs

serene quail
#

Lmao, no.

queen prawnBOT
#

and Linux

serene quail
#

Oh okay, thats smart. So If youd reinstall linux youd be able to, without dataloss?

queen prawnBOT
#

I have no valuable data to preserve between installs

serene quail
#

But Reinstalling it would be the last thing Id do

queen prawnBOT
#

except the huge archive of pride flags but I don't want to talk about this

Sparkles @ Namsis ↩️

[Reply to:](#1236648276196069478 message) I have no valuable data to preserve between installs

serene quail
#

L - M - A -O

#

Anyways

#

Idk if I am right, but Is it possible that your Grubbtl got destroyed, cuz you isntalled windows after Linux?

queen prawnBOT
#

wdym grubbtl

serene quail
#

Grubbootloader, sorry

queen prawnBOT
#

also I installed Linux again after installing Windows

serene quail
#

Again? So Windows didnt destroy your Bootloader, its more a setup issue?

#

Sorry im just confused rn

queen prawnBOT
#

My firmware normally doesn't recognise GRUB2

#

it does recognise GRUB

#

so I normally enter the UEFI Shell

#

and create a boot entry that points at GRUB2

#

and it normally works

#

but now it does not

#

I can also start GRUB through external means like via the chainloader command on a GRUB on an USB

#

and UEFI Shell,

#

but it won't start on its own

serene quail
#

Cant you just add the GRUB2 bootloader to the GRUB(1?) bootloader via osprober and setting the bootpartitoins of the other distros to that one?

queen prawnBOT
#

wdym

serene quail
#

I am assuming you have multiple Linux distros Installed because of GRUB and GRUB2

queen prawnBOT
#

no

#

only openSUSE

#

and Windows

serene quail
#

Why are then 2 GRUBS?

queen prawnBOT
#

and there's just GRUB2

#

but before that I used GRUB as well and GRUB requires no additional handling,

#

while GRUB2 does

serene quail
#

Wait is there an existing EFI partition with another bootloader?

#

What does GRUB(1) show?

#

nothing?

queen prawnBOT
#

there's GRUB on /dev/sdb1
there's WBM on /dev/sda1

serene quail
#

Yes? Isnt that what you want?

queen prawnBOT
#

if I somewhat get to fire the GRUB on /dev/sdb1
it would show Windows 11 on /dev/sda

#

but I can't get the firmware to recognize GRUB on /dev/sdb

serene quail
#

But you are still able to boot into it?

queen prawnBOT
#

if I plug in an USB

serene quail
#

That doesnt make sense to me 😭

queen prawnBOT
#

the GRUB on the USB starts
then I can run

chainloader (hd1,1)/EFI/opensuse/grubx64.efi
#

but the GRUB on (hd1,1) cannot start

#

im sorry i explained it too messy

#

okay so this is the disk layout

Disk 1: (has Windows 11)
  Partition 1: EFI System Partition (1GB)
  Partition 2: Microsoft Reserved
  Partition 3: NTFS (Windows Root)
Disk 2: (has openSUSE Tumbleweed)
  Partition 1: EFI System Partition
  Partition 2: BTRFS (Linux Root)
#

and I can't load the bootloader by its own

#

but from external means it boots up

serene quail
#

You could use the Partition 1 of Disk 2 as your main Menu and add WBM of Disk 1 Partiton 1 via Os-Prober

#

Sorry, I just took a break

queen prawnBOT
#

i will do this now

#

and I know what I'll see

#

(menu disappears)

serene quail
#

Hah? Sounds spooky

queen prawnBOT
#

Okay I'm in the UEFI Shell now

[ohsystemmm@ArchLinuxOnTop~]$ ↩️

[Reply to:](#1236648276196069478 message) Hah? Sounds spooky

serene quail
#

So you didnt see a bootloader?

#

or any bootmenues

queen prawnBOT
#

I did

serene quail
#

huh, what did it show?

queen prawnBOT
#

she's sad that she can't explain

serene quail
#

HUH?

#

You both are confusing me

queen prawnBOT
#

so basically
What we do is

  1. install Linux
  2. open UEFI shell from the install USB
  3. type in bcfg boot add 9 FS1:\EFI\BOOT\BOOTX64.EFI "Linux Boot Manager"
  4. Exit UEFI shell with reset -w
  5. Observe (Linux disappears)
serene quail
#

One question? Are you both facing that issue?

serene quail
#

Isnt it easier if you just add it via os-prober?

queen prawnBOT
#

Yes

[ohsystemmm@ArchLinuxOnTop~]$ ↩️

[Reply to:](#1236648276196069478 message) One question? Are you both facing that issue?

#

Cause this one simply doesn't work

[ohsystemmm@ArchLinuxOnTop~]$ ↩️

[Reply to:](#1236648276196069478 message) Isnt it easier if you just add it via os-prober?

serene quail
serene quail
queen prawnBOT
#

no

[ohsystemmm@ArchLinuxOnTop~]$ ↩️

[Reply to:](#1236648276196069478 message) Why not? Are there any errors?

serene quail
queen prawnBOT
#

hmm didn't try that one

serene quail
#

Oh lmao

#

So you gotta install Os-prober
Then you have to edit the grub file in /etc/default/grub
uncomment the last line
After that one, update grub (grub-mkconfig -o /boot/grub/grub.cfg
and vuala, you added your bootloader

queen prawnBOT
#

i have os-prober ig

#

or I don't have GRUB installed at all

#

it's either

#

I don't remember which one

serene quail
#

Ill show you in a bit (I miss entered my pwd to often)

#

Skillful👍

queen prawnBOT
#

I'm sorry

serene quail
#

Uncomment: GRUB_DISABLE_OS_PROBER=false

#

in /etc/default/grub

#

Make sure grub is installed b4.

#

After that run:

#

lmk if that worked

queen prawnBOT
#

The system doesn't use GRUB

[ohsystemmm@ArchLinuxOnTop~]$ ↩️

[Reply to:](#1236648276196069478 message) lmk if that worked

#

That's what I see

serene quail
#

What else is it using then?

#

Is your friend also not using grub?

queen prawnBOT
#

Systemd-boot

[ohsystemmm@ArchLinuxOnTop~]$ ↩️

[Reply to:](#1236648276196069478 message) What else is it using then?

serene quail
#

And Valiant?

queen prawnBOT
#

we use the same computer

serene quail
#

Oh okay

#

Makes sense

#

Umm, I have never used systemd bootloader 😭

#

Sorry for wasting y'alls time

queen prawnBOT
#

Let's reinstall for GRUB

#

it's okay

[ohsystemmm@ArchLinuxOnTop~]$ ↩️

[Reply to:](#1236648276196069478 message) Sorry for wasting y'alls timr

serene quail
#

But I can help you setting up grub (on arch)

#

But I think the cmd are pretty much the same

fresh cedar
#

just reinstall grub

queen prawnBOT
#

I did and it didn't work

predicament ↩️

[Reply to:](#1236648276196069478 message) just reinstall grub