You are not logged in.

#1 2023-01-20 11:25:00

Stache
Member
Registered: 2023-01-19
Posts: 4

[SOLVED] Existing Windows EFI partition not detected during install

Hi all,

I'm trying to install Arch Linux. Following the install guide, I got stuck at the "Partition the disks" part.

I have Windows 10 installed with two hard drives: one where Windows is installed and another which has my data and a not-yet-formatted partition where I intend to place Arch.

My Windows hard drive has 3 partitions:
1) An EFI partition that Windows uses to boot
2) Some Windows backup partition
3) The partition where Windows sits ("C:\")

Using "fdisk -l", I can see that Linux sees both hard drives (sda and sdb, respectively), but on the hard drive where Windows is installed it only recognizes the partition where Windows sits, but not the EFI partition... sad I'm a bit puzzled how to proceed. My guess is that I most certainly shouldn't create a new EFI partition (I want dual boot), and I should use the existing one - but it's not recognized...

Any ideas?

Last edited by Stache (2023-01-22 13:19:17)

Offline

#2 2023-01-20 11:27:26

d.ALT
Member
Registered: 2019-05-10
Posts: 943

Re: [SOLVED] Existing Windows EFI partition not detected during install

Please, boot into Official ArchLinux's ISO and post here output(s):

# efivar --list

# ls -la /sys/firmware/efi/efivars

# lsblk -f

# gdisk -l /dev/sda

# gdisk -l /dev/sdb

<49,17,III,I>    Fama di loro il mondo esser non lassa;
<50,17,III,I>    misericordia e giustizia li sdegna:
<51,17,III,I>    non ragioniam di lor, ma guarda e passa.

Offline

#3 2023-01-20 19:25:26

Stache
Member
Registered: 2023-01-19
Posts: 4

Re: [SOLVED] Existing Windows EFI partition not detected during install

Hi d.Alt,

Thanks a lot for helping.

Here's the output:

-------------
efivar --list
-------------

1b838190-4625-4ead-abc9-cd5e6af18fe0-HiiDB
8be4df61-93ca-11d2-aa0d-00e098032b8c-BootCurrent
8be4df61-93ca-11d2-aa0d-00e098032b8c-PlatformLangCodes
ec87d643-eba4-4bb5-a1e5-3f3e36b20da9-NBGopPlatformData
b08f97ff-e6e8-4193-a997-5e9e9b0adb32-CpuSetupVolatileData
8be4df61-93ca-11d2-aa0d-00e098032b8c-ErrOutDev
8be4df61-93ca-11d2-aa0d-00e098032b8c-BootOptionSupport
193dfefa-a445-4302-99d8-ef3aad1a04c6-RstSataV
8be4df61-93ca-11d2-aa0d-00e098032b8c-ConInDev
8be4df61-93ca-11d2-aa0d-00e098032b8c-ConOutDev
8be4df61-93ca-11d2-aa0d-00e098032b8c-OsIndicationsSupported
9cb2e73f-7325-40f4-a484-659bb344c3cd-SOFTWAREGUARDSTATUS
01368881-c4ad-4b1d-b631-d57a8ec8db6b-OA3MSDMvariable
01368881-c4ad-4b1d-b631-d57a8ec8db6b-FPDT_Volatile
8be4df61-93ca-11d2-aa0d-00e098032b8c-PKDefault
8be4df61-93ca-11d2-aa0d-00e098032b8c-KEKDefault
8be4df61-93ca-11d2-aa0d-00e098032b8c-dbDefault
8be4df61-93ca-11d2-aa0d-00e098032b8c-dbxDefault
ec87d643-eba4-4bb5-a1e5-3f3e36b20da9-aDefaultSetupConfig
8be4df61-93ca-11d2-aa0d-00e098032b8c-VendorKeys
8be4df61-93ca-11d2-aa0d-00e098032b8c-SignatureSupport
8be4df61-93ca-11d2-aa0d-00e098032b8c-SecureBoot
8be4df61-93ca-11d2-aa0d-00e098032b8c-SetupMode
8be4df61-93ca-11d2-aa0d-00e098032b8c-Timeout
8be4df61-93ca-11d2-aa0d-00e098032b8c-PlatformLang
8be4df61-93ca-11d2-aa0d-00e098032b8c-Boot0001
fe47349a-7f0d-4641-822b-34baa28ecdd0-UIT_DATA
fe47349a-7f0d-4641-822b-34baa28ecdd0-UIT_HEADER
73dad563-8f27-42af-918f-8651eb0a93ef-Ep
8f132913-6907-4192-a227-6cbcd7a50e6c-RequestMailItemData
a9b5f8d2-cb6d-42c2-bc01-b5ffaae4335e-PBRDevicePath
8be4df61-93ca-11d2-aa0d-00e098032b8c-Boot0000
81c76078-bfde-4368-9790-570914c01a65-SetUpdateCountVar
4da4f952-2516-4d06-8975-65036403a8c7-RstOptaneConfig
d719b2cb-3d3a-4596-a3bc-dad00e67656f-dbx
eaec226f-c9a3-477a-a826-ddc716cdc0e3-OfflineUniqueIDRandomSeedCRC
eaec226f-c9a3-477a-a826-ddc716cdc0e3-OfflineUniqueIDRandomSeed
8be4df61-93ca-11d2-aa0d-00e098032b8c-BootOrder
eaec226f-c9a3-477a-a826-ddc716cdc0e3-UnlockIDCopy
77fa9abd-0359-4d32-bd60-28f4e78f784b-CurrentPolicy
4b3082a3-80c6-4d7e-9cd0-583917265df1-DmiVar0200020700
4b3082a3-80c6-4d7e-9cd0-583917265df1-DmiArray
8f132913-6907-4192-a227-6cbcd7a50e6c-MacAddrVar
8f132913-6907-4192-a227-6cbcd7a50e6c-StageChk
8f132913-6907-4192-a227-6cbcd7a50e6c-ASR_USER_DEF_VER
45cf35f6-0d6e-4d04-856a-0370a5b16f53-DefaultBootOrder
8be4df61-93ca-11d2-aa0d-00e098032b8c-ErrOut
8be4df61-93ca-11d2-aa0d-00e098032b8c-ConIn
8be4df61-93ca-11d2-aa0d-00e098032b8c-ConOut
e20939be-32d4-41be-a150-897f85d49829-MemoryOverwriteRequestControl
bb983ccf-151d-40e1-a07b-4a17be168292-MemoryOverwriteRequestControlLock
4b3082a3-80c6-4d7e-9cd0-583917265df1-MaximumTableSize
4b3082a3-80c6-4d7e-9cd0-583917265df1-SmbiosScratchBuffer
4b3082a3-80c6-4d7e-9cd0-583917265df1-SmbiosV3EntryPointTable
4b3082a3-80c6-4d7e-9cd0-583917265df1-SmbiosEntryPointTable
4b3082a3-80c6-4d7e-9cd0-583917265df1-WriteOnceStatus
eda41d22-7729-5b91-b3ee-ba619921cefa-IntUcode
ec87d643-eba4-4bb5-a1e5-3f3e36b20da9-SetupCpuFeatures
9d0da369-540b-46f8-85a0-2b5f2c301e15-EfiTime
8f132913-6907-4192-a227-6cbcd7a50e6c-ASRRSTConfigData
8be4df61-93ca-11d2-aa0d-00e098032b8c-LoadSetupDefault
01368881-c4ad-4b1d-b631-d57a8ec8db6b-MonotonicCounter
97e8965f-c761-4f48-b6e4-9ffa9cb2a2d6-DeploymentModeNv

--------------------------------
ls -la /sys/firmware/efi/efivars
--------------------------------

total 0
drwxr-xr-x 2 root root     0 Jan 20  2023 .
drwxr-xr-x 5 root root     0 Jan 20  2023 ..
-rw-r--r-- 1 root root     9 Jan 20  2023 ASRRSTConfigData-8f132913-6907-4192-a227-6cbcd7a50e6c
-rw-r--r-- 1 root root    13 Jan 20  2023 ASR_USER_DEF_VER-8f132913-6907-4192-a227-6cbcd7a50e6c
-rw-r--r-- 1 root root   304 Jan 20  2023 Boot0000-8be4df61-93ca-11d2-aa0d-00e098032b8c
-rw-r--r-- 1 root root   190 Jan 20  2023 Boot0001-8be4df61-93ca-11d2-aa0d-00e098032b8c
-rw-r--r-- 1 root root     6 Jan 20  2023 BootCurrent-8be4df61-93ca-11d2-aa0d-00e098032b8c
-rw-r--r-- 1 root root     8 Jan 20  2023 BootOptionSupport-8be4df61-93ca-11d2-aa0d-00e098032b8c
-rw-r--r-- 1 root root     8 Jan 20  2023 BootOrder-8be4df61-93ca-11d2-aa0d-00e098032b8c
-rw-r--r-- 1 root root    88 Jan 20  2023 ConInDev-8be4df61-93ca-11d2-aa0d-00e098032b8c
-rw-r--r-- 1 root root    88 Jan 20  2023 ConIn-8be4df61-93ca-11d2-aa0d-00e098032b8c
-rw-r--r-- 1 root root    70 Jan 20  2023 ConOutDev-8be4df61-93ca-11d2-aa0d-00e098032b8c
-rw-r--r-- 1 root root    70 Jan 20  2023 ConOut-8be4df61-93ca-11d2-aa0d-00e098032b8c
-rw-r--r-- 1 root root    16 Jan 20  2023 CpuSetupVolatileData-b08f97ff-e6e8-4193-a997-5e9e9b0adb32
-rw-r--r-- 1 root root     5 Jan 20  2023 CurrentPolicy-77fa9abd-0359-4d32-bd60-28f4e78f784b
-rw-r--r-- 1 root root     8 Jan 20  2023 DefaultBootOrder-45cf35f6-0d6e-4d04-856a-0370a5b16f53
-rw-r--r-- 1 root root     5 Jan 20  2023 DeploymentModeNv-97e8965f-c761-4f48-b6e4-9ffa9cb2a2d6
-rw-r--r-- 1 root root  1284 Jan 20  2023 DmiArray-4b3082a3-80c6-4d7e-9cd0-583917265df1
-rw-r--r-- 1 root root    20 Jan 20  2023 DmiVar0200020700-4b3082a3-80c6-4d7e-9cd0-583917265df1
-rw-r--r-- 1 root root     7 Jan 20  2023 EfiTime-9d0da369-540b-46f8-85a0-2b5f2c301e15
-rw-r--r-- 1 root root    36 Jan 20  2023 Ep-73dad563-8f27-42af-918f-8651eb0a93ef
-rw-r--r-- 1 root root    70 Jan 20  2023 ErrOutDev-8be4df61-93ca-11d2-aa0d-00e098032b8c
-rw-r--r-- 1 root root    70 Jan 20  2023 ErrOut-8be4df61-93ca-11d2-aa0d-00e098032b8c
-rw-r--r-- 1 root root     8 Jan 20  2023 FPDT_Volatile-01368881-c4ad-4b1d-b631-d57a8ec8db6b
-rw-r--r-- 1 root root    12 Jan 20  2023 HiiDB-1b838190-4625-4ead-abc9-cd5e6af18fe0
-rw-r--r-- 1 root root    20 Jan 20  2023 IntUcode-eda41d22-7729-5b91-b3ee-ba619921cefa
-rw-r--r-- 1 root root  1564 Jan 20  2023 KEKDefault-8be4df61-93ca-11d2-aa0d-00e098032b8c
-rw-r--r-- 1 root root     5 Jan 20  2023 LoadSetupDefault-8be4df61-93ca-11d2-aa0d-00e098032b8c
-rw-r--r-- 1 root root    17 Jan 20  2023 MacAddrVar-8f132913-6907-4192-a227-6cbcd7a50e6c
-rw-r--r-- 1 root root     6 Jan 20  2023 MaximumTableSize-4b3082a3-80c6-4d7e-9cd0-583917265df1
-rw-r--r-- 1 root root     5 Jan 20  2023 MemoryOverwriteRequestControlLock-bb983ccf-151d-40e1-a07b-4a17be168292
-rw-r--r-- 1 root root     5 Jan 20  2023 MemoryOverwriteRequestControl-e20939be-32d4-41be-a150-897f85d49829
-rw-r--r-- 1 root root     8 Jan 20  2023 MonotonicCounter-01368881-c4ad-4b1d-b631-d57a8ec8db6b
-rw-r--r-- 1 root root     6 Jan 20  2023 NBGopPlatformData-ec87d643-eba4-4bb5-a1e5-3f3e36b20da9
-rw-r--r-- 1 root root    28 Jan 20  2023 OA3MSDMvariable-01368881-c4ad-4b1d-b631-d57a8ec8db6b
-rw-r--r-- 1 root root     8 Jan 20  2023 OfflineUniqueIDRandomSeedCRC-eaec226f-c9a3-477a-a826-ddc716cdc0e3
-rw-r--r-- 1 root root    36 Jan 20  2023 OfflineUniqueIDRandomSeed-eaec226f-c9a3-477a-a826-ddc716cdc0e3
-rw-r--r-- 1 root root    12 Jan 20  2023 OsIndicationsSupported-8be4df61-93ca-11d2-aa0d-00e098032b8c
-rw-r--r-- 1 root root   540 Jan 20  2023 PBRDevicePath-a9b5f8d2-cb6d-42c2-bc01-b5ffaae4335e
-rw-r--r-- 1 root root   644 Jan 20  2023 PKDefault-8be4df61-93ca-11d2-aa0d-00e098032b8c
-rw-r--r-- 1 root root    54 Jan 20  2023 PlatformLangCodes-8be4df61-93ca-11d2-aa0d-00e098032b8c
-rw-r--r-- 1 root root    10 Jan 20  2023 PlatformLang-8be4df61-93ca-11d2-aa0d-00e098032b8c
-rw-r--r-- 1 root root   388 Jan 20  2023 RequestMailItemData-8f132913-6907-4192-a227-6cbcd7a50e6c
-rw-r--r-- 1 root root     5 Jan 20  2023 RstOptaneConfig-4da4f952-2516-4d06-8975-65036403a8c7
-rw-r--r-- 1 root root    42 Jan 20  2023 RstSataV-193dfefa-a445-4302-99d8-ef3aad1a04c6
-rw-r--r-- 1 root root     5 Jan 20  2023 SOFTWAREGUARDSTATUS-9cb2e73f-7325-40f4-a484-659bb344c3cd
-rw-r--r-- 1 root root     5 Jan 20  2023 SecureBoot-8be4df61-93ca-11d2-aa0d-00e098032b8c
-rw-r--r-- 1 root root     8 Jan 20  2023 SetUpdateCountVar-81c76078-bfde-4368-9790-570914c01a65
-rw-r--r-- 1 root root    53 Jan 20  2023 SetupCpuFeatures-ec87d643-eba4-4bb5-a1e5-3f3e36b20da9
-rw-r--r-- 1 root root     5 Jan 20  2023 SetupMode-8be4df61-93ca-11d2-aa0d-00e098032b8c
-rw-r--r-- 1 root root   148 Jan 20  2023 SignatureSupport-8be4df61-93ca-11d2-aa0d-00e098032b8c
-rw-r--r-- 1 root root    12 Jan 20  2023 SmbiosEntryPointTable-4b3082a3-80c6-4d7e-9cd0-583917265df1
-rw-r--r-- 1 root root    12 Jan 20  2023 SmbiosScratchBuffer-4b3082a3-80c6-4d7e-9cd0-583917265df1
-rw-r--r-- 1 root root    12 Jan 20  2023 SmbiosV3EntryPointTable-4b3082a3-80c6-4d7e-9cd0-583917265df1
-rw-r--r-- 1 root root    34 Jan 20  2023 StageChk-8f132913-6907-4192-a227-6cbcd7a50e6c
-rw-r--r-- 1 root root     6 Jan 20  2023 Timeout-8be4df61-93ca-11d2-aa0d-00e098032b8c
-rw-r--r-- 1 root root    21 Jan 20  2023 UIT_DATA-fe47349a-7f0d-4641-822b-34baa28ecdd0
-rw-r--r-- 1 root root    36 Jan 20  2023 UIT_HEADER-fe47349a-7f0d-4641-822b-34baa28ecdd0
-rw-r--r-- 1 root root    36 Jan 20  2023 UnlockIDCopy-eaec226f-c9a3-477a-a826-ddc716cdc0e3
-rw-r--r-- 1 root root     5 Jan 20  2023 VendorKeys-8be4df61-93ca-11d2-aa0d-00e098032b8c
-rw-r--r-- 1 root root    68 Jan 20  2023 WriteOnceStatus-4b3082a3-80c6-4d7e-9cd0-583917265df1
-rw-r--r-- 1 root root     7 Jan 20  2023 aDefaultSetupConfig-ec87d643-eba4-4bb5-a1e5-3f3e36b20da9
-rw-r--r-- 1 root root  3147 Jan 20  2023 dbDefault-8be4df61-93ca-11d2-aa0d-00e098032b8c
-rw-r--r-- 1 root root  3728 Jan 20  2023 dbxDefault-8be4df61-93ca-11d2-aa0d-00e098032b8c
-rw-r--r-- 1 root root 12904 Jan 20  2023 dbx-d719b2cb-3d3a-4596-a3bc-dad00e67656f

--------
lsblk -f
--------

NAME   FSTYPE   FSVER LABEL       UUID                                 FSAVAIL FSUSE% MOUNTPOINTS
loop0  squashfs 4.0                                                          0   100% /run/archiso/airootfs
sda                                                                                   
├─sda1                                                                               
└─sda2 ntfs           SEAGATE     E27A694C7A691F13                                   
sdb                                                                                   
└─sdb1 vfat     FAT32 ARCH_202301 1C03-025E                                           

-----------------
gdisk -l /dev/sda
-----------------

GPT fdisk (gdisk) version 1.0.9.1

The protective MBR's 0xEE partition is oversized! Auto-repairing.

Partition table scan:
  MBR: protective
  BSD: not present
  APM: not present
  GPT: present

Found valid GPT with protective MBR; using GPT.
Disk /dev/sda: 1953525168 sectors, 931.5 GiB
Model: ST1000DX002-2DV1
Sector size (logical/physical): 512/4096 bytes
Disk identifier (GUID): E95D9A25-51B7-4BD1-A147-924A2D2E4CCE
Partition table holds up to 128 entries
Main partition table begins at sector 2 and ends at sector 33
First usable sector is 34, last usable sector is 1953525134
Partitions will be aligned on 8-sector boundaries
Total free space is 538971535 sectors (257.0 GiB)

Number  Start (sector)    End (sector)  Size       Code  Name
   1              34           32767   16.0 MiB    0C01  Microsoft reserved ...
   2           32768      1414553599   674.5 GiB   0700  Basic data partition

-----------------
gdisk -l /dev/sdb
-----------------

GPT fdisk (gdisk) version 1.0.9.1

The protective MBR's 0xEE partition is oversized! Auto-repairing.

Partition table scan:
  MBR: protective
  BSD: not present
  APM: not present
  GPT: present

Found valid GPT with protective MBR; using GPT.
Disk /dev/sdb: 245760000 sectors, 117.2 GiB
Model: USB DISK 3.2   
Sector size (logical/physical): 512/512 bytes
Disk identifier (GUID): CE1B3282-FF62-4DE3-8C08-A21D8552BED2
Partition table holds up to 128 entries
Main partition table begins at sector 2 and ends at sector 33
First usable sector is 34, last usable sector is 245759966
Partitions will be aligned on 2048-sector boundaries
Total free space is 2014 sectors (1007.0 KiB)

Number  Start (sector)    End (sector)  Size       Code  Name
   1            2048       245759966   117.2 GiB   0700  Main Data Partition

Offline

#4 2023-01-21 16:36:35

d.ALT
Member
Registered: 2019-05-10
Posts: 943

Re: [SOLVED] Existing Windows EFI partition not detected during install

Please, use [ code ] [ / code ] tags (without spaces) when posting output.


I wonder how you're booting Windows, as I don't see any ESP(*) on /dev/sda:

-----------------
gdisk -l /dev/sda
-----------------

GPT fdisk (gdisk) version 1.0.9.1

The protective MBR's 0xEE partition is oversized! Auto-repairing.

Partition table scan:
  MBR: protective
  BSD: not present
  APM: not present
  GPT: present

Found valid GPT with protective MBR; using GPT.
Disk /dev/sda: 1953525168 sectors, 931.5 GiB
Model: ST1000DX002-2DV1
Sector size (logical/physical): 512/4096 bytes
Disk identifier (GUID): E95D9A25-51B7-4BD1-A147-924A2D2E4CCE
Partition table holds up to 128 entries
Main partition table begins at sector 2 and ends at sector 33
First usable sector is 34, last usable sector is 1953525134
Partitions will be aligned on 8-sector boundaries
Total free space is 538971535 sectors (257.0 GiB)

Number  Start (sector)    End (sector)  Size       Code  Name
   1              34           32767   16.0 MiB    0C01  Microsoft reserved ...
   2           32768      1414553599   674.5 GiB   0700  Basic data partition


/dev/sdb is... What? An external USB-attached Hard Drive?
Also, you have the entire partition (sdb1) on it in FAT32... (*)Is this your ESP?
Please post here output of

# efibootmgr -v

<49,17,III,I>    Fama di loro il mondo esser non lassa;
<50,17,III,I>    misericordia e giustizia li sdegna:
<51,17,III,I>    non ragioniam di lor, ma guarda e passa.

Offline

#5 2023-01-21 17:00:42

Head_on_a_Stick
Member
From: Belsize Park
Registered: 2014-02-20
Posts: 8,250
Website

Re: [SOLVED] Existing Windows EFI partition not detected during install

Looks like /dev/sdb contains the Arch live ISO image.


Velocitas Eradico

Offline

#6 2023-01-22 13:12:48

Stache
Member
Registered: 2023-01-19
Posts: 4

Re: [SOLVED] Existing Windows EFI partition not detected during install

Hi guys,

Yeah, turns out I'm just lost in general. big_smile /dev/sdb was indeed my USB drive with Arch on it and NOT my SSD drive with my Win partition - they just happen to have the same size which confused me...

My SSD drive with the Win partition and EFI didn't show up at all - a quick search on the Arch Wiki gave me the answer. (RAID settings issues in BIOS, aka the usual suspect.)

Thanks a lot for your help, you've managed to point me to the right direction, so I can finally progress.

Have a great day!

Offline

Board footer

Powered by FluxBB