Can't get rid of Windows 10

Greetings,

Today I tried to escape from windows 10 but it keeps comming back.

I installed openSUSE today, everything is awesome but when I reboot my pc I get redirected automaticly to hp windows 10 repair where a bunch of errors pop up that tell me that windows is gone… try reboot… so the only way to boot up opensuse is from F9 on startup choosing openSUSE. I have deleted all of the partitions which are windows related and I don’t understand what is happening, please help.

Guessing that it is an EFI boot.

As root run efibootmgr

Show us output using code tags (# in tool bar) to stop the forum from reformatting

linux-clwa:~ # efibootmgr
BootCurrent: 0004
Timeout: 0 seconds
BootOrder: 0003,3003,0004,0005,2001,2002,2004
Boot0002* Notebook Hard Drive
Boot0003* Windows Boot Manager
Boot0004* opensuse-secureboot
Boot0005* EFI Hard Drive (WDC WD7500BPVX-60JC3T0)
Boot2001* EFI USB Device
Boot2002* EFI DVD/CDROM
Boot3003* Internal Hard Disk or Solid State Disk

Need to make 0004 the first in boot order

Note some UEFI system insist on having Windows first and may change it to Windows There is a workaround if this is the case

to change as root

efibootmgr -o 4

do
efibootmgr

again to be sure it changed

You can remove Windows with
efibootmgr -B 3

Make double sure the numbers have not changed before using

If the UEFI still wants to boot windows get back and some one will dig out the fix

Check the HP UEFI/BIOS entries – particularly the “boot” section.
There may be an entry there for a Windows 10 UEFI entry – plus some HP firmware which attempts to “repair” the “corrupted” Windows 10 system.
You will also need to set the boot list priority here (if possible) – move the “Windows” entry down in the UEFI/BIOS boot priority list.
If you’re lucky, you may be able to delete the “Windows” UEFI/BIOS boot entry.

I will try these solutions but I want my laptop to be completely puryfied from the plague of windows. I want to kill this windows, get it rid of my pc and never see it again if possible, is that possible ?

In most cases yes you can stake the devil but some systems you must trick him.

I did not re aly read all of the above, I only act on reading your title.

When I install a system, I tell in the partition phase of the installer, to use the “whole disk”. I think it is somewhee in Custom Partitioning. The installer will then assume that the current partitioning has no meaning and offer to delere all and create a new one. You may want to alter some values then, but the end result will be that all Windows and rescue partitions are removed and overwritten with new openSUSE partitions. Of course Grub will after the installation only show that openSUSE system.

Problem is that the EFI flash still has Windows referenced and it is the default boot but Windows is no more so can not boot it. openSUSE should have been placed as main boot but some hardware insists on Windows being the boot OS

Hi
If that’s the case (the HP ProBook 4430s was like that) and it’s a single boot system, just create a EFI/Boot directory and copy the grub or shim efi file over (need to do on a update as well). In some cases it just looks for the label called “Windows Boot Manager” so you create an efi entry with the label, but point at the openSUSE efi file. Lot’s of ways to ‘skin the cat’ so to speak :wink:

How do I do that, sorry I am a newbie linux user ;(

Hi
Is secure boot enabled on the system? If so, change grubx64.efi to shim.efi


cd /boot/efi/EFI
mkdir Boot
cp opensuse/grubx64.efi Boot/bootx64.efi

Delete the Windows entry;

efibootmgr -b 3 -B 3

Create new entry;

efibootmgr -c -L "Windows Boot Manager" -l "\\EFI\\Boot\\bootx64.efi"