Windows 10 not recognised
Windows 10 not recognised
Hi,
I would like to seek for solution to my problem.
My laptop, Lenovo brand, has Windows 10 installed by default. Today, I installed CentOS 7. After installation, as usual, Grub is installed on my laptop now. However, my Windows 10 installation cannot be found.
Note that during CentOS installation, I choose 1 partition to be formatted as / on my Linux, and another one for /boot/efi. I'm not sure if this mess is because of this.
I have used recovery disk to boot and tried to do automatic repair, but no luck. I as well have tried to perform the bootrec /fixboot, /fixmbr, and /rebuildbcd commands without luck. The rebuildbcd command complained that no Windows installation was found.
Please help me to make my Windows recognisable again. All my data are still there. I can access my Windows partitions in my Linux. Only boot to Windows is my problem.
Here is the screenshot of my partition for your reference.
https://filestore.community.support.mic ... pload=true
Let me know if you need further information.
Thanks in advance.
I would like to seek for solution to my problem.
My laptop, Lenovo brand, has Windows 10 installed by default. Today, I installed CentOS 7. After installation, as usual, Grub is installed on my laptop now. However, my Windows 10 installation cannot be found.
Note that during CentOS installation, I choose 1 partition to be formatted as / on my Linux, and another one for /boot/efi. I'm not sure if this mess is because of this.
I have used recovery disk to boot and tried to do automatic repair, but no luck. I as well have tried to perform the bootrec /fixboot, /fixmbr, and /rebuildbcd commands without luck. The rebuildbcd command complained that no Windows installation was found.
Please help me to make my Windows recognisable again. All my data are still there. I can access my Windows partitions in my Linux. Only boot to Windows is my problem.
Here is the screenshot of my partition for your reference.
https://filestore.community.support.mic ... pload=true
Let me know if you need further information.
Thanks in advance.
Re: Windows 10 not recognised
How exactly do you define "cannot be found"?handra wrote:However, my Windows 10 installation cannot be found.
When you enter the boot menu of your UEFI, is Windows listed there?
If you reference to the Linux/Grub boot menu: Yes, Windows isn't listed there by default. Install
Code: Select all
yum install epel-release
yum install ntfs-3g
Hopefully you did choose your already existing ESP for /boot/efi and did not choose to format it during installation.Note that during CentOS installation, I choose 1 partition to be formatted as / on my Linux, and another one for /boot/efi.
Otherwise you either have two ESP now (which could confuse both, UEFI and the Windows Installer/Repair), or you have a single one with CentOS bootloader only.
Please post the output of the following commands (as root):Here is the screenshot of my partition for your reference.
Code: Select all
os-prober
mount
fdisk -l /dev/sda
ls /boot/efi/EFI
efibootmgr -v
German speaking forum for Fedora and CentOS: https://www.fedoraforum.de/
Re: Windows 10 not recognised
I think I did choose to reformat this partition. I guess that causes quite a mess? In fact, when I tried to perform automatic recovery using Windows recovery disk, it failed to fix the bootHopefully you did choose your already existing ESP for /boot/efi and did not choose to format it during installation.
Otherwise you either have two ESP now (which could confuse both, UEFI and the Windows Installer/Repair), or you have a single one with CentOS bootloader only.
Below the result for your reference:Please post the output of the following commands (as root):
Code: Select all
[root@GALAXY handra]# os-prober
[root@GALAXY handra]#
Code: Select all
[root@GALAXY handra]# mount
sysfs on /sys type sysfs (rw,nosuid,nodev,noexec,relatime,seclabel)
proc on /proc type proc (rw,nosuid,nodev,noexec,relatime)
devtmpfs on /dev type devtmpfs (rw,nosuid,seclabel,size=3917084k,nr_inodes=979271,mode=755)
securityfs on /sys/kernel/security type securityfs (rw,nosuid,nodev,noexec,relatime)
tmpfs on /dev/shm type tmpfs (rw,nosuid,nodev,seclabel)
devpts on /dev/pts type devpts (rw,nosuid,noexec,relatime,seclabel,gid=5,mode=620,ptmxmode=000)
tmpfs on /run type tmpfs (rw,nosuid,nodev,seclabel,mode=755)
tmpfs on /sys/fs/cgroup type tmpfs (ro,nosuid,nodev,noexec,seclabel,mode=755)
cgroup on /sys/fs/cgroup/systemd type cgroup (rw,nosuid,nodev,noexec,relatime,xattr,release_agent=/usr/lib/systemd/systemd-cgroups-agent,name=systemd)
pstore on /sys/fs/pstore type pstore (rw,nosuid,nodev,noexec,relatime)
efivarfs on /sys/firmware/efi/efivars type efivarfs (rw,nosuid,nodev,noexec,relatime)
cgroup on /sys/fs/cgroup/net_cls,net_prio type cgroup (rw,nosuid,nodev,noexec,relatime,net_prio,net_cls)
cgroup on /sys/fs/cgroup/perf_event type cgroup (rw,nosuid,nodev,noexec,relatime,perf_event)
cgroup on /sys/fs/cgroup/freezer type cgroup (rw,nosuid,nodev,noexec,relatime,freezer)
cgroup on /sys/fs/cgroup/devices type cgroup (rw,nosuid,nodev,noexec,relatime,devices)
cgroup on /sys/fs/cgroup/hugetlb type cgroup (rw,nosuid,nodev,noexec,relatime,hugetlb)
cgroup on /sys/fs/cgroup/cpuset type cgroup (rw,nosuid,nodev,noexec,relatime,cpuset)
cgroup on /sys/fs/cgroup/blkio type cgroup (rw,nosuid,nodev,noexec,relatime,blkio)
cgroup on /sys/fs/cgroup/cpu,cpuacct type cgroup (rw,nosuid,nodev,noexec,relatime,cpuacct,cpu)
cgroup on /sys/fs/cgroup/memory type cgroup (rw,nosuid,nodev,noexec,relatime,memory)
cgroup on /sys/fs/cgroup/pids type cgroup (rw,nosuid,nodev,noexec,relatime,pids)
configfs on /sys/kernel/config type configfs (rw,relatime)
/dev/sda4 on / type ext4 (rw,relatime,seclabel,data=ordered)
selinuxfs on /sys/fs/selinux type selinuxfs (rw,relatime)
systemd-1 on /proc/sys/fs/binfmt_misc type autofs (rw,relatime,fd=29,pgrp=1,timeout=0,minproto=5,maxproto=5,direct,pipe_ino=11002)
debugfs on /sys/kernel/debug type debugfs (rw,relatime)
mqueue on /dev/mqueue type mqueue (rw,relatime,seclabel)
hugetlbfs on /dev/hugepages type hugetlbfs (rw,relatime,seclabel)
nfsd on /proc/fs/nfsd type nfsd (rw,relatime)
/dev/sda1 on /boot/efi type vfat (rw,relatime,fmask=0077,dmask=0077,codepage=437,iocharset=ascii,shortname=winnt,errors=remount-ro)
sunrpc on /var/lib/nfs/rpc_pipefs type rpc_pipefs (rw,relatime)
tmpfs on /run/user/1000 type tmpfs (rw,nosuid,nodev,relatime,seclabel,size=786680k,mode=700,uid=1000,gid=1000)
gvfsd-fuse on /run/user/1000/gvfs type fuse.gvfsd-fuse (rw,nosuid,nodev,relatime,user_id=1000,group_id=1000)
fusectl on /sys/fs/fuse/connections type fusectl (rw,relatime)
/dev/sda3 on /run/media/handra/Windows type fuseblk (rw,nosuid,nodev,relatime,user_id=0,group_id=0,default_permissions,allow_other,blksize=4096)
[root@GALAXY handra]#
Code: Select all
[root@GALAXY handra]# fdisk -l /dev/sda
WARNING: fdisk GPT support is currently new, and therefore in an experimental phase. Use at your own discretion.
Disk /dev/sda: 1000.2 GB, 1000204886016 bytes, 1953525168 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disk label type: gpt
Disk identifier: 4A3857DE-4871-41AA-8C39-F50E12090FF2
# Start End Size Type Name
1 2048 534527 260M EFI System EFI System Partition
2 534528 567295 16M Microsoft reser Microsoft reserved partition
3 567296 1438228479 685.5G Microsoft basic Basic data partition
4 1438228480 1857660120 200G Microsoft basic Basic data partition
5 1857660928 1910089727 25G Microsoft basic Basic data partition
6 1910089728 1912137727 1000M Windows recover Basic data partition
7 1912137728 1951475711 18.8G Windows recover Basic data partition
8 1951475712 1953523711 1000M unknown Basic data partition
[root@GALAXY handra]#
Code: Select all
[root@GALAXY handra]# ls /boot/efi/EFI
BOOT centos
[root@GALAXY handra]#
Code: Select all
[root@GALAXY handra]# efibootmgr -v
BootCurrent: 0005
Timeout: 0 seconds
BootOrder: 0002,0005,2003,0006,2001,2002
Boot0000* EFI Network 0 for IPv4 (50-7B-9D-D4-75-D8) PciRoot(0x0)/Pci(0x1c,0x0)/Pci(0x0,0x0)/MAC(507b9dd475d8,0)/IPv4(0.0.0.0:0<->0.0.0.0:0,0,0)RC
Boot0001* EFI Network 0 for IPv6 (50-7B-9D-D4-75-D8) PciRoot(0x0)/Pci(0x1c,0x0)/Pci(0x0,0x0)/MAC(507b9dd475d8,0)/IPv6([::]:<->[::]:,0,0)RC
Boot0002* EFI Hard Drive (ST1000LM024 HN-M101MBB) PciRoot(0x0)/Pci(0x17,0x0)/Sata(0,0,0)/HD(1,GPT,827bfffd-7e73-4368-9005-d104a67f6da0,0x800,0x82000)RC
Boot0005* CentOS HD(1,GPT,827bfffd-7e73-4368-9005-d104a67f6da0,0x800,0x82000)/File(\EFI\centos\shimx64.efi)
Boot0006* Lenovo Recovery System HD(8,GPT,6c97784e-acf6-4518-8cb8-05328cabbce2,0x74512800,0x1f4000)/File(\EFI\Microsoft\Boot\LrsBootMgr.efi)RC
Boot2001* EFI USB Device RC
Boot2002* EFI DVD/CDROM RC
Boot2003* EFI Network RC
[root@GALAXY handra]#
Re: Windows 10 not recognised
The ESP (EFI System Partition) contains all the bootloaders. The ESP is the (U)EFI-replacement of the MBR, at least regarding the boot loader. So by reformatting it, you have erased the Windows bootloader.handra wrote:I think I did choose to reformat this partition. I guess that causes quite a mess?
But it should be able to fix it. It's only the bootloader which is missing.In fact, when I tried to perform automatic recovery using Windows recovery disk, it failed to fix the boot
Unfortunately I have never done this myself, but there are several threads in this forum with exact this problem: The ESP was re-formatted during installation. And the problem was solved by using the Windows repair function. Try to find these threads, hopefully, they will help you, too.
BTW: Do you have some kind of backup of the ESP?
Code: Select all
[root@GALAXY handra]# ls /boot/efi/EFI
BOOT centos
The rest looks fine.
German speaking forum for Fedora and CentOS: https://www.fedoraforum.de/
Re: Windows 10 not recognised
I unfortunately do not have any backup on the ESP.BTW: Do you have some kind of backup of the ESP?
Alright, I will try to look for that.Unfortunately I have never done this myself, but there are several threads in this forum with exact this problem: The ESP was re-formatted during installation. And the problem was solved by using the Windows repair function. Try to find these threads, hopefully, they will help you, too.
Thanks
Re: Windows 10 not recognised
These are the ones I just found:handra wrote: Alright, I will try to look for that.
viewtopic.php?f=47&t=64199
"Since you mentioned the Win8 repair might not kill grub, I ran that repair and was able to boot to windows using the UFI boot menu."
viewtopic.php?f=47&t=63655
http://www.dell.com/support/article/de/ ... pc?lang=en
(These instructions should be valid for non-Dell computers, too.)
Hope this helps.
German speaking forum for Fedora and CentOS: https://www.fedoraforum.de/
Re: Windows 10 not recognised
Thanks a lot. Will sure give it a try after re-creating my USB Windows Recovery Disk.owl102 wrote:These are the ones I just found:handra wrote: Alright, I will try to look for that.
viewtopic.php?f=47&t=64199
"Since you mentioned the Win8 repair might not kill grub, I ran that repair and was able to boot to windows using the UFI boot menu."
viewtopic.php?f=47&t=63655
http://www.dell.com/support/article/de/ ... pc?lang=en
(These instructions should be valid for non-Dell computers, too.)
Hope this helps.
Cheers