You are not logged in.
I did install grub and os-prober, but it can't find windows boot manager after installing the arch linux.
I followed this install guide from here:https://wiki.archlinux.org/title/instal … _the_disks
it says that 'If the disk from which you want to boot already has an EFI system partition, do not create another one, but use the existing partition instead.', so I used the existing one.
Now I don't know where to find my windows... I can't even find the windows in the BIOS...
Here are some outputs that maybe useful:
---------------------------------------------------------------------------------------------------
fdisk -l:
Disk /dev/nvme0n1: 953.87 GiB, 1024209543168 bytes, 2000409264 sectors
Disk model: CUBEX CP2000 1024GB
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: gpt
Disk identifier: 2A5D4C63-DC8E-438D-A883-BEAF3CC8B6BB
Device Start End Sectors Size Type
/dev/nvme0n1p1 2048 534527 532480 260M EFI System
/dev/nvme0n1p2 534528 567295 32768 16M Microsoft reserved
/dev/nvme0n1p3 567296 419997695 419430400 200G Microsoft basic data
/dev/nvme0n1p4 419997696 998166527 578168832 275.7G Microsoft basic data
/dev/nvme0n1p5 998166528 1000214527 2048000 1000M Windows recovery environment
/dev/nvme0n1p6 1000214528 1371410431 371195904 177G Microsoft basic data
/dev/nvme0n1p7 1371410432 1983778815 612368384 292G Linux root (x86-64)
/dev/nvme0n1p8 1983778816 2000408575 16629760 7.9G Linux swap
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
lsblk:
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINTS
nvme0n1 259:0 0 953.9G 0 disk
├─nvme0n1p1 259:1 0 260M 0 part /boot
├─nvme0n1p2 259:2 0 16M 0 part
├─nvme0n1p3 259:3 0 200G 0 part
├─nvme0n1p4 259:4 0 275.7G 0 part
├─nvme0n1p5 259:5 0 1000M 0 part
├─nvme0n1p6 259:6 0 177G 0 part
├─nvme0n1p7 259:7 0 292G 0 part /
└─nvme0n1p8 259:8 0 7.9G 0 part [SWAP]
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
grub-mkconfig -o /boot/grub/grub.cfg
Generating grub configuration file ...
Found linux image: /boot/vmlinuz-linux
Found initrd image: /boot/amd-ucode.img /boot/initramfs-linux.img
Found fallback initrd image(s) in /boot: amd-ucode.img initramfs-linux-fallback.img
Warning: os-prober will be executed to detect other bootable partitions.
Its output will be used to detect bootable binaries on them and create new boot entries.
Adding boot menu entry for UEFI Firmware Settings ...
done
---------------------------------------------------------------------------------------------------Last edited by Tastelessor (2022-05-04 10:35:05)
Offline
Did you format the EFI partition? If so then you deleted the Windows boot files.
Warning: Only format the EFI system partition if you created it during the partitioning step. If there already was an EFI system partition on disk beforehand, reformatting it can destroy the boot loaders of other installed operating systems.
Offline
Oh no...
I did run the command:
mkfs.fat -F 32 /dev/efi_system_partitionIs there any remedy for it? Or I have to reinstall windows?
Offline
You should be able to fix it by booting a Windows install USB and using the repair options.
Offline
Thank you!
This is my first time posting for help in a forum and I'm surprised by how efficient it is.
Thank you for your fast reply and patience, I'll try it now and mark the post as solved once I succeed.
Many thanks:)
Offline
I solved the problem by repairing the windows boot manager. Here are things that I did:
Insert the Windows 10 media and restart your computer to boot from the media.
Go to Command Prompt (click Troubleshoot > Command Prompt)
Type: bcdboot C:\windows
Press Enter.
Remove the DVD or USB.
Type: exit.
Press Enter.
Restart
And then the os-prober found my windows manager.
Many thanks for Slithery:D
Offline