View previous topic :: View next topic |
Author |
Message |
DONAHUE Watchman
Joined: 09 Dec 2006 Posts: 7651 Location: Goose Creek SC
|
Posted: Thu Apr 13, 2023 12:57 am Post subject: windows on my dual boot machines now preventsgentoo linux |
|
|
I installed the M$ April update yesterday on four gentoo/windows (3 win10, 1 win 11) double booters. Also a malicious software removal tool update. Later today all four PC's cannot boot gentoo minimal install disks but can boot a Windows 10 install disk. The win 11 also boots win 11 install disk. The installed gentoos are invisible, not bootable or runnable. I have been running dual boot for 17 years, one of these machines was my first uefi dual boot about 10 years ago. This is a first. My assorted uefi/bios report secure boot disabled, I suspect M$ attacked directly in the uefi/bios. My available boot devices show only windows boot manager in some cases in others some legacy devices appear (unbootable).
SO: BE WARNED!
Ideas for a workaround welcomed ... _________________ Defund the FCC. |
|
Back to top |
|
|
alamahant Advocate
Joined: 23 Mar 2019 Posts: 3879
|
Posted: Thu Apr 13, 2023 7:43 am Post subject: |
|
|
Can your machines boot into like for example ubuntu live desktop?
If yes boot into it,mount all gentoo partitions chroot and re-install grub. _________________
|
|
Back to top |
|
|
sMueggli Guru
Joined: 03 Sep 2022 Posts: 374
|
Posted: Thu Apr 13, 2023 8:22 am Post subject: |
|
|
On Windows you can open CMD as administrator and check with
Code: | bcdedit /enum firmware |
whether the boot entries in the NVRAM still exist for Gentoo or not.
If they are missing, check the files on the ESP. If the bootloader files are missing, reinstall the bootloader. If the bootloader files still exist, recreate the boot entries in the NVRAM. |
|
Back to top |
|
|
Banana Veteran
Joined: 21 May 2004 Posts: 1402 Location: Germany
|
Posted: Thu Apr 13, 2023 2:25 pm Post subject: |
|
|
DONAHUE wrote: | My assorted uefi/bios report secure boot disabled, |
Isn't secureboot/tmp a requirement for Windows 11?
Quote: | Later today all four PC's cannot boot gentoo minimal install disks but can boot a Windows 10 install disk | Does is work with a another distro? _________________ My personal space
My delta-labs.org snippets do expire
PFL - Portage file list - find which package a file or command belongs to. |
|
Back to top |
|
|
DONAHUE Watchman
Joined: 09 Dec 2006 Posts: 7651 Location: Goose Creek SC
|
Posted: Thu Apr 13, 2023 3:28 pm Post subject: |
|
|
@ banana
Only1 was win11/gentoo and both win11 and gentoo were booting very nicely for 3 days until yesterday->4-12-2023
3 of the casualties were win 10/gentoo and both win10 and gentoo were booting very nicely for years until yesterday, if there is a win 11 prohibition on disabling secure boot it may have been misapplied to win 10.@
@ alamahant
one box recognized ubuntu dvd and on fourth try installed in ram. installed a brand new 128GB flash drive between failures 1,2, and 3; maybe a bigger target made difference. have had no drive for 2, new 32 gig stick for 3, 128 gig for 4. disk drives are hot swappable ssd's; had tried win only installed, gentoo only installed, neither installed with the gentoo minimal install cd. this machine could see the efi on the cd when no disk drives were swapped in but only went to GRUB prompt will go play with ubuntu.
@ sMueggli
Will try bcedit comand suggested. Was trying mountvol R: /S (and/or \S ) may be typo here - used copy and paste from Rodsbooks at the time and kept getting parameter error _________________ Defund the FCC. |
|
Back to top |
|
|
DONAHUE Watchman
Joined: 09 Dec 2006 Posts: 7651 Location: Goose Creek SC
|
Posted: Thu Apr 13, 2023 4:13 pm Post subject: |
|
|
On my mainly use gentoo machine
used:
mountvol
got:
<Help Stuff>
Then:
Possible values for VolumeName along with current mount points are:
\\?\Volume{d5753e04-0930-4336-947d-993a23f1dc9b}\
*** NO MOUNT POINTS ***
\\?\Volume{a060526f-77af-4d65-b56e-6869869ff6e2}\
C:\
\\?\Volume{43512c30-f690-4b5a-be63-e248e597d241}\
*** NO MOUNT POINTS ***
\\?\Volume{cad2219f-3047-4b03-a174-19475754a5cb}\
E:\
\\?\Volume{25ddc9d6-0e8c-11e6-bba0-806e6f6e6963}\
F:\
\\?\Volume{25ddc9d7-0e8c-11e6-bba0-806e6f6e6963}\
G:\
\\?\Volume{25ddc9d8-0e8c-11e6-bba0-806e6f6e6963}\
H:\
\\?\Volume{25ddc9d9-0e8c-11e6-bba0-806e6f6e6963}\
I:\
\\?\Volume{51a3c325-d58f-11ed-bceb-806e6f6e6963}\
D:\
The EFI System Partition is mounted at E:\
Then:
C:\WINDOWS\system32>E:
E:\>dir
Volume in drive E has no label.
Volume Serial Number is B0A3-1E06
Directory of E:\
01/28/2020 06:05 PM <DIR> EFI
07/29/2018 09:13 PM <DIR> .Trash-0
04/13/2023 11:40 AM 0 dir
04/13/2023 11:40 AM 0 Microsoft
04/13/2023 11:40 AM 0 Boot
04/13/2023 11:40 AM 0 refind
04/13/2023 11:40 AM 0 Gentoo
04/13/2023 11:40 AM 0 Stub
04/13/2023 11:40 AM 0 tools
7 File(s) 0 bytes
2 Dir(s) 54,778,880 bytes free
E:\>dir EFI
Volume in drive E has no label.
Volume Serial Number is B0A3-1E06
Directory of E:\EFI
04/29/2016 08:20 PM <DIR> .
04/29/2016 08:20 PM <DIR> ..
04/29/2016 08:20 PM <DIR> Microsoft
04/29/2016 08:28 PM <DIR> Boot
01/28/2020 06:05 PM <DIR> refind
07/28/2020 11:09 AM <DIR> Gentoo
11/29/2019 01:48 PM <DIR> Stub
01/28/2020 06:05 PM <DIR> tools
0 File(s) 0 bytes
8 Dir(s) 54,778,880 bytes free
Stuff I added seems to be present. Must look deeper at E: and mount some other volumes and check for another ESP. _________________ Defund the FCC. |
|
Back to top |
|
|
DONAHUE Watchman
Joined: 09 Dec 2006 Posts: 7651 Location: Goose Creek SC
|
Posted: Thu Apr 13, 2023 4:39 pm Post subject: |
|
|
On my mainly used windows 10 machine with ubuntu running in ram: the empty 128 gig flash was/is seen. I swapped the gentoo ssd in; it promptly appeared in ubuntu looking normal. Plan: install ubuntu on flash drive. copy gentoo to another flash drive. try to see what the nvram holds in the 'win 11 on new hardware' machine and in the remaining 'win 10 on really old hardware' machine. _________________ Defund the FCC. |
|
Back to top |
|
|
DONAHUE Watchman
Joined: 09 Dec 2006 Posts: 7651 Location: Goose Creek SC
|
Posted: Thu Apr 13, 2023 6:00 pm Post subject: |
|
|
@ sMueggli
Good call, refind on ESP not in nvram
C:\WINDOWS\system32>bcdedit /enum firmware
Firmware Boot Manager
---------------------
identifier {fwbootmgr}
displayorder {e46b8c08-1c84-11e6-bbc5-806e6f6e6963}
{d0ca329f-9a35-11ea-bc88-806e6f6e6963}
{e46b8c07-1c84-11e6-bbc5-806e6f6e6963}
{bootmgr}
timeout 10
Windows Boot Manager
--------------------
identifier {bootmgr}
device partition=E:
path \EFI\MICROSOFT\BOOT\BOOTMGFW.EFI
description Windows Boot Manager
locale en-US
inherit {globalsettings}
default {current}
resumeobject {4e10d8a7-d903-11ed-9f84-a38010201d64}
displayorder {current}
toolsdisplayorder {memdiag}
timeout 30
Firmware Application (101fffff)
-------------------------------
identifier {d0ca329f-9a35-11ea-bc88-806e6f6e6963}
device partition=E:
path \EFI\GENTOO\GRUBX64.EFI
description gentoo
Firmware Application (101fffff)
-------------------------------
identifier {e46b8c07-1c84-11e6-bbc5-806e6f6e6963}
description Hard Drive
Firmware Application (101fffff)
-------------------------------
identifier {e46b8c08-1c84-11e6-bbc5-806e6f6e6963}
description USB _________________ Defund the FCC. |
|
Back to top |
|
|
DONAHUE Watchman
Joined: 09 Dec 2006 Posts: 7651 Location: Goose Creek SC
|
Posted: Fri Apr 14, 2023 12:45 pm Post subject: |
|
|
4 dual boot machines recovered from having the EFI nvram cleaned out of every entry that was not M$ boot manager or legacy non UEFI hardware devices
during repairs memory returned of this happening when win 7 was replaced by win 8; win 8 was replaced by win 10;
reinstalled rEFInd from Windows on i machine, with gentoo operational (needed dd) made some refind flash drives then installed rEFInd from the flash drives on the other 3 machines. this method adds the rEFInd files to the EFI System Partition
of your choice and writes the nvram then you can boot from the flash drive or reboot and boot from rEFInd on the ESP you chose.
no idea why the gentoo minimal was not recognized
Having disabled TPM and secureboot so far does not bother Windows 11 on the new hardware.
THANKS alamahant Banana sMueggl _________________ Defund the FCC. |
|
Back to top |
|
|
Banana Veteran
Joined: 21 May 2004 Posts: 1402 Location: Germany
|
|
Back to top |
|
|
DONAHUE Watchman
Joined: 09 Dec 2006 Posts: 7651 Location: Goose Creek SC
|
|
Back to top |
|
|
|