Win10 dual boot with CentOS 7, Win10 no longer boots

General support questions
Post Reply
travis_farmer
Posts: 56
Joined: 2017/03/18 11:43:50
Location: Maine, USA
Contact:

Win10 dual boot with CentOS 7, Win10 no longer boots

Post by travis_farmer » 2019/02/17 09:35:52

ok, so it has been a while since i setup a dual boot (year 1999, or 2000). here are a few setup details.
computer: Dell Inspiron 15-3521 laptop
hard drive: 2TB (about 500GB for Win10 and CentOS7, and a common FAT32 partition for personal files).
fdisk -l results:

Code: Select all

WARNING: fdisk GPT support is currently new, and therefore in an experimental phase. Use at your own discretion.

Disk /dev/sda: 2000.4 GB, 2000398934016 bytes, 3907029168 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: C2461F00-8C12-03A9-C087-91B00463EA00


#         Start          End    Size  Type            Name
 1         2048      1026047    500M  EFI System      EFI system partition
 2      1026048      1107967     40M  Microsoft basic Basic data partition
 3      1107968      1370111    128M  Microsoft reser Microsoft reserved partition
 4      1370112      2394111    500M  Windows recover Basic data partition
 5      2394112    954685812  454.1G  Microsoft basic Basic data partition
 6    954687488    956426239    849M  Windows recover Basic data partition
 7    956428288    958062591    798M  Windows recover Basic data partition
 8    958064640    976771119    8.9G  Windows recover Basic data partition
 9    976773120   2654492671    800G  Microsoft basic Basic data partition
10    956426240    956428287      1M  BIOS boot       
11   2654492672   2656589823      1G  Microsoft basic 
12   2656589824   3907028991  596.3G  Linux LVM       

Disk /dev/mapper/centos-root: 53.7 GB, 53687091200 bytes, 104857600 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 /dev/mapper/centos-swap: 8388 MB, 8388608000 bytes, 16384000 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 /dev/mapper/centos-home: 578.1 GB, 578142863360 bytes, 1129185280 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
Grub 2 config (/etc/grub.d/40_custom) entry:

Code: Select all

menuentry "Windows 10" --class windows --class os {
   insmod ntfs
   search --no-floppy --set=root --fs-uuid 01D4C61B99A41130
   ntldr /bootmgr
}
CentOS works and boots fine (currently using it), but when i choose the "Windows 10" option, Win10 displays an error that the MBR is corrupt. i can provide a screen picture of the error if needed, though i will have to reboot to do it.

I am currently downloading a Win10 install disk so i can fix the MBR, though i am pretty sure it will kill the bootability of Linux.
what are my options here?

~Travis
CentOS 8.2.2004 on a Dell PowerEdge R710,
with Intel(R) Xeon(R) CPU X5670 @ 2.93GHz, 24 cores,
64GB ram, 5.6TB storage.

User avatar
TrevorH
Site Admin
Posts: 33202
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: Win10 dual boot with CentOS 7, Win10 no longer boots

Post by TrevorH » 2019/02/17 15:28:23

How did you create your USB stick to install from?
The future appears to be RHEL or Debian. I think I'm going Debian.
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke

travis_farmer
Posts: 56
Joined: 2017/03/18 11:43:50
Location: Maine, USA
Contact:

Re: Win10 dual boot with CentOS 7, Win10 no longer boots

Post by travis_farmer » 2019/02/17 15:37:46

i burned the ISO to a DVD.
CentOS-7-x86_64-DVD-1810.iso

and thanks for responding. :D

~Travis
CentOS 8.2.2004 on a Dell PowerEdge R710,
with Intel(R) Xeon(R) CPU X5670 @ 2.93GHz, 24 cores,
64GB ram, 5.6TB storage.

travis_farmer
Posts: 56
Joined: 2017/03/18 11:43:50
Location: Maine, USA
Contact:

Re: Win10 dual boot with CentOS 7, Win10 no longer boots

Post by travis_farmer » 2019/02/17 19:32:13

here is the exact error i get when i select the windows option at boot. (attached)
just in case it is of some help.

and i have changed the grub2 config entry to this:

Code: Select all

menuentry "Windows 10"{
    set root='(hd0,5)'
    chainloader +1
}
it has the exact same result as the previous setting.

i tried restoring the windows MBR from the Win10 install disk, but that bricked both operating systems. i was able to restore function of the CentOS install by re-installing Grub2.

~Travis
Attachments
windows_boot_error-scaled.jpg
windows_boot_error-scaled.jpg (138.65 KiB) Viewed 816 times
CentOS 8.2.2004 on a Dell PowerEdge R710,
with Intel(R) Xeon(R) CPU X5670 @ 2.93GHz, 24 cores,
64GB ram, 5.6TB storage.

travis_farmer
Posts: 56
Joined: 2017/03/18 11:43:50
Location: Maine, USA
Contact:

Re: Win10 dual boot with CentOS 7, Win10 no longer boots

Post by travis_farmer » 2019/02/19 21:33:12

this seems to be a Windows 10 problem, and as i can't figure it out, i will keep this laptop as my Windows 10 laptop, and use something else for my CentOS workstation. obviously, my servers still run CentOS, but too many of the programs i need only seem to run on Windows (like CAD/CAM programs, etc).

anyway, thanks for trying to help. :D

~Travis
CentOS 8.2.2004 on a Dell PowerEdge R710,
with Intel(R) Xeon(R) CPU X5670 @ 2.93GHz, 24 cores,
64GB ram, 5.6TB storage.

Post Reply